unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36637: Package buffer should show where (which archive) a package is installed from
@ 2019-07-13 12:14 Stefan Kangas
  2021-08-11 14:54 ` bug#36637: bug#27601: 25.2; Repository is not shown in the *Packages* buffer for installed packages Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2019-07-13 12:14 UTC (permalink / raw)
  To: 36637

It would be good if there was an indication in the "*Packages*" buffer of where
(what archive) you have installed a package from.

I have added both MELPA and MELPA Stable to `package-archives':

    (add-to-list 'package-archives
                 '("melpa" . "https://melpa.org/packages/") t)
    (add-to-list 'package-archives
                 '("melpa-stable" . "https://stable.melpa.org/packages/") t)

I sometimes install packages from gnu (ELPA), sometimes from melpa and sometimes
from melpa-stable.

The package "ivy" is available from all three archives.  After installing the
package from gnu, when I run M-x package-list-packages, I see in the "*Package*"
buffer the following two entries (although not next to each other):

  ivy                20190709.740  available  melpa      Incremental
Vertical completYon
  ivy                0.11.0        installed             Incremental
Vertical completYon

From this, I can figure out that I have not installed it from melpa (its status
is "available").  But I cannot easily know if I installed it from gnu or from
melpa-stable, or if it's available from only one or from both of them.

In this case, the versions on melpa-stable and gnu matches.  (Or, at least, the
version number does.)  But this just happens to be the case here.  Often, the
package does not even exist on gnu, and I wouldn't know that from the above.

It would be good if the second of the above two lines would be this instead:

  ivy                0.11.0        installed  gnu        Incremental
Vertical completYon

It would be even better if the describe-package buffer would also would show the
same information.

Thanks,
Stefan Kangas





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36637: bug#27601: 25.2; Repository is not shown in the *Packages* buffer for installed packages
  2019-07-13 12:14 bug#36637: Package buffer should show where (which archive) a package is installed from Stefan Kangas
@ 2021-08-11 14:54 ` Lars Ingebrigtsen
  2021-08-24 14:33   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-11 14:54 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 27601, 36637

Stefan Kangas <stefan@marxist.se> writes:

> The package "ivy" is available from all three archives.  After installing the
> package from gnu, when I run M-x package-list-packages, I see in the "*Package*"
> buffer the following two entries (although not next to each other):
>
>   ivy                20190709.740  available  melpa      Incremental
> Vertical completYon
>   ivy                0.11.0        installed             Incremental
> Vertical completYon

I guess the problem here is that we apparently don't save the archive in
`package-alist' when packages are installed?  Is there any particular
reason for that?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27601: 25.2; Repository is not shown in the *Packages* buffer for installed packages
  2021-08-11 14:54 ` bug#36637: bug#27601: 25.2; Repository is not shown in the *Packages* buffer for installed packages Lars Ingebrigtsen
@ 2021-08-24 14:33   ` Stefan Kangas
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2021-08-24 14:33 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 27601, 36637

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I guess the problem here is that we apparently don't save the archive in
> `package-alist' when packages are installed?  Is there any particular
> reason for that?

Yes, this is basically the problem.  AFAICT, there is no particular
reason for this, so it should mostly just be a matter of implementing
it.

I didn't consider recording it in package-alist, but I suppose it
could make sense.  I'd hope we can find a clean and preferably
backwards-compatible way of doing it.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-24 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13 12:14 bug#36637: Package buffer should show where (which archive) a package is installed from Stefan Kangas
2021-08-11 14:54 ` bug#36637: bug#27601: 25.2; Repository is not shown in the *Packages* buffer for installed packages Lars Ingebrigtsen
2021-08-24 14:33   ` Stefan Kangas

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).