| 1 |
.. _releasenotes: |
| 2 |
|
| 3 |
Release Notes |
| 4 |
============= |
| 5 |
|
| 6 |
What is reno ? |
| 7 |
-------------- |
| 8 |
|
| 9 |
Cyborg uses `reno <https://docs.openstack.org/reno/latest/>`__ for providing |
| 10 |
release notes in-tree. That means that a patch can include a *reno file* or a |
| 11 |
series can have a follow-on change containing that file explaining what the |
| 12 |
impact is. |
| 13 |
|
| 14 |
A *reno file* is a YAML file written in the ``releasenotes/notes`` tree which |
| 15 |
is generated using the *reno* tool this way: |
| 16 |
|
| 17 |
.. code-block:: bash |
| 18 |
|
| 19 |
$ tox -e venv -- reno new <name-your-file> |
| 20 |
|
| 21 |
where usually ``<name-your-file>`` can be ``bp-<blueprint_name>`` for a |
| 22 |
blueprint or ``bug-XXXXXX`` for a bugfix. |
| 23 |
|
| 24 |
Refer to the `reno documentation |
| 25 |
<https://docs.openstack.org/reno/latest/user/index.html>`__ for more |
| 26 |
information. |
| 27 |
|
| 28 |
|
| 29 |
When a release note is needed |
| 30 |
----------------------------- |
| 31 |
|
| 32 |
A release note is required anytime a reno section is needed. Below are some |
| 33 |
examples for each section. Any sections that would be blank should be left out |
| 34 |
of the note file entirely. If no section is needed, then you know you don't |
| 35 |
need to provide a release note :-) |
| 36 |
|
| 37 |
* ``upgrade`` |
| 38 |
* The patch has an `UpgradeImpact <https://docs.opendev.org/opendev/infra-manual/latest/developers.html#peer-review>`_ tag |
| 39 |
* A DB change needs some deployer modification (like a migration) |
| 40 |
* A configuration option change (deprecation, removal or modified default) |
| 41 |
* some specific changes that have a `DocImpact <https://docs.opendev.org/opendev/infra-manual/latest/developers.html#peer-review>`_ tag |
| 42 |
but require further action from an deployer perspective |
| 43 |
* any patch that requires an action from the deployer in general |
| 44 |
|
| 45 |
* ``security`` |
| 46 |
* If the patch fixes a known vulnerability |
| 47 |
|
| 48 |
* ``features`` |
| 49 |
* If the patch has an `APIImpact <https://docs.opendev.org/opendev/infra-manual/latest/developers.html#peer-review>`_ tag |
| 50 |
* For Cyborg api and python-cyborgclient changes, if it adds or changes a |
| 51 |
new command, including adding new options to existing commands |
| 52 |
* a new accelerator driver is provided or an existing driver impacts the |
| 53 |
:doc:`DriversSupportMatrix </reference/support-matrix>` |
| 54 |
|
| 55 |
* ``critical`` |
| 56 |
* Bugfixes categorized as Critical in launchpad *impacting users* |
| 57 |
|
| 58 |
* ``fixes`` |
| 59 |
* No clear definition of such bugfixes. Hairy long-standing bugs with high |
| 60 |
importance that have been fixed are good candidates though. |
| 61 |
|
| 62 |
Three sections are left intentionally unexplained (``prelude``, ``issues`` and |
| 63 |
``other``). Those are targeted to be filled in close to the release time for |
| 64 |
providing details about the soon-ish release. Don't use them unless you know |
| 65 |
exactly what you are doing. |