github can be used as yum repo

Martin Langhoff martin.langhoff at gmail.com
Tue May 31 13:47:25 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20160531/8f6578f7/attachment.html>


More information about the Devel mailing list