DoctrineModule
DoctrineModule copied to clipboard
Rename repository
Hi @Ocramius ,
For homogeneity purpose with how composer name packages, I think it would be a good idea to rename the GitHub project from "DoctrineModule" to "doctrine-module". I tried it with my own projects, it's absolutely painless, it breaks nothing (even the old URL is redirected to the new one). It just provides more homogeneity and it seems like some projects like Doctrine adopte this (as well as zf itself).
(I'm not going to raise in issue but the same applies for DoctrineModuleORMModule, DoctrineModuleMongo...)
EDIT : in fact, the composer package canonical also needs to be updated on Packagist.
@bakura10 that's a perfectly fine request by me - we're already doing this for ORM, so let's wait and see how that turns out.
I don't see anything against it, but it's not a priority now
Nice. In fact it's pretty easy. Basically the only pain is that people will just need to rename their remote branches in git (I think).
@bakura10 I think github handles that, no?
Maybe! AT least the links to the repo still work.
+1
For information, here are the steps I needed to do to make it work correctly:
- Remove the module from modules.zendframework.com
- Rename the repository on GitHub.
- Optionally change the name on composer.json here (https://github.com/doctrine/DoctrineModule/blob/master/composer.json#L6) but that's not needed here as it does not point to GitHub.
- Log into Packagist and manually update the link.
- Readd the module to modules.zendframework.com
All the forks will still point to the new name without any breaks.
The only problem will be broken links =/
No, github does redirections.
Envoyé de mon iPhone
Le 21 mai 2013 à 02:46, Daniel Gimenes [email protected] a écrit :
The only problem will be broken links =/
— Reply to this email directly or view it on GitHub.
So looks perfect (: