Cookiecutter templates for new specs repos
f450937508
This commit adds a new cookiecutter variable to specify the targeted lp project that specs in the added repo are targetted against. For example if the repo_name was nova-specs project_name would be nova or for qa-specs it would be tempest. |
||
---|---|---|
{{cookiecutter.repo_name}} | ||
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
- OpenStack-Infra: Ready for OpenStack Continuous Integration testing
- Tox testing: Setup to easily building sphunx docs
- 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, so you 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