-
Notifications
You must be signed in to change notification settings - Fork 10
Add C# *.packages.config support #1545
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
Conversation
|
Can the files be named as |
https://github.com/search?q=path%3A**%2F*packages.config+language%3AXML&type=code suggests to me that only |
|
https://github.com/sichy/XamarinComponents/blob/c1cba5434e8e86859af9b881bea9adaad473e0ec/Util/BuildScripts/ValidateXamarinFormsAndroid/cake.packages.config is renamed to https://github.com/DeborahK/AngularF2BWebAPI/blob/4afe42099a1f89dd6196db6ea96f5e91c86f4771/packageFiles/webapi.packages.config#L4 is not copied or renamed, but the repo is not buildable. It's just a collection of instructions for students. https://github.com/sonatype-nexus-community/DevAudit/blob/ca0a68efacb0e29f817aff5950b0a85bcc5326aa/DevAudit.AuditLibrary/Examples/v6a6.packages.config is an example file from a directory that also contains The code for NuGet.exe forms the path to the However, Counter example: https://github.com/espertechinc/nesper/blob/b3f668904b8bbaf0706ed922fb71c8909990f42e/src/NEsper.Runtime/packages.net45.config#L4 is not a packages.config file because the project name doesn't match. I don't know if we care about checking for a project file in the same directory. It's complicated because the project name put into the |
|
I don't know anything about the nuget ecosystem, but I see that the customer sent over a file named |
|
@furi0us333 I've already asked Louis to double-check in the meeting with ICE today. All the evidence points to the file being renamed by ICE, but I'd like to double-check before we move forward. |
|
This is the response we received from the customer:
|
49d9973 to
95c1b21
Compare
This adds support for `packages.config` files for the C# ecosystem under the new `NugetConfig` lockfile name. The file format itself seems to be relatively simple, with just a list of package names and optional versions. The current test fixture is based on examples of this lockfile found on <https://github.com>. Both `packages.config` on its own and `packages.*.config` are supported as valid names. Since this seems to be a lockfile there is no need for lockfile generation.
matt-phylum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changelog and some comments still say *.packages.config.
This adds support for
packages.configfiles for the C# ecosystem under the newNugetConfiglockfile name.The file format itself seems to be relatively simple, with just a list of package names and optional versions. The current test fixture is based on examples of this lockfile found on https://github.com.
Both
packages.configon its own and*.packages.configare supported as valid names. Since this seems to be a lockfile there is no need for lockfile generation.