GNU bug report logs -
#77143
30.1; package--description-file handles some packages wrong
Previous Next
Reported by: Lin Jian <me <at> linj.tech>
Date: Fri, 21 Mar 2025 01:12:03 UTC
Severity: normal
Tags: patch
Found in version 30.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #27 received at 77143-done <at> debbugs.gnu.org (full text, mbox):
> Cc: me <at> linj.tech, 77143 <at> debbugs.gnu.org
> Date: Tue, 01 Apr 2025 14:12:31 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > Cc: 77143 <at> debbugs.gnu.org
> > Date: Mon, 31 Mar 2025 15:04:19 -0400
> > From: Stefan Monnier via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> >
> > >> I also notice that the version part of the regex can be improved because
> > >> it does not take `version-regexp-alist' into consideration. But that is
> > >> out of the scope of this bug.
> > >
> > > I tested the above patch with all elisp packages from (Non)GNU(-devel)
> > > ELPA and MELPA. All 7 packages from my initial post are fixed. At the
> > > same time, I find only one package vm[0] is "broken" by my patch.
> > >
> > > Without my patch, the result is right.
> > > (package--description-file "vm-8.3.0snapshot0.20250208.60553")
> > > ⇒ "vm-pkg.el"
> > >
> > > With my patch, the result is wrong.
> > > (package--description-file "vm-8.3.0snapshot0.20250208.60553")
> > > ⇒ "vm-8.3.0snapshot0.20250208.60553-pkg.el"
> > >
> > > A quick fix is to add snapshot to the regex version part.
> >
> > Thanks I pushed your patch, amended to add `snapshot`.
>
> Thanks.
>
> Should this bug be closed now?
Closing.
This bug report was last modified 97 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.