Cookiecutter Template for new OpenStack projects
f619226d34
This template has an option for launchpad project, but it is not used in CONTRIBUTING.rst. Fix that. Change-Id: I60d9b79eea7d9ad57b26bdc24f8cb02d3f2a1ccd |
||
---|---|---|
{{cookiecutter.repo_name}} | ||
hooks | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
cookiecutter.json | ||
README.rst |
cookiecutter-openstack
Cookiecutter template for an OpenStack project. See https://github.com/audreyr/cookiecutter.
- Free software: Apache license
- pbr: Set up to use Python Build Reasonableness
- hacking: Enforces the OpenStack Hacking Guidelines
- testrepository: Runs tests using testrepository
- OpenStack-Infra: Ready for OpenStack Continuous Integration testing
- Tox testing: Setup to easily test for Python 2.6, 2.7, 3.3, 3.4
- Sphinx docs: Documentation ready for generation and publication
Usage
Generate a Python package project:
cookiecutter https://git.openstack.org/openstack-dev/cookiecutter.git
OpenStack projects require a working git repo for pbr to work, on newer versions of cookiecutter (>= 0.7.0 released 2013-11-09) this inital commit will be done automatically. Otherwise you will need to init a repo and commit to it before doing anything else:
cd $repo_name
git init
git add .
git commit -a
Then:
- Add the project to the OpenStack Infrastructure