GNU bug report logs - #22628
Emacs: ^ in installed package list misses some upgrades

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Thu, 11 Feb 2016 09:12:01 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 22628 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex Kost <alezost <at> gmail.com>
Cc: 22628 <at> debbugs.gnu.org
Subject: Re: bug#22628: Emacs: ^ in installed package list misses some upgrades
Date: Fri, 12 Feb 2016 14:49:50 +0100
Alex Kost <alezost <at> gmail.com> skribis:

> The fact that we have 2 versions is the answer.  In Emacs UI a package
> is not considered to be obsolete if there is a package definition with
> the same name+version.
>
> That's why "texinfo 6.0" is green in the list, not red (as obsolete
> packages).

Oh, to me, ^ meant “upgrade”, like ‘guix package -u’ but only taking
into account the version number (‘guix package -u’ upgrades if the store
file name differs, even if the version number is the same.)

> I believe marking such packages as obsolete is not correct and it may be
> confusing.  See <https://gnunet.org/bot/log/guix/2016-02-09#T909651>.

I think we need a different solution for packages that have several
series.  For instance, we could have:

  (define gnupg-2.0
    (package …
      (properties `((series . "2.0")))))

and that would lead the various UIs to upgrade only to a package whose
version prefix is “2.0”.

WDYT?

Ludo’.




This bug report was last modified 5 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.