Jump to: navigation, search

Difference between revisions of "Getting The Code"

(Getting the source code)
(Getting the source code)
Line 13: Line 13:
  
 
You can also get milestone releases of the code from the OpenStack projects on Launchpad, for example:
 
You can also get milestone releases of the code from the OpenStack projects on Launchpad, for example:
* [https://launchpad.net/nova/grizzly/2013.1.3/+download/nova-2013.1.3.tar.gz Openstack Compute] ([https://launchpad.net/nova/grizzly/2013.1.3/+download/nova-2013.1.3.tar.gz/+md5 md5],[https://launchpad.net/nova/grizzly/2013.1.3/+download/nova-2013.1.3.tar.gz.asc sig])
+
* [https://launchpad.net/nova/havana/2013.2.1/+download/nova-2013.2.1.tar.gz Openstack Compute] ([https://launchpad.net/nova/havana/2013.2.1/+download/nova-2013.2.1.tar.gz/+md5 md5],[https://launchpad.net/nova/havana/2013.2.1/+download/nova-2013.2.1.tar.gz.asc sig])
* [https://launchpad.net/swift/grizzly/1.8.0/+download/swift-1.8.0.tar.gz OpenStack Object Storage] ([https://launchpad.net/swift/grizzly/1.8.0/+download/swift-1.8.0.tar.gz/+md5 md5],[https://launchpad.net/swift/grizzly/1.8.0/+download/swift-1.8.0.tar.gz.asc sig])
+
* [https://launchpad.net/swift/havana/1.10.0/+download/swift-1.10.0.tar.gz OpenStack Object Storage] ([https://launchpad.net/swift/havana/1.10.0/+download/swift-1.10.0.tar.gz/+md5 md5],[https://launchpad.net/swift/havana/1.10.0/+download/swift-1.10.0.tar.gz.asc sig])
* [https://launchpad.net/glance/grizzly/2013.1.3/+download/glance-2013.1.3.tar.gz OpenStack Image Service] ([https://launchpad.net/glance/grizzly/2013.1.3/+download/glance-2013.1.3.tar.gz/+md5 md5],[https://launchpad.net/glance/grizzly/2013.1.3/+download/glance-2013.1.3.tar.gz.asc sig])
+
* [https://launchpad.net/glance/havana/2013.2.1/+download/glance-2013.2.1.tar.gz OpenStack Image Service] ([https://launchpad.net/glance/havana/2013.2.1/+download/glance-2013.2.1.tar.gz/+md5 md5],[https://launchpad.net/glance/havana/2013.2.1/+download/glance-2013.2.1.tar.gz.asc sig])
* [https://launchpad.net/neutron/grizzly/2013.1.3/+download/quantum-2013.1.3.tar.gz OpenStack Networking] ([https://launchpad.net/neutron/grizzly/2013.1.3/+download/quantum-2013.1.3.tar.gz/+md5 md5],[https://launchpad.net/neutron/grizzly/2013.1.3/+download/quantum-2013.1.3.tar.gz.asc sig])
+
* [https://launchpad.net/neutron/havana/2013.2.1/+download/quantum-2013.2.1.tar.gz OpenStack Networking] ([https://launchpad.net/neutron/havana/2013.2.1/+download/quantum-2013.2.1.tar.gz/+md5 md5],[https://launchpad.net/neutron/havana/2013.2.1/+download/quantum-2013.2.1.tar.gz.asc sig])
* [https://launchpad.net/cinder/grizzly/2013.1.3/+download/cinder-2013.1.3.tar.gz OpenStack Block Storage] ([https://launchpad.net/cinder/grizzly/2013.1.3/+download/cinder-2013.1.3.tar.gz/+md5 md5],[https://launchpad.net/cinder/grizzly/2013.1.3/+download/cinder-2013.1.3.tar.gz.asc sig])
+
* [https://launchpad.net/cinder/havana/2013.2.1/+download/cinder-2013.2.1.tar.gz OpenStack Block Storage] ([https://launchpad.net/cinder/havana/2013.2.1/+download/cinder-2013.2.1.tar.gz/+md5 md5],[https://launchpad.net/cinder/havana/2013.2.1/+download/cinder-2013.2.1.tar.gz.asc sig])
* [https://launchpad.net/keystone/grizzly/2013.1.3/+download/keystone-2013.1.3.tar.gz OpenStack Identity] ([https://launchpad.net/keystone/grizzly/2013.1.3/+download/keystone-2013.1.3.tar.gz/+md5 md5],[https://launchpad.net/keystone/grizzly/2013.1.3/+download/keystone-2013.1.3.tar.gz.asc sig])
+
* [https://launchpad.net/keystone/havana/2013.2.1/+download/keystone-2013.2.1.tar.gz OpenStack Identity] ([https://launchpad.net/keystone/havana/2013.2.1/+download/keystone-2013.2.1.tar.gz/+md5 md5],[https://launchpad.net/keystone/havana/2013.2.1/+download/keystone-2013.2.1.tar.gz.asc sig])
* [https://launchpad.net/horizon/grizzly/2013.1.3/+download/horizon-2013.1.3.tar.gz OpenStack Dashboard] ([https://launchpad.net/horizon/grizzly/2013.1.3/+download/horizon-2013.1.3.tar.gz/+md5 md5],[https://launchpad.net/horizon/grizzly/2013.1.3/+download/horizon-2013.1.3.tar.gz.asc sig])
+
* [https://launchpad.net/horizon/havana/2013.2.1/+download/horizon-2013.2.1.tar.gz OpenStack Dashboard] ([https://launchpad.net/horizon/havana/2013.2.1/+download/horizon-2013.2.1.tar.gz/+md5 md5],[https://launchpad.net/horizon/havana/2013.2.1/+download/horizon-2013.2.1.tar.gz.asc sig])
  
 
= Getting dependencies =
 
= Getting dependencies =

Revision as of 01:11, 17 December 2013

Getting the source code

OpenStack manages source code in git using a code review tool called Gerrit. The workflow for working with Gerrit is described at GerritWorkflow. Git repositories are mirrored to git.openstack.org and Github.

To get a copy of an OpenStack project, you can clone a repo from git.openstack.org and browse the source code at git.openstack.org/cgit. For instance, to clone the Swift repo:

git clone git://git.openstack.org/openstack/swift

Alternatively, you can use the Github mirror to clone repos and browse code. The git.openstack.org and GitHub mirrors are maintained the same way and contain the same code, so you can use either one, with the difference being that git.openstack.org is hosted by the OpenStack organization.

You can also get milestone releases of the code from the OpenStack projects on Launchpad, for example:

Getting dependencies

  • ** These may be outdated, code moves fast. ***

Nova

Swift

All in One (Manual Install)

Swift documentation can be found at http://swift.openstack.org. The Swift All in One documentation will lead you step by step to do a development install of Swift on a VM.

All In One (Chef Auto Install)

You'll want to have an Ubuntu 10.04 system/VM that you're willing to turn in to a Swift development environment. First step is to get the SSH key you are using for launchpad in your ~/.ssh directory.

Log in as your user, and do the following:


curl http://c0020195.cdn1.cloudfiles.rackspacecloud.com/install-swift.sh > install-swift.sh
bash install-swift.sh


You'll be prompted for your username, group name (which is your user group name likely identical to your username), launchpad login, and the email address you want bzr to use when sending commits. Eventually, you will also be prompted to accept the Launchpad SSH Host Key, and may be prompted for your keyphrase.

When the script completes, you'll have a functioning Swift All In One that's prepped for running the functional tests.