Re: git: a53a752a3565 - main - www/rubygem-json-jwt115: Remove expired port

From: Jason E. Hale <jhale_at_freebsd.org>
Date: Wed, 11 Sep 2024 11:25:13 UTC
On Wed, Sep 11, 2024 at 2:24 AM Alexey Dokuchaev <danfe@freebsd.org> wrote:
>
> On Wed, Sep 11, 2024 at 06:21:25AM +0000, Matthias Fechner wrote:
> > commit a53a752a35654ecd756ca11c46c0d56944bb0cfc
> >
> >     www/rubygem-json-jwt115: Remove expired port
> >
> >     www/rubygem-json-jwt115
>
> I keep seeing this silly useless extra line with nothing else but the
> portname added to the commit log, what's the purpose of it?  If this
> is due to some broken port removal script, can someone please fix it?
>
> ./danfe

This is definitely from Tools/scripts/rmport, which seems to be more
focused on the bulk removal of expired ports rather than on the
removal of individual non-expired ports for other reasons. This port,
for example, didn't have EXPIRATION_DATE set, but the generated commit
message suggests that it was expired, which is a problem in and of
itself. The rmport script just assumes the port is expired and doesn't
do any checks to verify whether that is actually the case for the main
commit message. The generated MOVED entry is slightly more bespoke,
which leads me to believe that the MOVED entry in this case was
manually edited. I don't use rmport for individual ports (or really
ever because it requires me to edit it to even use it due to my git
remotes settings not matching up to what it expects, but if these
extra lines in commit messages bother you that much, here's your
starting point to make the change you want to see. It would be wise to
consult with our esteemed Grim Reaper (rene@) before committing any
changes, though.

- Jason