Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

[Enhancement] Allow Chocolatey-List to return as Object #426

Closed
ferventcoder opened this issue Feb 26, 2014 · 3 comments
Closed

[Enhancement] Allow Chocolatey-List to return as Object #426

ferventcoder opened this issue Feb 26, 2014 · 3 comments
Assignees

Comments

@ferventcoder
Copy link
Contributor

This will help with update scenarios.

@ferventcoder ferventcoder self-assigned this Feb 26, 2014
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Feb 26, 2014
This allows returning a hash of all packages/versions found through the list
command. This only does so when $returnOutput = $true as redirecting output
from a process slows this command down and it needs to be able to return very
quickly in scenarios where grabbing everything locally.
@gep13
Copy link
Member

gep13 commented Feb 26, 2014

Random question, but what is the GH prefix on the issue number? And how is it still linking through to the actual issue?

@ferventcoder
Copy link
Contributor Author

It's an alternative to # - GH automatically links it for you.

@gep13
Copy link
Member

gep13 commented Feb 26, 2014

Cool thanks, I didn't know about that :-)

ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Mar 2, 2014
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Mar 27, 2014
…before return

Before this the events were not waiting before they returned back to other
functions, which was causing Collection modified errors if the collection was
still being added to when the next function was attempting to use the list.
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Mar 27, 2014
…when querying local

If you have prereleased items installed, it should always query those packages
for versions.
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Mar 27, 2014
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Mar 27, 2014
@ferventcoder ferventcoder changed the title [Enhancement] Allow List to return as Object [Enhancement] Allow Chocolatey-List to return as Object Jun 8, 2014
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Jun 25, 2014
This ensures we log error output instead of trying to shove it into a package
list, which is not a good idea. Instead we will log it but not throw an error
since nuget tends to error for no apparent reason sometimes.
ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Jun 25, 2014
* stable:
  (chocolatey-archiveGH-426) Log Error output
  tests: add environment manipulation mocking facility
  helpers: add environment variable management abstractions
  rename Test-AdminRights to Test-ProcessAdminRights
  setup tests: fix formatting
  setup tests: do not vary by UAC status
  when running with administrative rights, set environment variables at Machine scope
  setup tests: with admin rights, variables should be set at Machine level regardless of UAC
  setup tests: add simulated standard user scenarios
  enable mocking Test-AdminRights for setup tests
  Test-AdminRights: request WindowsIdentity with minimal access necessary
  add Test-AdminRights helper
  setup tests: mock UAC status
  setup tests: conditionally test default installation
  add tests for Chocolatey setup (Initialize-Chocolatey)
  tests: add environment variable handling facilities
  (maint) formatting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants