Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to see a list of updated packages? #4602

Closed
3rd3 opened this issue Jan 13, 2016 · 15 comments
Closed

Is there a way to see a list of updated packages? #4602

3rd3 opened this issue Jan 13, 2016 · 15 comments
Labels
Enhancement ☺ stale marked as a stale issue/pr (usually by a bot)

Comments

@3rd3
Copy link

3rd3 commented Jan 13, 2016

When I update the packages, all I get is a very quickly updating line in the log in the *spacemacs* buffer which shows each package name briefly:

--> performing backup of package(s) to update...
--> preparing update of package which-key... [48/48]
--> 48 package(s) to be updated.

Is there a way to see a list like this instead?

--> performing backup of package(s) to update...
--> preparing update of package magit... [1/3]
--> preparing update of package evil-mc... [2/3]
--> preparing update of package which-key... [3/3]
--> 3 package(s) to be updated.

I would prefer the same for the installing process after restarting Emacs.

@TheBB
Copy link
Collaborator

TheBB commented Jan 13, 2016

We already have this, no? Are you sure you tried on the latest version?

@3rd3 3rd3 closed this as completed Jan 13, 2016
@3rd3
Copy link
Author

3rd3 commented Jan 13, 2016

Was it just added in 0.105.8? Then it was a coincidence, or I've always missed this before:

--> Found 2 package(s) to update:
magit
haskell-mode

The install log is still very sparse though. I wouldn't mind this being more verbose:

Found 2 new package(s) to install...
--> refreshing package archive: gnu... [3/3]
--> installing package: haskell-mode@haskell... [2/2]

@3rd3 3rd3 reopened this Jan 13, 2016
@TheBB
Copy link
Collaborator

TheBB commented Jan 18, 2016

There's not really a whole lot more we can write there. Most of the stuff that happens in this loop is stock Emacs package behaviour.

@3rd3
Copy link
Author

3rd3 commented Jan 18, 2016

Is the [1/3].. output which overrides the line yours?

@TheBB
Copy link
Collaborator

TheBB commented Jan 19, 2016

Which? I'm not sure I know what you're talking about.

@3rd3
Copy link
Author

3rd3 commented Jan 19, 2016

Is this output produced by Emacs or by Spacemacs?

--> installing package: haskell-mode@haskell... [2/2]

@TheBB
Copy link
Collaborator

TheBB commented Jan 19, 2016

By Spacemacs.

@3rd3
Copy link
Author

3rd3 commented Jan 19, 2016

It would be convenient to have a list in the logs instead of a line that gets overwritten and ends at [n/n], because it could serve as a change log for the package updating:

--> installing package: magit... [1/2]
--> installing package: haskell-mode@haskell... [2/2]

@TheBB
Copy link
Collaborator

TheBB commented Jan 19, 2016

Yeah, okay, we can do that.

@nixmaniack
Copy link
Contributor

👍 for making the package installation log verbose. Also I think it should go in *Messages* and keep it the way it is in spacehome.

@3rd3
Copy link
Author

3rd3 commented Apr 19, 2016

This feature is now present when fetching the updates (which is great) but not on start-up when the packages are installed.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
@duianto duianto removed the stale marked as a stale issue/pr (usually by a bot) label Mar 13, 2020
@duianto
Copy link
Collaborator

duianto commented Mar 13, 2020

Agreed, it would be useful to see a summary list of which packages were updated.

Currently there are at least two ways to find out which packages were updated:

  • Check in the messages buffer SPC b m, but there are multiple installation lines for each package.
    Here's an example when I removed the ace-jump-helm-line package and restarted:
(Spacemacs) --> installing package: ace-jump-helm-line@helm... [1/1]
Contacting host: melpa.org:443 [2 times]
Generating autoloads for ace-jump-helm-line.el...done
Wrote c:/Users/username/.emacs.d/elpa/26.3/develop/ace-jump-helm-line-20160918.1836/ace-jump-helm-line-autoloads.el [2 times]
Checking c:/Users/username/.emacs.d/elpa/26.3/develop/ace-jump-helm-line-20160918.1836... [3 times]
Compiling c:/Users/username/.emacs.d/elpa/26.3/develop/ace-jump-helm-line-20160918.1836/ace-jump-helm-line.el...done
Wrote c:/Users/username/.emacs.d/elpa/26.3/develop/ace-jump-helm-line-20160918.1836/ace-jump-helm-line.elc
Checking c:/Users/username/.emacs.d/elpa/26.3/develop/ace-jump-helm-line-20160918.1836...
Done (Total of 1 file compiled, 2 skipped)

Anyone that knows about HELM Swoop SPC s s, can filter the results by searching for:
installing package

But others that don't know about HELM swoop will have to scroll through the messages buffer to find out which packages were installed.

  • Check the rollback directory:
    c:/Users/username/.emacs.d/.cache/.rollback/26.3/develop/20-03-13_11.35.35/
    my latest update shows:
  c:/Users/username/.emacs.d/.cache/.rollback/26.3/develop/20-03-13_11.35.35:
  total used in directory 89 available 37334056
  drwxrwxrwx  1 username None  4096 03-13 11:35 ..
  drwxrwxrwx  1 username None  4096 03-13 11:35 .
  drwxrwxrwx  1 username None 32768 02-09 14:48 cider-20200208.809
  drwxrwxrwx  1 username None  4096 02-28 08:36 doom-modeline-20200227.1432
  drwxrwxrwx  1 username None 40960 03-07 17:53 magit-20200307.319
  drwxrwxrwx  1 username None  4096 02-26 20:11 magit-section-20200226.1251
  -rw-rw-rw-  1 username None   200 03-13 11:35 rollback-info

But it requires digging through the file system to get there.


Another issue is that the installing package lines on the home buffer are temporary. They disappear when the home buffer is redrawn. An example where this happens automatically, is when the variable:
dotspacemacs-maximized-at-startup is set to: t

Then at least in Windows, the home buffer is left aligned while the packages are installing and the messages are shown, but when it's done, then the home buffer is redrawn which centers it and the recent files, projects and bookmarks are inserted.

@kommen
Copy link
Contributor

kommen commented Feb 9, 2021

Maybe related: I actually want to know which packages are outdated before I to start updating. This seemed to find them all:

(configuration-layer//get-packages-to-update 
 (configuration-layer//filter-distant-packages
  configuration-layer--used-packages t))

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Mar 14, 2022
@github-actions github-actions bot closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ☺ stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

6 participants