github can be used as yum repo

James Cameron quozl at laptop.org
Tue May 31 21:34:52 EDT 2016


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
> --
>  martin.langhoff at gmail.com
>  - 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/



More information about the Devel mailing list