Sunday, August 25, 2013

yum-my ~ get your public yum-repo rolling on Google AppEngine

Wanna get your public yum repository rolling,

Get started by cloning boilerplate code...
$ git clone https://github.com/abhishekkr/gae-flat-web.git
$ cd gae-flat-web
$ mkdir -p yummy/<distro><releasever>/<basearch>

$ cp <all_my_rpms_of__distro_releasever_basearch> yummy/<distro><releasever>/<basearch>

$ createrepo yummy/<distro><releasever>/<basearch>/

now, place a file 'flat_web/yum-my-el6<or-whichever>.repo' with content 
[yum-my-<distro><releasever>-<basearch>]
name=Yum-My
baseurl=http://YOURYUMMY.appspot.com/yummy/<distro>$releasever/$basearch
enabled=1
gpgcheck=0

and can link this file on your 'flat_web/index.htm' homepage to host: $ google_appengine/appcfg.py update


have a look at my repo code @ https://github.com/abhishekkr/gae-yum-my.git

For demo, here is the one I'm hosting
http://yum-my.appspot.com/flat_web/index.htm

No comments: