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

bauss jj_1337 at live.dk
Thu Aug 30 10:40:47 UTC 2018


On Wednesday, 29 August 2018 at 22:26:28 UTC, Neia Neutuladh 
wrote:
> 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.

That's terrible if it uses XHR for to retrieve the initial data 
for the page.

Much better if you just use it to retrieve additional data, but 
the initial data should come with the first GET request.


More information about the Digitalmars-d mailing list