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

[NuGet.org Bug]: 'Alternate package' field should be clearer that it requires a Package ID #10294

Open
sam-wheat opened this issue Nov 30, 2024 · 3 comments

Comments

@sam-wheat
Copy link

Impact

It's more difficult to complete my work

Describe the bug

I recently deprecated a package. Tried to add a link to an alternate package and received this message:

Could not find alternate package 'https://www.nuget.org/packages/mypackage'.

Link to alt package was in the format: https://www.nuget.org/packages/mypackage

Repro Steps

Select a package to deprecate.
Find an alternate package on nuget.org and copy the link.
Paste the link in the Alternate Package box on the deprecation page.
Note the error message.

Expected Behavior

Should be able to add a link to an alternate package

Screenshots

No response

Additional Context and logs

No response

@advay26
Copy link
Member

advay26 commented Dec 5, 2024

@sam-wheat
While you can't provide a link in the Alternate Package field, if you enter the Package Id and select a version, it generates a link to that nuget.org package in the Deprecation message.

You can also choose to provide a link in the 'custom message' field, and that should render as a link too.

Package deprecation settings:
image

Package Details page after deprecating the package:
image

@advay26 advay26 added this to the Sprint 2024-12 milestone Dec 5, 2024
@sam-wheat
Copy link
Author

Sorry about that guys. Not sure why I thought prompt was asking for a link. Changing the prompt to "Alternate Package ID" would make it more clear honestly.

@advay26 advay26 changed the title [NuGet.org Bug]: Correct format for alternate package link for a deprecated package [NuGet.org Bug]: 'Alternate package' field should be clearer that it requires a Package ID Dec 5, 2024
@advay26
Copy link
Member

advay26 commented Dec 5, 2024

Changing the prompt to "Alternate Package ID" would make it more clear honestly.

That's a great point, Sam. I've reopened this issue, and repurposed it to make the Alternate package field clearer.

@advay26 advay26 reopened this Dec 5, 2024
@advay26 advay26 modified the milestones: Sprint 2024-12, Backlog Dec 5, 2024
@advay26 advay26 removed their assignment Dec 9, 2024
@advay26 advay26 removed the Triaged label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants