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

Add command to list outdated packages. #170

Closed
alexchandel opened this issue Mar 13, 2015 · 14 comments
Closed

Add command to list outdated packages. #170

alexchandel opened this issue Mar 13, 2015 · 14 comments

Comments

@alexchandel
Copy link

The ubiquitous OS X package manager Homebrew has brew outdated, which works exactly as expected.

@ferventcoder
Copy link
Member

choco upgrade all --noop

@RichiCoder1
Copy link
Member

I'd say just because you can do it through a --noop, doesn't mean that it's necessary the best way. I'd like this too, both for the ability to do choco outdated, but also so I can also have an IListCommand in the API for quickly retrieving dated packages.

@alexchandel
Copy link
Author

choco upgrade all --noop isn't intuitive. An alias like choco outdated would be a good thing.

On a related note, striving for command similarity between choco and something as ancient and cantankerous as apt-get, aptitude, or yum is a recipe for bad design. There are plenty of modern package managers like Homebrew and Nix that have learned from history and have much better UIs as a result.

@ferventcoder
Copy link
Member

Homebrew isn't exactly intuitive when you want to install a specific version. So there's that. ;)

@ferventcoder
Copy link
Member

I don't mind adding an alias called outdated. :)

@ferventcoder
Copy link
Member

Opening up for the community.

@alexchandel
Copy link
Author

:P yeah, old versions of formulae, homebrew/versions, and even installing stable and devel side-by-side could be much easier.

@aronovgj
Copy link

would be nicer to only list the outdated instead of giving you the status of all your packages. i don't want to know whats up to date, i want to know whats not. or is this a different issue?

@ferventcoder
Copy link
Member

That's fair, and what i started with on the limited output, but it turned out that automation tools needed to know the current state as well so they needed the information.

@aronovgj
Copy link

from a users point of view i don't care if this checks all the packages for their state. why not just hide the unnecessary output?

@gep13
Copy link
Member

gep13 commented Mar 17, 2015

If it helps any, this was a recent addition to ChocolateyGUI:

image

It will show you all the packages that you have installed locally, that have updates available on your configured sources.

Hope this helps!

@alexchandel
Copy link
Author

I'm interested in the command line utility, not a GUI. I suppose it makes sense that choco outdated is an alias for some fundamental command with options, but having things like choco outdated and choco list still make the command line interface much better to use for humans.

@gep13
Copy link
Member

gep13 commented Mar 18, 2015

@alexchandel said...
I'm interested in the command line utility, not a GUI.

Yes, I understand that, I was simply putting this option out there as an alternative, in the interim.

@ferventcoder ferventcoder modified the milestones: 0.9.10, 0.9.9.6 May 11, 2015
@ferventcoder ferventcoder self-assigned this May 15, 2015
ferventcoder added a commit that referenced this issue May 15, 2015
This adds the outdated command, similar to `brew outdated`.
ferventcoder added a commit that referenced this issue May 15, 2015
* stable: (27 commits)
  (maint) formatting
  (GH-170) Add outdated command
  (maint) move magic string to constants
  (maint) Command specs for new options
  (maint) harden removing install files
  (GH-121) backup changed files
  (GH-121) IFilesService capture files by directory
  (GH-121) Remove package checksum
  (maint) renaming results to appropriate singular
  (GH-121) Remove empty directories / scenarios
  (maint) comment
  (maint) prefix "[NuGet]" on Nuget logger
  (GH-121) Remove unchanged files on uninstall
  (GH-121) Specs and Files Service hardening
  (GH-121) Capture file hashes
  (GH-121) specs for Md5HashProvider
  (GH-121) Add hash provider
  (GH-121) IFileSystem.read_file_bytes
  (GH-121) PkgInfoService files service interaction
  (GH-121) Add files service
  ...
@ferventcoder
Copy link
Member

This was added in 6b04611 and will be released in 0.9.9.6. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants