blob: 3c3a0c037bc5fe243fb6e3f6568ea1c84e2ac303 [file] [log] [blame]
jsseidel80666192017-09-19 13:29:23 -04001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
3.. _updates-and-review:
4
5Updates and Review
6==================
7
8Most project owners will need only to concern themselves with their own
9project documentation. However, documentation team members and certain
10project owners will need to edit and test multiple documentation repositories.
jsseidel80666192017-09-19 13:29:23 -040011
Andrea Visnyei48d799a2021-05-28 13:51:35 +020012Updates
13-------
jsseidel80666192017-09-19 13:29:23 -040014
Andrea Visnyei48d799a2021-05-28 13:51:35 +020015#. Create a JIRA task in the `ONAP JIRA <https://jira.onap.org/>`_
16before you start the updates. The created issue's ID will have to be added to
17the commit message.
jsseidel80666192017-09-19 13:29:23 -040018
Andrea Visnyei48d799a2021-05-28 13:51:35 +020019.. note::
20 The task should be created in the affected project's workspace. The release
21 should be specified, as well.
22
23#. If you have not cloned the repository yet, follow the instructions in the
24Git guide, section Cloning a repository. If you have done so already, pull the
25latest version.
26#. Create a local git branch for your changes.
27#. Update the required documents in the project repo(s).
28#. Build the documentation with tox.
29#. Check the output for errors.
30#. Add the changed files.
31#. Commit your changes. In the commit message, include the issue ID of the
32JIRA task, e.g. Issue-ID:DOC-602
33#. Request review with git review.
jsseidel80666192017-09-19 13:29:23 -040034
jsseidel436e5712017-09-19 16:51:26 -040035
jsseidel80666192017-09-19 13:29:23 -040036Requesting Reviews
37------------------
Andrea Visnyei48d799a2021-05-28 13:51:35 +020038#. Go to the gerrit review's page included in the output of the git review
39command.
40#. In gerrit, add the committers for the given
41project. For more information, refer to the `Gerrit guide <https://docs.releng.linuxfoundation.org/en/latest/gerrit.html#review>`_.
jsseidel80666192017-09-19 13:29:23 -040042
Andrea Visnyei48d799a2021-05-28 13:51:35 +020043#. Implement comments by updating your patch, based on
44`Updating an existing patch <https://docs.releng.linuxfoundation.org/en/latest/gerrit.html#update-an-existing-patch>`_
45in the Gerrit guide.
jsseidel80666192017-09-19 13:29:23 -040046
Andrea Visnyei48d799a2021-05-28 13:51:35 +020047.. note::
48 If you already have the branch you need, skip the first 2 steps in the above
49 guide.