import from Internet

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 12 06:52:44 PDT 2014


Am 12.07.2014 15:47, schrieb Russel Winder via Digitalmars-d:
> On Sat, 2014-07-12 at 13:13 +0000, Dicebot via Digitalmars-d wrote:
>> On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ
>> wrote:
>>> https://github.com/D-Programming-Language/dub/issues/373
>>
>> What I have meant is that "importing from internet" functionality
>> is currently provided by dub packages and does not belong to
>> compiler. URL imports in your proposed form are absolutely
>> horrible.
>
> It's an idea Go has picked up. The URL must refer to a Git, Bazaar,
> Mercurial repository. The repository is clone locally so that the actual
> build is local. To be honest it works quite well.
>

Except when:

- one needs proper versions
- binary only dependencies.
- not everyone uses git, mercurial

I still don't see Go moving into the enterprise until these issues are 
sorted out.

The approach taken by Dub is much better.

--
Paulo


More information about the Digitalmars-d mailing list