-
Notifications
You must be signed in to change notification settings - Fork 905
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
list/search - Listing local packages fails if no sources are enabled #661
Comments
ferventcoder
added a commit
to ferventcoder/puppet-chocolatey
that referenced
this issue
Dec 14, 2016
Previously, when there were no sources enabled, Puppet would attempt to loop over a non-existent set of packages pulled back from listing a set of packages locally. Unfortunately this is due to an issue in Chocolatey that requires at least one source to be enabled to produce the local set of installed packages: chocolatey/choco#661 Instead of allowing Puppet to fail on a nil:NilClass error, provide a helpful and actionable message instead.
ferventcoder
added a commit
to ferventcoder/puppet-chocolatey
that referenced
this issue
Dec 14, 2016
Previously, when there were no sources enabled, Puppet would attempt to loop over a non-existent set of packages pulled back from listing a set of packages locally. Unfortunately this is due to an issue in Chocolatey that requires at least one source to be enabled to produce the local set of installed packages: chocolatey/choco#661 Instead of allowing Puppet to fail on a nil:NilClass error, provide a helpful and actionable message instead.
ferventcoder
changed the title
Listing local packages should not require active sources
list/search - Listing local packages fails if no sources are enabled
Jan 17, 2019
ferventcoder
added a commit
to ferventcoder/choco
that referenced
this issue
Jan 17, 2019
When no sources are active and someone is searching a local source, allow that to continue without throwing an error. This will allow the sources to be configured to the local source a littler further in and then return results instead of throwing an error.
ferventcoder
added a commit
that referenced
this issue
Jan 18, 2019
…ources (GH-661) allow local only without sources
This has been fixed and will be available in 0.10.12. |
galeksandrp
pushed a commit
to galeksandrp/choco
that referenced
this issue
Feb 16, 2019
When no sources are active and someone is searching a local source, allow that to continue without throwing an error. This will allow the sources to be configured to the local source a littler further in and then return results instead of throwing an error.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Executing
choco list -l
should not get the:Unable to search for packages when there are no sources enabled for packages and none were passed as arguments.
error message. The command should be able to execute without requiring any source to be active.Reference: https://gitter.im/chocolatey/choco?at=56e8462c0055f8f35a836de8
The text was updated successfully, but these errors were encountered: