Skip to content
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

Cannot use relative URLs in dotnet push #10157

Open
Tracked by #6285
timheuer opened this issue Oct 19, 2020 · 6 comments
Open
Tracked by #6285

Cannot use relative URLs in dotnet push #10157

timheuer opened this issue Oct 19, 2020 · 6 comments
Labels
Category:Quality Week Issues that should be considered for quality week Functionality:Push Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:dotnet.exe Triage:NeedsMoreInfo Type:Bug Type:Docs

Comments

@timheuer
Copy link

timheuer commented Oct 19, 2020

Details about Problem

I’m trying to use dotnet nuget push with *.nupkg and 1) the docs are wrong (I submitted a bug) 2) the source parameter seems to require a fully-qualified source and cannot use relative roots?

I’m doing this in CI and am trying to basically use “.” As the source directory but looks like the CLI treats this as too literally and doesn’t like that.

From conversation it appears it could be
https://github.com/NuGet/NuGet.Client/blob/65abcc61f73ab3d87928495f789ec74011edde7f/src/NuGet.Core/NuGet.Commands/Utility/PackageSourceProviderExtensions.cs#L47
Versus using RelativeOrAbsolute

Repro Steps

  1. Produce some nuget packages
  2. Using .NET SDK 3.1.402
  3. Open a terminal/CLI
  4. navigate to where the nuget packages are
  5. run dotnet nuget push . *.nupkg
@donnie-msft
Copy link
Contributor

I believe this is a duplicate of the following. Please let me know if you disagree.
Adding any context/upvotes there is helpful: #4393

@timheuer
Copy link
Author

@donnie-msft I think you duped the wrong one here. #4393 is not the same issue here IMO. This is about relative paths.

@donnie-msft donnie-msft reopened this Oct 22, 2020
@donnie-msft donnie-msft added Triage:NeedsMoreInfo Triage:NeedsTriageDiscussion and removed Resolution:Duplicate This issue appears to be a Duplicate of another issue labels Oct 22, 2020
@donnie-msft
Copy link
Contributor

@timheuer please fill out our issue template so we have full version info and exact repro steps (especially would want to see the full command/options you're using)

/cc @zkat

@timheuer
Copy link
Author

added simple repro steps

@zkat zkat self-assigned this Nov 2, 2020
@zkat zkat added this to the Sprint 178 - 2020.10.19 milestone Nov 2, 2020
@zkat
Copy link
Contributor

zkat commented Nov 2, 2020

I'm going to follow up with Tim and open new issues for some weird docs issues in dotnet nuget push --help

@zkat zkat modified the milestone: Sprint 2021-04 Apr 5, 2021
@zkat zkat added this to the Sprint 2021-07 milestone Jul 6, 2021
@zkat zkat modified the milestones: Sprint 2021-10, Sprint 2021-11 Oct 4, 2021
@aortiz-msft aortiz-msft added the Priority:2 Issues for the current backlog. label Nov 3, 2021
@aortiz-msft
Copy link
Contributor

One report so far, so setting to Priority 3.

@aortiz-msft aortiz-msft added Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. and removed Priority:2 Issues for the current backlog. labels Jan 4, 2022
@nkolev92 nkolev92 removed this from the Sprint 2021-11 milestone Jan 4, 2022
@nkolev92 nkolev92 added Category:Quality Week Issues that should be considered for quality week and removed Category:Customer Sprint labels Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Quality Week Issues that should be considered for quality week Functionality:Push Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:dotnet.exe Triage:NeedsMoreInfo Type:Bug Type:Docs
Projects
None yet
Development

No branches or pull requests

8 participants