dget - getting code from github
bioinfornatics
bioinfornatics at fedoraproject.org
Wed Jun 6 03:13:08 PDT 2012
Le mercredi 30 mai 2012 à 13:04 +0200, Zardoz a écrit :
> On Saturday, 26 May 2012 at 08:52:07 UTC, bioinfornatics wrote:
> > Le mercredi 23 mai 2012 à 16:14 -0700, Walter Bright a écrit :
> >> 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.
> >
> > yes it is a feature i wish to add but the repository should be
> > always
> > the same or by a config file understand where is the source
> > code (root
> > of dir in src dir ...), if it is a lib, a desktop application,
> > a web
> > application (which vied, serenity ..), detect dependencies
> > i have start a little project for build common D project (80%
> > of use
> > case) https://github.com/organizations/dbuilder-developers
> >
> > this tool could in more download and build/install easilly if
> > you put at
> > root of the github repo a config file (example of config file
> > supported
> > https://github.com/dbuilder-developers/dbuilder/blob/master/examples/dbuilder.cfg
> > )
> > Any help are welcome, this tool goal to be easy to use
> > $ dbuilder get xxx // not implemented
> > $ dbuilder build
> > $ dbuilder install
> >
> > in more from command line you can override value in config file
> >
> > Sorry for my english
> >
> >
> > )
>
> I will try it of you can write a documentations for dumbs. What
> do each variable in the config file? What variables are required
> or not ?
> For example what the hell is "job" var ?? Put a working example
> not a skeleton config file.
>
Right i will do this
More information about the Digitalmars-d
mailing list