Make dub part of the standard dmd distribution

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 7 23:04:06 PDT 2015


Am 07.06.2015 um 19:57 schrieb Jacob Carlborg:
> On 2015-06-07 17:27, Nick Sabalausky wrote:
>
>> Even if that stuff isn't currently known to code.dlang.org, it'd all be
>> easy for it to obtain:
>>
>> $ mkdir some_temp && cd some_temp
>> $ git clone package_URL dir && cd dir
>> $ dmd (flags dub already knows) -v | grep import
>>
>> Would only need to do that when it detects a new version tag (which it
>> already detects).
>
> So the registry basically needs to compile all packages? Isn't it better
> to "compile" and upload packages then?
>

Isn't just the list of *modules* needed and not the list of *imports*? 
The registry can easily query the list of files of a package using the 
GitHub API. The package description is obviously already known, too, so 
this would definitely be possible to do without compiling anything.


More information about the Digitalmars-d mailing list