Skip to content
This repository has been archived by the owner. It is now read-only.

[Enhancement] packages config #43

Merged
merged 10 commits into from Jan 1, 2012
Merged

Conversation

@AnthonyMastrean
Copy link
Contributor

AnthonyMastrean commented Dec 22, 2011

I've added a conditional to Chocolatey-Install that will tear apart a packages.config file and run Chocolatey-NuGet (there are notes about extending this to include a source, like: gem, webpi). I have a few tests using Pester. And even updated the Chocolatey-Help. I think I got the xor command line reference format correct.

@AnthonyMastrean
Copy link
Contributor Author

AnthonyMastrean commented Dec 22, 2011

Yikes, this is showing all my commits. How do I squash them into one, but keep the branch? Or maybe that's a case of 'lying to source control' and should be avoided. Looks like you've got the options on your side.

EDIT: I found the diff view! Nevermind about all that.

@AnthonyMastrean
Copy link
Contributor Author

AnthonyMastrean commented Dec 23, 2011

These latest commits add a better test for the -packageName actually being apackages.configfile. AndChocolatey-PackagesConfigcallsChocolatey-Installwith the-source` specified, so you can write a manifest like

<packages>
    <package id="whatever" />
    <package id="whatever.x64" version="0.1" />
    <package id="foobar" version="0.1.87" source="myget.com/apikey/myfeed" />
    <package id="somegem" source="ruby" />
    <package id="somewebthing" source="webpi" />
</packages>
ferventcoder added a commit that referenced this pull request Jan 1, 2012
@ferventcoder ferventcoder merged commit 59792e7 into chocolatey-archive:master Jan 1, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.