[csw-maintainers] support for GitHub hosted repositories

Ben Walton bwalton at opencsw.org
Sun Jun 2 16:54:33 CEST 2013


Also note that I added generic git (git or http protocol) support a few
years back. It supports arbitrary treeish targets.

The downside I found was permissions when a subsequent maintainer wants to
pull. I never got sons to forcing usable permissions in the garchive
directory. A second downside was needing to v drive the auto tools setup
every time.

There are a few examples if using this support in the tree still.

Hth.

Thanks
-Ben
On Jun 2, 2013 3:43 PM, "Peter FELECAN" <pfelecan at opencsw.org> wrote:

> "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 don't know and, consequently not tested, something like that. My
> implementation is based on
> http://developer.github.com/v3/repos/contents/#get-archive-link and if
> what you shown is a valid Git reference the I suppose that it's
> possible and if somebody test this with success we can rename it as
> GITHUB_REFERENCE.
> --
> Peter
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
> .:: This mailing list's archive is public. ::.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20130602/b947f3c4/attachment.html>


More information about the maintainers mailing list