-
Notifications
You must be signed in to change notification settings - Fork 526
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
Target specific feeds against specific dependencies #331
Comments
Yep. Unless there was a dependency that existed in two feeds and you wanted to explicitly only one feed I suppose. |
yes but then it should be the exact same package (modulo monkey-patching ;-) ) |
why - if you uploaded a newer version to one feed than another one? |
That's different version no. then, right?
|
Yes, exactly :-) |
Currently the order of sources defines the source that will be used in a situation where same package in same version is present in different feeds. Unfortunately currently the source to use is picked when details of the package gets fetched and not when the available versions are determined. Note: |
In terms of performance, I moved a single package (out of about 20 dependencies) from a secondary nuget feed to a local file system feed. The time to do a |
Ok I think this is something to do next. We should work towards a grouping feature. |
Grouping is for dev vs production dependencies. While I agree that that's not usual in the .NET space I'd prefer something like this:
|
Closing old issue. This can be done via groups |
The current implementation looks at e.g. all nuget sources across all nuget dependencies e.g.: -
In the example above, My.Package24 goes against "privatefeed" and My.Package25 against "myprivatefeed". However, there is no way to indicate that in the dependencies file. As a result, updates etc. for any given package search across all feeds. It would be great if you could do something like: -
Where only packages 1-23 are searched against nuget.org, My.Package24 against myprivatefeed and My.Package25 against myotherprivatefeed.
The text was updated successfully, but these errors were encountered: