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

Package redirects #1590

Closed
maartenba opened this issue Oct 16, 2015 · 7 comments
Closed

Package redirects #1590

maartenba opened this issue Oct 16, 2015 · 7 comments
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Feature
Milestone

Comments

@maartenba
Copy link
Contributor

From @SimonCropp on October 16, 2015 5:0

In many cases people want to rename a package. ATM there is no easy way to do this, you basically have to release a broken version of the old package with some kind of message to move to the new package. It would be nice to have this handled in a more seamless way by nuget.

If you are willing to hack many things in the nuget toolset then you can handle it yourself, but it is painful. Here is the work we had to do to move users to a new package Particular/NServiceBus#2113

Copied from original issue: NuGet/NuGetGallery#2736

@maartenba
Copy link
Contributor Author

From @yishaigalatzer on October 16, 2015 5:4

That's something I've been wanting for a while for a few more scenarios.

This issue should go to the home repo, as it is not a server issue.

Worth a good discussion to cover all the scenarios (both tooling and user scenarios).

Thanks!

@yishaigalatzer
Copy link

Here is a strawman for user scenarios

User Scenarios for redirect

  1. A package name has changed, and as a package owner I want the users to know where to get the new package
  2. A package was deleted (e.g. infringement of rights), and an alternate official package is available
  3. An unofficial package wants to retire because an official package was introduced
  4. A package is no longer relevant, and we want to remove it, but perhaps lift one of its dependencies to be a top level package.
  5. Ability to redirect one package to two or more packages (so instead of install package A, you will now need both B & C instead). - This is questionable

Tooling scenarios for redirect

  1. When I install a new package from the UI - I'd like to get notified that some swapping is going to happen
  2. When restore happens to a package with redirects (e.g. you deleted a package and pushed a redirect instead), I'd like to get an actionable error message rather than auto fix it by default

Server scenarios

  1. The server should surface the fact that this is a redirecting package

CC @davidfowl

@yishaigalatzer yishaigalatzer added this to the Discussions milestone Oct 16, 2015
@Jogai
Copy link

Jogai commented Jan 7, 2016

+1
And in addition to what @yishaigalatzer said: Some packages move to other platforms, especially front-end packages with the support for npm/bower/.. tooling available now in VS2015

@yishaigalatzer
Copy link

Indiction for other platforms like bower was introduced in nuget 3.3, the notification is currently curated and managed by the ASP.net web tools team.

@jdom
Copy link

jdom commented Nov 7, 2017

Is there any progress in this or a similar feature?

@anangaur
Copy link
Member

anangaur commented Nov 8, 2017

Related feature proposal/discussion happening here: #2867

@emgarten emgarten modified the milestones: Future-2, 4.6 Nov 10, 2017
@emgarten emgarten added the Resolution:Duplicate This issue appears to be a Duplicate of another issue label Nov 10, 2017
@emgarten
Copy link
Member

Duplicate of #2867

@emgarten emgarten marked this as a duplicate of #2867 Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Feature
Projects
None yet
Development

No branches or pull requests

7 participants