[Enhancement] packages config #43

Merged
merged 10 commits into from Jan 1, 2012

Projects

None yet

2 participants

@AnthonyMastrean
Member

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
Member

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
Member

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 ferventcoder merged commit 59792e7 into chocolatey:master Jan 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment