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

[Enhancement] packages config #43

Merged
merged 10 commits into from Jan 1, 2012

Conversation

Projects
None yet
2 participants
@AnthonyMastrean
Member

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

This comment has been minimized.

Show comment
Hide comment
@AnthonyMastrean

AnthonyMastrean Dec 22, 2011

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.

Member

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

This comment has been minimized.

Show comment
Hide comment
@AnthonyMastrean

AnthonyMastrean Dec 23, 2011

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>
Member

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:master Jan 1, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment