doc/development/documentation/backporting.md
There are two types of backports:
18-6-stable-ee.To backport documentation changes to the current stable release:
18-6-stable-ee.You do not need to involve a release manager.
[!warning] You should only rarely consider backporting documentation to older stable releases. Legitimate reasons to backport documentation include legal issues, emergency security fixes, and fixes to content that might prevent users from upgrading or cause data loss.
To backport documentation changes in documentation releases older than the current stable branch:
Prerequisites:
Open an issue in the Technical Writing team tasks project using the backport changes template.
In the issue, state why the backport is needed. Include:
Ask for the approval of technical writing leadership by creating a comment in this issue with the following text:
@gitlab-org/tw-leadership could I get your approval for this documentation backport?
After the technical writing leadership approves the backport, you can create the merge request to backport the change.
Prerequisites:
To backport a change, merge your changes into the stable branch of the version where you want the changes to occur.
Open an MR with the backport by following the release docs guidelines, and mention the issue you opened before so that they are linked.
Assign the MR to a technical writer for review.
After the technical writer approves the MR, assign the MR to a release manager for review and merge.
Mention this issue to the release manager, and provide them with all the context they need.
For the change to appear in:
docs.gitlab.com, the release manager only has to merge the MR to the stable branch,
and the technical writer needs to deploy the backport changes.gitlab.com/help, the change needs to be part of a GitLab release. The release
manager can include the change in the next release they create. This step is optional.Prerequisites:
After the changes are merged to the appropriate stable branch, you must deploy the backported changes.
Run a new pipeline
in docs-gitlab-com. Choose the branch name that matches the stable version, for example 17.9.
Run a new pipeline
in gitlab-docs. Choose the branch name that matches the stable version, for example 17.8 or 16.0.
If the backport change was made to a version other than the last three stable branches, update the docs archives site:
gitlab-docs-archives repository.https://archives.docs.gitlab.com and verify
that the changes are available for the correct version.Previous versions of the documentation are available on docs.gitlab.com.
To view a previous version, in the upper-right corner, select the version
number from the dropdown list.
To view versions that are not available on docs.gitlab.com: