From: Jorgen Schaefer <forcer@forcix.cx>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 19296@debbugs.gnu.org
Subject: bug#19296: [PATCH] Package archives now have priorities.
Date: Mon, 8 Dec 2014 11:58:45 +0100 [thread overview]
Message-ID: <20141208115845.1adaa261@forcix> (raw)
In-Reply-To: <jwvzjayn9ib.fsf-monnier+emacsbugs@gnu.org>
On Sun, 07 Dec 2014 21:48:48 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > Actually, it should not suggest an upgrade in this case, because the
> > currently installed version is higher than the highest available one
> > (package-menu--find-upgrades).
>
> So we're back with the same problem as we currently have:
> if you've installed MELPA's 20120425 and the package gets into GNU
> ELPA with version 1.4, you'll keep using the older version.
What kind of behavior do we want, then? :-)
The problem I am trying to solve is:
When I install a package by name using M-x package-install foo, I want
to install the highest version of "foo" from any repository but MELPA
if it is available, and if not, the highest version of "foo" from MELPA.
When I installed a package from another repository than MELPA, and I
ask package.el to upgrade all packages, I do not want to get an upgrade
suggestion to MELPA.
The problem you now mention is: What should happen if I installed a
package from MELPA and it is now available from another repository?
I don't think there is a good solution for that. We could come up with
an idea such as "if, at the time this repository was chosen, the
package was not available from another repository, but now it is, it
should ...", but that seems rather arcane and requires us to store a
lot more information than we currently do.
Right now, the upgrades should simply stick to MELPA. Once MELPA,
always MELPA. I think this is, while maybe not the best possible
option, an acceptable one.
Considering the two problems I described above are solved, and the
default behavior is not affected at all, I think this patch is a strict
improvement over the current situation.
Regards,
Jorgen
next prev parent reply other threads:[~2014-12-08 10:58 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-07 12:31 bug#19296: [PATCH] Package archives now have priorities Jorgen Schaefer
2014-12-07 16:07 ` Ted Zlatanov
2014-12-07 17:56 ` Stefan Monnier
2014-12-07 18:21 ` Jorgen Schaefer
2014-12-07 20:00 ` Jorgen Schaefer
2014-12-08 2:48 ` Stefan Monnier
2014-12-08 10:58 ` Jorgen Schaefer [this message]
2014-12-08 15:42 ` Stefan Monnier
2014-12-08 18:49 ` Jorgen Schaefer
2014-12-15 4:59 ` Stefan Monnier
2014-12-15 8:36 ` Jorgen Schaefer
2014-12-15 12:08 ` Ted Zlatanov
2014-12-15 14:52 ` Stefan Monnier
2014-12-15 14:55 ` Jorgen Schaefer
2014-12-15 19:07 ` Stefan Monnier
2014-12-07 18:55 ` Achim Gratz
2014-12-08 2:45 ` Stefan Monnier
2014-12-08 7:22 ` Achim Gratz
2014-12-07 21:28 ` Jorgen Schaefer
2014-12-07 21:46 ` Jorgen Schaefer
[not found] <<20141207132244.A14A7200D1E@loki.jorgenschaefer.de>
2014-12-07 14:19 ` Drew Adams
2014-12-07 14:43 ` Jorgen Schaefer
2014-12-07 15:55 ` Drew Adams
2014-12-07 16:10 ` Jorgen Schaefer
2014-12-07 18:16 ` Drew Adams
2014-12-07 16:13 ` Ted Zlatanov
2014-12-07 17:41 ` Stefan Monnier
[not found] ` <<20141207214345.A8216200D2E@loki.jorgenschaefer.de>
2014-12-07 22:27 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141208115845.1adaa261@forcix \
--to=forcer@forcix.cx \
--cc=19296@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).