[csw-maintainers] support for GitHub hosted repositories

Peter FELECAN pfelecan at opencsw.org
Mon Jun 3 10:52:09 CEST 2013


"Maciej (Matchek) Bliziński" <maciej at opencsw.org> writes:

> 2013/6/2 Peter FELECAN <pfelecan at opencsw.org>:
>> What's gathered/built depends on GITHUB_BRANCH variable, by default
>> "master"; if you provide something else, as in the example given in the
>> documentation, then that is gathered and eventually built...
>
> Aha, so it can be a sha1 sum as well, and you can do something like:
>
> GITHUB_BRANCH = d40fb7cc8f2b598df1225ec2c1841dbd6843c712
>
>
> Then maybe the variable can be named in a fashion suggesting that you
> can put any identifier in there?

I tested using a commit identifier similar to what you show above and it
works. I made some tweaks to gar and changed the variable's name to
GITHUB_REFERENCE.

-- 
Peter


More information about the maintainers mailing list