dget - getting code from github

Alex Rønne Petersen alex at lycus.org
Wed May 23 17:23:23 PDT 2012


On 24-05-2012 01:14, Walter Bright wrote:
> Currently, getting D code from github is a multistep process, that isn't
> always obvious. I propose the creation of a dget program, which will:
>
> dget https://github.com/D-Programming-Deimos/libevent
>
> download the libevent code and install it in a subdirectory named
> libevent. Of course, the url could also be:
>
> dget github.com/D-Programming-Deimos/libevent
>
> since https is assumed, or:
>
> dget D-Programming-Deimos/libevent
>
> since github is assumed. And since Deimos is a known library,
>
> dget libevent
>
> can also be hardwired into dget.
>
> Anyone want to implement such? It ought to be fairly straightforward,
> and will be a nice timesaver for a lot of people.

Maybe this should be part of whatever package manager the community ends 
up using. I think several people have been / are working on such programs.

BTW, Git submodules are ideal for this sort of thing: 
http://git-scm.com/book/en/Git-Tools-Submodules

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list