-
Notifications
You must be signed in to change notification settings - Fork 252
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
DefaultPushSource is not being honored anymore. #2288
Comments
@spadapet please prioritize this to the top of your list, this is a regression we want to try and get into the command line. |
from @emgarten - I think it's because we removed nuget.org as the default push source, we apparently don't read that default push source setting anymore. The removal of nuget.org as a default push source was done by design (so we stop people from accidentally pushing to nuget.org) CC @csharpfritz - please add to release notes. |
The console app nuget.exe still gives the wrong using text:
|
This is also failing for me in 3.4.3.855. In what version did/will this fix shipped on? |
Looks like that change is actually getting into 3.4.4 through this issue: #2653 |
What's strange is that it worked fine last week and to my knowledge I didn't update nuget.exe after that nor did I update anything within vs.net |
Fails for me too. Is there any kind of integration testing for this stuff? |
Snarky comments don't really help, there obviously wasn't a test for this before it was fixed. Now there is. You can pick up 3.4.4 and validate if resolves your scenario |
FWIW, the loss of 'default source' functioning properly has similarly 'broken' all saved API Keys (previously saved with the |
Still borked!
Do I have to restate the API key for every package I have to upload, even though I am the owner of all of them and am the same user? Doing The NuGet.config file contains proper nuget urls,
So, it should default to nuget.org, not require a mandatory -Source flag. If I append |
I'll open a new issue. |
Fran's the apikey issue is a separate issue that is fixed for 3.5 |
After reading this issue I resolved this for myself by:
|
In my nuget.config I have.
<add key="DefaultPushSource" value="https://msdata.pkgs.visualstudio.com/DefaultCollection/_packaging/SQLIS_ISS/nuget/v3/index.json" />
On NuGet Version: 3.4.0.738 (http://www.myget.org/F/nugetbuild/api/v2/package/NuGet.CommandLine/3.4.0-rtm-738). This is from the nugetbuild MyGet feed.
Command:
nuget push "d:\tfs\IS Shared\Engineering Systems5\Main\bin\x86\Debug\Product\Microsoft.CBT.QuickBuild\Microsoft.CBT.QuickBuild.1.0.9.nupkg" -apikey vsts
Result:
Source parameter was not specified.
If I specify a source path it works. However 3.3 and below defaults to the DefaultPushSource listed in the nuget.config if there is no source specified.
If I accidentally filed this as a dupe issue then I apologize I thought I had already filed it but I couldn't find it when searching for it for status so I assume user error on my part.
The text was updated successfully, but these errors were encountered: