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

Neia Neutuladh neia at ikeran.org
Wed Aug 29 22:26:28 UTC 2018


On Monday, 27 August 2018 at 13:21:18 UTC, JN wrote:
> On Monday, 27 August 2018 at 10:54:22 UTC, Eugene Wissner wrote:
>> On Monday, 27 August 2018 at 10:25:42 UTC, Brian wrote:
>>> 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?
>>
>> Yes. And change the name in dub.json/dub.sdl.
>
> By the way, perhaps dub could use some namespacing for 
> packages, so all those would just go into "hunt" namespace? 
> Would avoid package name squatting too, which is a thing going 
> on in Rust's cargo right now -> https://crates.io/users/swmon

As an aside, I'm grateful that code.dlang.org doesn't require 
javascript and XHR calls for something as trivial as showing a 
list of packages.


More information about the Digitalmars-d mailing list