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

Allow renaming a package #379

Closed
wants to merge 2 commits into from
Closed

Allow renaming a package #379

wants to merge 2 commits into from

Conversation

AD7six
Copy link

@AD7six AD7six commented Jan 28, 2014

It aught to be rare, but there are times when renaming a package is desirable - such as when an author manages to use someone elses namespace; make it possible to rename a package without deleting and recreating the package.

A follow up to this could be to track renames and automatically handle/redirect requests for the renamed repository - though that's a bit more involved and not something I wish to implement at this time (IMO the way the search handles requests for missing packages is not perfect, though sufficient).

This resolves #47 and would help alleviate #163

Right now the only way to "rename" a package is to delete it and
recreate with the correct name - make it easier.
@jameswatts
Copy link

👍

@Seldaek
Copy link
Member

Seldaek commented Feb 6, 2014

If anything the rename should happen in composer.json first.

@AD7six
Copy link
Author

AD7six commented Feb 10, 2014

I'm not sure what that comment means @Seldaek (in terms of what is required for something to get done).

Guess this problem will just sit until someone else picks up the ball then - 😞

@Seldaek
Copy link
Member

Seldaek commented Feb 12, 2014

I just mean that you shouldn't be able to rename things on packagist, you should rename it in the composer.json (and possibly we should enforce that you replace the old name too, but not sure about that) and then tell packagist "yo I renamed this, please update the name".

@AD7six
Copy link
Author

AD7six commented Feb 17, 2014

That sounds like a validation rule - but I'm not intimate enough with the code to understand how you'd want that to be written.

@AD7six
Copy link
Author

AD7six commented Mar 31, 2014

Closing due to lack of interest/guidance.

@AD7six AD7six closed this Mar 31, 2014
@AD7six AD7six deleted the allow-edit-package branch March 31, 2014 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support renaming packages
3 participants