Open BrianHenryIE opened 1 month ago
Not really no, that's way overcomplicated. Just do the first two steps, and then resubmit the repo url to get a second package on packagist with the new name. Then you can mark the old one as abandoned on packagist and point to new name.
I've never really liked the name and would prefer something that communicates the purpose better.
There's no neat way on Packagist to just rename. The procedure is to start a new package and mark the previous one as abandoned.
I think what needs to be done:
brianhenryie/php-renamespacer
composer.json
brianhenryie/strauss-renamed
composer.json
withbrianhenryie/php-renamespacer
in itsrequire
brianhenryie/strauss
on Packagist tobrianhenryie/strauss-renamed
repobrianhenryie/php-renamespacer
brianhenryie/strauss-renamed
that creates a new release every timebrianhenryie/php-renamespacer
is released*brianhenryie/strauss-renamed
to advise on using the new package name, and a tool to perform the changeI think this will mean existing users of
brianhenryie/strauss
will be pointed tobrianhenryie/strauss-renamed
and will continue to work for existing and future releases, while outputting a message advising to run a command to change the name. The*
above is that maybe the the repo will need all existing releases inbrianhenryie/strauss
have a corresponding release inbrianhenryie/strauss-renamed
.Good reading:
@Seldaek Does all that make sense?