Custom Search

Saturday, March 22, 2014

OpenStack How to locate and clone Packaging Git Repository of each Projects

1)
Method1
-------------
#git clone git://git.debian.org/openstack/project_name.git
Replace project_name by any package (like nova, cinder, neutron, horizon, etc.)

#cd /project_name
#git checkout debian/havana
#git checkout debian/icehouse
#cd debian
#ls

Python modules are using either:
git checkout debian/unstable
git checkout debian/experimental

2)
Method2
-------------
http://anonscm.debian.org/gitweb/?a=project_list&s=openstack&btnS=Search

#git clone git://anonscm.debian.org/openstack//project_name.git
Replace project_name by any package (like nova, cinder, neutron, horizon, etc.)

#cd /project_name
#git checkout debian/havana
#git checkout debian/icehouse
#cd debian
#ls

3)
Method3
-------------
Extract from the Ubuntu source packages found in the ubuntu cloud archive.
For example:
http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/h/horizon/horizon_2014.1~b3-0ubuntu2~cloud0.dsc
If you use the "dget" tool, it will download the .dsc, the orig.tar.gz and the .diff.gz....and unpack it.
#dget http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/h/horizon/horizon_2014.1~b3-0ubuntu2~cloud0.dsc
You need dpkg-dev or devscripts installed.So that dget command will download it all and unpack it.So you can see the debian directory.

Goto following link and locate your project's *.dsc file
http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/

Example:
#sudo apt-get install devscripts
#dget http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/h/horizon/horizon_2014.1~b3-0ubuntu2~cloud0.dsc
#tar -xzf horizon_2014.1~b3.orig.tar.gz
#cd debian
#ls

No comments:

Post a Comment