Jump to: navigation, search

Difference between revisions of "Getting The Code"

(Getting the source code: - point to series)
Line 12: Line 12:
 
Alternatively, you can use the [https://github.com/openstack 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.
 
Alternatively, you can use the [https://github.com/openstack 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 stable releases of the code from the OpenStack projects on Launchpad, for example:
+
You can also get stable releases of the code from the OpenStack projects on Launchpad:
  
* [https://launchpad.net/nova/icehouse/2014.1.1 Compute (Nova)]
+
* [https://launchpad.net/nova/icehouse Compute (Nova)]
* [https://launchpad.net/swift/icehouse/1.13.1 Object Storage (Swift)]  
+
* [https://launchpad.net/swift/icehouse Object Storage (Swift)]  
* [https://launchpad.net/glance/icehouse/2014.1.1 Image Service (Glance)]  
+
* [https://launchpad.net/glance/icehouse Image Service (Glance)]  
* [https://launchpad.net/neutron/icehouse/2014.1.1 Networking (Neutron)]  
+
* [https://launchpad.net/neutron/icehouse Networking (Neutron)]  
* [https://launchpad.net/cinder/icehouse/2014.1.1 Block Storage (Cinder)]
+
* [https://launchpad.net/cinder/icehouse Block Storage (Cinder)]
* [https://launchpad.net/keystone/icehouse/2014.1.1 Identity (Keystone)]
+
* [https://launchpad.net/keystone/icehouse Identity (Keystone)]
* [https://launchpad.net/horizon/icehouse/2014.1.1 Dashboard (Horizon)]
+
* [https://launchpad.net/horizon/icehouse Dashboard (Horizon)]
* [https://launchpad.net/ceilometer/icehouse/2014.1.1 Telemetry (Ceilometer)]
+
* [https://launchpad.net/ceilometer/icehouse Telemetry (Ceilometer)]
* [https://launchpad.net/heat/icehouse/2014.1.1 Orchestration (Heat)]
+
* [https://launchpad.net/heat/icehouse Orchestration (Heat)]
* [https://launchpad.net/trove/icehouse/2014.1 Database Service (Trove)]
+
* [https://launchpad.net/trove/icehouse Database Service (Trove)]
  
 
= Getting dependencies =
 
= Getting dependencies =

Revision as of 23:58, 22 September 2014

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 stable releases of the code from the OpenStack projects on Launchpad:

Getting dependencies

See DevStack.


Hacking on your laptop and running unit tests

Questions about running unit tests locally are fairly common. While all of the projects are pretty similar in how this works, it's best to consult each projects documentation for things like setting up a dev environment and running unit tests.

Each project should publish this info to docs.openstack.org (http://docs.openstack.org/developmer/<PROJECT_NAME>/devref/development.environment.html

For example:

http://docs.openstack.org/developer/cinder/devref/development.environment.html