DIP11: Automatic downloading of libraries

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jun 14 08:33:25 PDT 2011


On 6/14/11 10:31 AM, Daniel Gibson wrote:
> Am 14.06.2011 17:31, schrieb Adam D. Ruppe:
>> Daniel Gibson:
>>> Is this possible with plain webspace, i.e. when you don't control
>>> the server?
>>
>> If you have your own domain name, you can certainly set this up.
>>
>> But if your host is fully managed, probably not. A fix is to set
>> up a redirection server people can share. This is kinda like a
>> central repository, but you wouldn't have to upload your files
>> directly. You might just put up a url (and other metadata?) to point
>> people to the final location.
>>
>> However, I'd prefer to have simple files. Downloading from git
>> is imo a mistake - those files are probably in development...
>> meaning they are mutable. If the files are mutable, it includes a
>> lot of pain for versioning and caching.
>
> There could be stable branches in the git repositories for exactly this
> purpose.
> Furthermore it's be nice as an additional feature - some people may
> always want to use the latest bleeding edge version from git/svn/whatever.

I noticed that many online git/svn repos have bridges that serve raw 
files via http directly. No need for using the git/svn tool on the client.

Andrei


More information about the Digitalmars-d mailing list