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 a choco info command to show info for one package #644

Closed
alexchandel opened this issue Feb 23, 2016 · 12 comments
Closed

Add a choco info command to show info for one package #644

alexchandel opened this issue Feb 23, 2016 · 12 comments
Assignees
Milestone

Comments

@alexchandel
Copy link

For the life of me, I cannot ever remember how to show info for a package with choco. We should add an info command, analogous to brew info, to show info for one package. If we're worried about people relying on it in their tools, we can explicitly mark it as "manual-only" or "user-only" or "forever unstable" or something. But it would be so useful.

@ferventcoder
Copy link
Member

I'm assuming it would be similar to: choco list packagename -lo -v?

Is this for locally installed applications or just in general?

@alexchandel
Copy link
Author

In general. The thing is even choco list packagename -lo -v can match multiple packages and print tons of information, for example with packagename=git.

@DarwinJS
Copy link
Contributor

DarwinJS commented Mar 5, 2016

I would love this too as it is more discoverable by those using our internal repositories which may not have the greatest web gallery support or we may not wish to expose a web gallery at all.

@ferventcoder
Copy link
Member

Agreed. Choco info - synonymous with choco search pkgname -ev.

@ferventcoder
Copy link
Member

Related to #453

@ferventcoder ferventcoder added this to the 0.9.10.x milestone Mar 5, 2016
@drusellers
Copy link

👍 for choco info <packagename>

@drusellers
Copy link

I'd love it to have some output similar to brew info <pkgname>

brew info rabbitmq
rabbitmq: stable 3.6.1
Messaging broker
https://www.rabbitmq.com
/usr/local/Cellar/rabbitmq/3.4.4 (1,030 files, 25.3M)
  Poured from bottle
/usr/local/Cellar/rabbitmq/3.5.6 (1,039 files, 25.6M)
  Built from source
/usr/local/Cellar/rabbitmq/3.6.0 (183 files, 5.4M) *
  Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/rabbitmq.rb
==> Dependencies
Build: xz ✔
Required: erlang ✔
==> Caveats
Management Plugin enabled by default at http://localhost:15672

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

To have launchd start rabbitmq at login:
  ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents
Then to load rabbitmq now:
  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist
Or, if you don't want/need launchctl, you can just run:
  rabbitmq-server

@ferventcoder ferventcoder modified the milestones: 0.9.10, 0.9.10.x Apr 6, 2016
@ferventcoder ferventcoder self-assigned this Apr 6, 2016
@ferventcoder
Copy link
Member

So it's not going to be exactly like brew info, but it will provide similar information as you can get with choco search name --exact --detailed.

@drusellers
Copy link

I don't know if I want search, for instance one of the key pieces of data that I want with choco info is to know where stuff was written to

@DarwinJS
Copy link
Contributor

DarwinJS commented Apr 6, 2016

Rob - this is exactly what I was asking for.

Looks like brew outputs the log snippet for a given package if it's already installed?

Apologies if I inadvertently hijacked this issue :(

@alexchandel
Copy link
Author

@drusellers That probably wouldn't be choco info per se. The brew command to show which files are owned by a package is brew ls <pkgname> or brew list <pkgname> (ls and list are synonymous commands), not brew info.

@drusellers
Copy link

@alexchandel ah, that is cool too! Issue opened. :)

ferventcoder added a commit to ferventcoder/choco that referenced this issue Apr 9, 2016
Add an info command that is shorthand for choco search packageName
--exact --verbose.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Apr 9, 2016
* stable:
  (chocolateyGH-501) allow shutting off sign when no network
  (chocolateyGH-448) Add Output Directory for choco new
  (maint) assume xml file is utf8
  (maint) formatting
  (chocolateyGH-258) Switch for only using silent args provided
  (chocolateyGH-682) Add summary log file
  (chocolateyGH-644) Add info command
  (chocolateyGH-646) Add detail/detailed for search/list
  (maint) template share location should be appropriate
  (build) add a run.codesign switch
@vexx32 vexx32 mentioned this issue Jul 19, 2021
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