Date: Mon, 3 May 2021 10:37:15 +0200 From: Matthias Fechner <mfechner@freebsd.org> To: Rene Ladan <rene@freebsd.org> Cc: freebsd-git@freebsd.org Subject: Re: Script rmport shows error message Message-ID: <add7f2ac-9e0f-7662-3519-40dde83890ad@freebsd.org> In-Reply-To: <YI2NMrAq1PUXZwA8@freefall.freebsd.org> References: <8613e467-9408-527f-d8f0-81a6db0bdce9@freebsd.org> <YI2NMrAq1PUXZwA8@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 01.05.2021 um 19:17 schrieb Rene Ladan:
> It might indeed be because you have a remote it does not expect:
>
> if ! ${GIT} diff --exit-code remotes/origin/main ; then
> ...
> fi
>
> Here I have:
> % git remote -v
> origin https://git.freebsd.org/ports.git (fetch)
> origin git@gitrepo.FreeBSD.org:ports.git (push)
I think this should be fixed in the script, as the documentation here:
https://docs.freebsd.org/en/articles/committers-guide/
is using the remote alias freebsd and not origin which I think was a
very decision.
I modified the script now locally (in a tmp folder) and removed the
obsolete ports.
I also saw a problem with the question if I would like to tweak the
commit message.
I told there y but it just had not shown me the commit message to modify it.
I had to manually do a:
git commit --amend
Gruß
Matthias
--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?add7f2ac-9e0f-7662-3519-40dde83890ad>
