docs: Add docs for reno integration

Change-Id: I9a77a4f6397464c33181d8b4bd2a9ae79c058b47
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2018-09-24 11:58:46 +01:00
parent d01abc82d0
commit dac6f829af
2 changed files with 17 additions and 1 deletions

View File

@ -21,6 +21,7 @@ using an install tool such as *pip*.
* **ChangeLog**: Generate ChangeLog from git log
* **Manifest**: Generate a sensible manifest from git files and some standard
files
* **Release Notes**: Generate a release notes file using reno
* **Requirements**: Store your dependencies in a pip requirements file
* **long_description**: Use your README file as a long_description
* **Smart find_packages**: Smartly find packages under your root package

View File

@ -62,7 +62,7 @@ From this, we note a couple of the main features of *pbr*:
- Extensive use of ``setup.cfg`` for configuration
- Automatic package metadata generation (``version``)
- Automatic metadata file generation (``AUTHOR``, ``ChangeLog``,
``MANIFEST.in``)
``MANIFEST.in``, ``RELEASENOTES.txt``)
In addition, there are other things that you don't see here but which *pbr*
will do for you:
@ -253,6 +253,21 @@ test files.
__ https://packaging.python.org/tutorials/distributing-packages/#manifest-in
Release Notes
~~~~~~~~~~~~~
.. admonition:: Summary
*pbr* will automatically use *reno* \'s ``build_reno`` setuptools command
to generate a release notes file, if reno is available and configured.
If using *reno*, you may wish to include a copy of the release notes in your
packages. *reno* provides a ``build_reno`` `setuptools command`__ and, if reno
is present and configured, *pbr* will automatically call this to generate a
release notes file for inclusion in your package.
__ https://docs.openstack.org/reno/latest/user/setuptools.html
Setup Commands
--------------