I want change package name for dub , how to do it?

Sönke Ludwig sludwig+d at outerproduct.org
Thu Aug 30 15:44:26 UTC 2018


Am 27.08.2018 um 12:25 schrieb Brian:
> My team want change packages name:
> 
> hunt -> hunt-framework
> entity -> hunt-entity
> database -> hunt-database
> cache -> hunt-cache
> 
> How to do it? Must delete package before add it again?

To avoid breaking dependencies, the best approach is this:

1. clone the repository
2. set the existing package to point to the cloned repository at 
code.dlang.org
3. change the name and create a new version tag
4. register the original repository again, picking up the new name


More information about the Digitalmars-d mailing list