-
Notifications
You must be signed in to change notification settings - Fork 909
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
(GH-10) Packages.config #42
Merged
ferventcoder
merged 10 commits into
chocolatey:master
from
ferventcoder:ticket/master/GH-10-packages.config
Feb 4, 2015
Merged
(GH-10) Packages.config #42
ferventcoder
merged 10 commits into
chocolatey:master
from
ferventcoder:ticket/master/GH-10-packages.config
Feb 4, 2015
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The packages.config can be set up with the following elements: <?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="apackage" />
<package id="anotherPackage" version="1.1" />
<package id="chocolateytestpackage" version="0.1" source="somelocation" />
<package id="chocolateytestpackage" version="0.1" source="somelocation"
installArguments="" packageParameters="" forceX86="false"
allowMultipleVersions="false" ignoreDependencies="false"
/>
</packages>
|
bbcc137
to
5bdc256
Compare
4 tasks
This allows copying a complex object over so that changes can be made without affecting the original object.
Split config file names off of the package names list for further processing. Continue processing normal package names.
Configuration for serializing values for the config file.
If a config file is specified, use that to determine settings for each package to install. Clone the config and make adjustments based on what is in the packages.config file for that particular package.
5bdc256
to
108236e
Compare
The work of packages.config converted to package names and options is done in ChocolateyPackageService, so there is no need to check in NugetService. Remove the logic branch.
Use the original packages.config format to cause the least amount of churn from users that have already created and invested in packages.config files.
ferventcoder
added a commit
that referenced
this pull request
Feb 4, 2015
….config (GH-10) Packages.config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If a config file is specified, use that to determine settings for each
package to install. Clone the config and make adjustments based on what
is in the packages.config file for that particular package.
Closes #10