debian-mirror-gitlab/.gitlab/merge_request_templates/Deprecations.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

107 lines
6.6 KiB
Markdown
Raw Normal View History

2021-11-18 22:05:49 +05:30
<!-- Set the correct label and milestone using autocomplete for guidance. Please @mention only the DRI(s) for each stage or group rather than an entire department. -->
2022-04-04 11:22:00 +05:30
/label ~"release post" ~"release post item" ~"Technical Writing" ~devops:: ~group:: ~"release post item::deprecation"
/label ~"type::maintenance"
2021-11-18 22:05:49 +05:30
/milestone %
2022-03-02 08:16:31 +05:30
/assign `@EM/PM` (choose the DRI; remove backticks here, and below)
2021-11-18 22:05:49 +05:30
**Be sure to link this MR to the relevant deprecation issue(s).**
2022-04-04 11:22:00 +05:30
- Deprecation Issue:
If there is no relevant deprecation issue, hit pause and:
- Review the [process for deprecating and removing features](https://about.gitlab.com/handbook/product/gitlab-the-product/#process-for-deprecating-and-removing-a-feature).
- Connect with the Product Manager DRI.
2022-03-02 08:16:31 +05:30
2021-12-11 22:18:48 +05:30
Deprecation announcements can and should be created and merged into Docs at any time, to optimize user awareness and planning. We encourage confirmed deprecations to be merged as soon as the required reviews are complete, even if weeks ahead of the target milestone's release post. For the announcement to be included in a specific release post and that release's documentation packages, this MR must be reviewed/merged per the due dates below:
2021-11-18 22:05:49 +05:30
**By the 10th**: Assign this MR to these team members as Reviewer and for Approval (optional unless noted as required):
- Product Marketing: `@PMM`
- Product Designer(s): `@ProductDesigners`
2022-03-02 08:16:31 +05:30
- Product Group Manager or Director: `@PM` - Required
2021-11-18 22:05:49 +05:30
- Engineering Manager: `@EM` - Required
2021-12-11 22:18:48 +05:30
- Technical writer: `@TW` - Required
2021-11-18 22:05:49 +05:30
2022-03-02 08:16:31 +05:30
**By 11:59 AM PDT 15th**: EM/PM assigns this MR to the TW reviewer for final review and merge: `@EM/PM`
2021-11-18 22:05:49 +05:30
2021-12-11 22:18:48 +05:30
**By 11:59 PM PDT 17th**: TW Reviewer updates Docs by merging this MR to `master`: `@TW`
2021-11-18 22:05:49 +05:30
---
2022-10-11 01:57:18 +05:30
Please review:
- The definitions of ["Deprecation", "End of Support", and "Removal"](https://docs.gitlab.com/ee/development/deprecation_guidelines/#terminology).
- The [guidelines for deprecations](https://about.gitlab.com/handbook/marketing/blog/release-posts/#deprecations).
- The process for [creating a deprecation entry](https://about.gitlab.com/handbook/marketing/blog/release-posts/#creating-a-deprecation-entry).
2021-11-18 22:05:49 +05:30
They are frequently updated, and everyone should make sure they are aware of the current standards (PM, PMM, EM, and TW).
2022-03-02 08:16:31 +05:30
## EM/PM release post item checklist
2021-11-18 22:05:49 +05:30
2022-03-02 08:16:31 +05:30
- [ ] Set yourself as the Assignee, meaning you are the DRI.
2021-12-11 22:18:48 +05:30
- [ ] If the deprecation is a [breaking change](https://about.gitlab.com/handbook/product/gitlab-the-product/#breaking-change), add label `breaking change`.
2021-11-18 22:05:49 +05:30
- [ ] Follow the process to [create a deprecation YAML file](https://about.gitlab.com/handbook/marketing/blog/release-posts/#creating-a-deprecation-entry).
2021-12-11 22:18:48 +05:30
- [ ] Add reviewers by the 10th.
2022-04-04 11:22:00 +05:30
- [ ] When ready to be merged and not later than the 15th, add the `~ready` label and @ message the TW for final review and merge.
2021-11-18 22:05:49 +05:30
## Reviewers
2022-01-26 12:08:38 +05:30
When the content is ready for review, it must be reviewed by a Technical Writer and Engineering Manager, but can also be reviewed by
2021-11-18 22:05:49 +05:30
Product Marketing, Product Design, and the Product Leaders for this area. Please use the
[Reviewers for Merge Requests](https://docs.gitlab.com/ee/user/project/merge_requests/getting_started#reviewer)
feature for all reviews. Reviewers will then `approve` the MR and remove themselves from Reviewers when their review is complete.
- [ ] (Recommended) PMM
- [ ] (Optional) Product Designer
- [ ] (Optional) Group Manager or Director
2022-11-25 23:54:43 +05:30
- [ ] Required review and approval: [Technical Writer designated to the corresponding DevOps stage/group](https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments).
2021-11-18 22:05:49 +05:30
### Tech writer review
After being added as a Reviewer to this merge request, the TW performs their review
according to the criteria described below.
Review deprecation MRs with a similar process as regular docs MRs. Add suggestions
as needed, @ message the PM to inform them the first review is complete, and remove
yourself as a reviewer if it's not ready for merge yet.
<details>
2022-01-26 12:08:38 +05:30
<summary>Expand for Details</summary>
2021-11-18 22:05:49 +05:30
- [ ] Title:
- Length limit: 7 words (not including articles or prepositions).
- Capitalization: ensure the title is [sentence cased](https://design.gitlab.com/content/punctuation#case).
2022-04-04 11:22:00 +05:30
- Rewrite to exclude the words `deprecation`, `deprecate`, `removal`, and `remove` if necessary.
2021-11-18 22:05:49 +05:30
- [ ] Consistency:
- Ensure that all resources (docs, deprecation, etc.) refer to the feature with the same term / feature name.
- [ ] Content:
- Make sure the deprecation is accurate based on your understanding. Look for typos or grammar mistakes. Work with PM and PMM to ensure a consistent GitLab style and tone for messaging, based on other features and deprecations.
- Review use of whitespace and bullet lists. Will the deprecation item be easily scannable when published? Consider adding line breaks or breaking content into bullets if you have more than a few sentences.
- Make sure there aren't acronyms readers may not understand per <https://about.gitlab.com/handbook/communication/#writing-style-guidelines>.
- [ ] Links:
- All links must be full URLs, as the deprecation YAML files are used in two different projects. Do not use relative links. The generated doc is an exception to the relative link rule and currently uses absolute links only.
- Make sure all links and anchors are correct. Do not link to the H1 (top) anchor on a docs page.
- [ ] Code. Make sure any included code is wrapped in code blocks.
- [ ] Capitalization. Make sure to capitalize feature names. Stay consistent with the Documentation Style Guidance on [Capitalization](https://docs.gitlab.com/ee/development/documentation/styleguide.html#capitalization).
- [ ] Blank spaces. Remove unnecessary spaces (end of line spaces, double spaces, extra blank lines, and lines with only spaces).
</details>
2021-12-11 22:18:48 +05:30
When the PM indicates it is ready for merge and all issues have been addressed, start the merge process.
#### Technical writer merge process
The [deprecations doc's `.md` file](https://gitlab.com/gitlab-org/gitlab/blob/master/doc/update/deprecations.md)
must be updated before this MR is merged:
1. Check out the MR's branch (in the [`gitlab-org/gitlab`](https://gitlab.com/gitlab-org/gitlab) project).
1. From the command line (in the branch), run `bin/rake gitlab:docs:compile_deprecations`.
If you want to double check that it worked, you can run `bin/rake gitlab:docs:check_deprecations`
to verify that the doc is up to date.
1. Commit the updated file and push the changes.
1. Set the MR to merge when the pipeline succeeds (or merge if the pipeline is already complete).
2022-04-04 11:22:00 +05:30
If you have trouble running the Rake task, check the [troubleshooting steps](https://about.gitlab.com/handbook/marketing/blog/release-posts/#deprecation-rake-task-troubleshooting).