GNU bug report logs - #19296
[PATCH] Package archives now have priorities.

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <forcer <at> forcix.cx>

Date: Sun, 7 Dec 2014 13:24:01 UTC

Severity: wishlist

Tags: patch

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jorgen Schaefer <forcer <at> forcix.cx>
Cc: 19296 <at> debbugs.gnu.org
Subject: bug#19296: [PATCH] Package archives now have priorities.
Date: Mon, 15 Dec 2014 14:07:32 -0500
> The part where M-x package-install RET foo RET will install foo-1.2.3 over
> foo-20141205.315 when the latter is only available from a repository
> with a lower priority, and where "U" in the package list will not upgrade
> foo-1.2.3 to foo-20141205.315 when the latter is only available
> from a repository with a lower priority.

So there are two part above:
- decide which repository to use when M-x package-install is used.
- don't switch repository for upgrade.

I don't think we need priorities for the second part once we refrain
from automatically switching from one repository to another during
upgrade.  For the first part priorities could still be useful, indeed,
tho we should simply prompt the user for those cases where there is
a choice between several repositories.

So, overall, I'm not sure having repository priorities would be really
important, but the patch is fairly small, so I think it's OK.  BTW,
please simplify the patch by removing package-archive-default-priority
(and hard code 0 as the default priority).


        Stefan




This bug report was last modified 10 years and 176 days ago.

Previous Next


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