summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-02 23:34:26 +0000
committerGerrit Code Review <review@openstack.org>2015-12-02 23:34:26 +0000
commit5d71ed2b9c7d1eda76895cfe87687777cfb62b79 (patch)
tree3e4d614358b18e0857a999eec733158f38378600 /doc/source
parent6cea1e0463632cd73f569376ed05d880c214d4c5 (diff)
parentafd1b489ff2137ef1ee0eef1ec1c202f2e1ac899 (diff)
downloadpython-openstackclient-5d71ed2b9c7d1eda76895cfe87687777cfb62b79.tar.gz
Merge "Add reno for release notes management"
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/developing.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/source/developing.rst b/doc/source/developing.rst
index c41fbf34..9f8e55ca 100644
--- a/doc/source/developing.rst
+++ b/doc/source/developing.rst
@@ -98,6 +98,41 @@ create HTML docs, run the following:
The resultant HTML will be the ``doc/build/html`` directory.
+Release Notes
+-------------
+
+The release notes for a patch should be included in the patch. See the
+`Project Team Guide`_ for more information on using reno in OpenStack.
+
+.. _`Project Team Guide`: http://docs.openstack.org/project-team-guide/release-management.html#managing-release-notes
+
+If any of the following applies to the patch, a release note is required:
+
+* The deployer needs to take an action when upgrading
+* The plugin interface changes
+* A new feature is implemented
+* A command or option is removed
+* Current behavior is changed
+* A security bug is fixed
+
+Reno is used to generate release notes. Please read the docs for details. In summary, use
+
+.. code-block:: bash
+
+ $ tox -e venv -- reno new <bug-,bp-,whatever>
+
+Then edit the sample file that was created and push it with your change.
+
+To see the results:
+
+.. code-block:: bash
+
+ $ git commit # Commit the change because reno scans git log.
+
+ $ tox -e releasenotes
+
+Then look at the generated release notes files in releasenotes/build/html in your favorite browser.
+
Testing new code
----------------