You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,16 +36,25 @@ The day after a GHES version's [deprecation date](https://github.com/github/docs
36
36
In your `docs-internal` checkout:
37
37
- [ ] Create a new branch: `git checkout -b deprecate-<version>`.
38
38
- [ ] Edit `lib/enterprise-server-releases.js` by moving the number to be deprecated into the `deprecated` array.
39
-
- [ ] Run `script/enterprise-server-deprecations/remove-static-files.js` and commit results.
40
-
- [ ] Run `script/enterprise-server-deprecations/remove-redirects.js` and commit results.
41
39
- [ ] Open a new PR. Make sure to check the following:
42
40
- [ ] Tests are passing.
43
-
- [ ] The deprecated version renders on staging as expected.
44
-
- [ ] The new oldest supported version renders on staging as expected. Also check the banner text.
45
-
- [ ] Remove the outdated Liquid markup and frontmatter. It's recommended to create a topic branch off of your `deprecate-<version>` branch to isolate the changes for review.
46
-
- [ ] In your `docs-internal` checkout, from your `deprecate-<version>` branch: `git checkout -b remove-<version>-markup`
41
+
- [ ] The deprecated version renders on staging as expected. You should be able to navigate to docs.github.com/enterprise/<DEPRECATED VERSION> to access the docs. You should also be able to navigate to a page that is available in the deprecated version and change the version in the URL to the deprecated version, to test redirects.
42
+
- [ ] The new oldest supported version renders on staging as expected. You should see a banner on the top of every page for the oldest supported version that notes when the version will be deprecated.
43
+
44
+
## Step 5: Remove static files for the version
45
+
46
+
- [ ] In your `docs-internal` checkout, from your `remove-<version>-static-files` branch: `git checkout -b remove-<version>-static-files`
47
+
- [ ] Run `script/enterprise-server-deprecations/remove-static-files.js` and commit results.
48
+
- [ ] Run `script/enterprise-server-deprecations/remove-redirects.js` and commit results.
49
+
- [ ] Open a new PR.
50
+
- [ ] Get a review from docs-engineering and merge. This step can be merged independently from step 6. The purpose of splitting up steps 5 and 6 is to focus the review on specific files.
51
+
52
+
## Step 6: Remove the liquid conditionals and content for the version
53
+
54
+
- [ ] In your `docs-internal` checkout, from your `remove-<version>-markup` branch: `git checkout -b remove-<version>-markup`
55
+
- [ ] Remove the outdated Liquid markup and frontmatter.
47
56
- [ ] Run the script: `script/enterprise-server-deprecations/remove-version-markup.js --release <number>`.
48
57
- [ ] Spot check a few changes. Content, frontmatter, and data files should all have been updated.
49
58
- [ ] Open a PR with the results. The diff may be large and complex, so make sure to get a review from `@github/docs-content`.
50
59
- [ ] Debug any test failures or unexpected results.
51
-
- [ ] When the PR is approved, merge it in to complete the deprecation.
60
+
- [ ] When the PR is approved, merge it in to complete the deprecation. This can be merged independently from step 5.
0 commit comments