github can be used as yum repo

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

github can be used as yum repo

Martin Langhoff
This might be of interest. OLPC has for a long time maintained sizable git repos to support OOB.

For an unrelated project, I have just tested that the same thing can be achieved with github. 

For example, this repo:


can be used as a yum repo with this kind of url:


note that the base URL returns 400, yum does not fetch 'index' pages from a repo, it will request:


cheers,


m
--
 - ask interesting questions  ~  http://linkedin.com/in/martinlanghoff
 - don't be distracted        ~  http://github.com/martin-langhoff
   by shiny stuff

_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: github can be used as yum repo

James Cameron-2
Thanks.

Yes, we have about 685 GB of yum "frozen repos" maintained as bare git
repos and accessed via http://mock.laptop.org/

Benefit was deterministic (i.e. reproducible) builds, to control risk
of regression after any updates from Fedora.

Cost was curating during release.

For recent releases, I've avoided them, instead using the Fedora 18
updates repo directly.  The benefit is no longer enough to cover the
cost.

On Tue, May 31, 2016 at 01:47:25PM -0400, Martin Langhoff wrote:

> This might be of interest. OLPC has for a long time maintained sizable git
> repos to support OOB.
>
> For an unrelated project, I have just tested that the same thing can be
> achieved with github. 
>
> For example, this repo:
>
>   https://github.com/martin-langhoff/testfoo
>
> can be used as a yum repo with this kind of url:
>
>   https://raw.githubusercontent.com/martin-langhoff/testfoo/master/
>
> note that the base URL returns 400, yum does not fetch 'index' pages from a
> repo, it will request:
>
>   https://raw.githubusercontent.com/martin-langhoff/testfoo/master/repodata/
> repomd.xml
>
> cheers,
>
> m
> --
>  [hidden email]
>  - ask interesting questions  ~  http://linkedin.com/in/martinlanghoff
>  - don't be distracted        ~  http://github.com/martin-langhoff
>    by shiny stuff

--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel