@cryptotaxi247 / kubo / commits / faaac6e4c

chore: combined improvements from v0.18.0-rc2

galargh committed Jan 4, 2023 at 18:59 UTC faaac6e4cd80d0b473fab86ec123d9f220c552a8
1 file changed +22 -16
docs/RELEASE_ISSUE_TEMPLATE.md
+22 -16
@@ -46,7 +46,7 @@ Checklist:
46 - [ ] Mention @protocol/bifrost-team in the issue and let them know the expected date of the release
47 - Issue link:
48 - [ ] Ensure that the `What's left for release` section has all the checkboxes checked. If that's not the case, discuss the open items with Kubo maintainers and update the release schedule accordingly.
49 - - `go run main.go kubo:issue:checkOutstandingTasks v0.18.0`
49 + - `km kubo:issue:checkOutstandingTasks v0.18.0`
50 - [ ] Create `docs-release-vX.Y.Z` branch, open a draft PR and keep updating `docs/RELEASE_ISSUE_TEMPLATE.md` on that branch as you go.
51 - [ ] Link it in the "Meta" section above.
52 - [ ] Ensure you have a [GPG key generated](https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key) and [added to your GitHub account](https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-gpg-key-to-your-github-account). This will enable you to created signed tags.
@@ -70,26 +70,26 @@ Checklist:
70 - [ ] [ipfs/kubo](https://github.com/ipfs/kubo): [example PR](https://github.com/ipfs/kubo/pull/8599)
71 - [ ] [ipfs/ipfs-docs](https://github.com/ipfs/ipfs-docs): [example PR](https://github.com/ipfs/ipfs-docs/pull/1298) - only if the major version changed
72 - [ ] Fork a new branch (`release-vX.Y.Z`) from `master`.
73 - - `go run main.go kubo:release:cutReleaseBranch v0.18.0`
73 + - `km kubo:release:cutReleaseBranch v0.18.0`
74 - [ ] Bump the version in `version.go` in the `master` branch to `vX.(Y+1).0-dev` via a PR ([example](https://github.com/ipfs/kubo/pull/9305)).
75 - - `go run main.go kubo:main:updateVersion v0.18.0`
75 + - `km kubo:main:updateVersion v0.18.0`
76 - [ ] **Stage 2 - Release Candidate** - _if any [non-trivial](docs/releases.md#footnotes) changes need to be included in the release, return to this stage_
77 - [ ] If it's not a first RC, add new commits to the `release-vX.Y.Z` branch from `master` using `git cherry-pick -x ...`
78 - Note: `release-*` branches are protected. You can do all needed updates on a separated branch (e.g. `wip-release-vX.Y.Z`) and when everything is settled push to `release-vX.Y.Z`
79 - [ ] Bump the version in `version.go` in the `release-vX.Y.Z` branch to `vX.Y.Z-rcN`.
80 - - `go run main.go kubo:release:updateReleaseVersion v0.18.0-rc1`
80 + - `km kubo:release:updateReleaseVersion v0.18.0-rc1`
81 - [ ] If it's a first RC, create a draft PR targetting `release` branch if it doesn't exist yet ([example](https://github.com/ipfs/kubo/pull/9306)).
82 - - `go run main.go kubo:release:createReleasePR v0.18.0`
82 + - `km kubo:release:createReleasePR v0.18.0`
83 - [ ] Wait for CI to run and complete PR checks. All checks should pass.
84 - - `go run main.go kubo:release:checkReleaseCI v0.18.0`
84 + - `km kubo:release:checkCI v0.18.0`
85 - [ ] Create a signed tag for the release candidate.
86 - - `go run main.go kubo:release:createReleaseTag v0.18.0-rc1`
86 + - `km kubo:release:createReleaseTag v0.18.0-rc1`
87 - This is a dangerous operation, as it is difficult to reverse due to Go modules and automated Docker image publishing. Remember to verify the commands you intend to run for items marked with ⚠️ with the release reviewer.
88 - [ ] ⚠️ Tag HEAD `release-vX.Y.Z` commit with `vX.Y.Z-rcN` (`git tag -s vX.Y.Z-rcN -m 'Pre-release X.Y.Z-rcn'`)
89 - [ ] Run `git show vX.Y.Z-rcN` to ensure the tag is correct.
90 - [ ] ⚠️ Push the `vX.Y.Z-rcN` tag to GitHub (`git push origin vX.Y.Z-rcN`; DO NOT USE `git push --tags` because it pushes all your local tags).
91 - [ ] Add artifacts to https://dist.ipfs.tech by making a PR against [ipfs/distributions](https://github.com/ipfs/distributions)
92 - - `go run main.go dist:dist:createDistPR v0.18.0-rc1`
92 + - `km dist:dist:createDistPR v0.18.0-rc1`
93 - [ ] Clone the `ipfs/distributions` repo locally.
94 - [ ] Create a new branch (`kubo-release-vX.Y.Z-rcn`) from `master`.
95 - [ ] Run `./dist.sh add-version kubo vX.Y.Z-rcN` to add the new version to the `versions` file ([instructions](https://github.com/ipfs/distributions#usage)).
@@ -101,24 +101,25 @@ Checklist:
101 - PR will be merged automatically once the diff is approved
102 - `master` build will publish the artifacts to https://dist.ipfs.io in around 30 minutes
103 - [ ] Ensure that the artifacts are available at https://dist.ipfs.io
104 - - `go run main.go dist:dist:checkIPFSTech v0.18.0-rc1`
104 + - `km dist:dist:checkIPFSTech v0.18.0-rc1`
105 - [ ] Publish the RC to [the NPM package](https://www.npmjs.com/package/go-ipfs?activeTab=versions) by running https://github.com/ipfs/npm-go-ipfs/actions/workflows/main.yml (it happens automatically but it is safe to speed up the process and kick of a run manually)
106 - - `go run main.go npm:npm:publishToNPM v0.18.0-rc1`
107 - - `go run main.go npm:npm:checkNPM v0.18.0-rc1`
106 + - `km npm:npm:publishToNPM v0.18.0-rc1`
107 + - `km npm:npm:checkNPM v0.18.0-rc1`
108 - [ ] Cut a pre-release on [GitHub](https://github.com/ipfs/kubo/releases) ([instructions](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release), [example](https://github.com/ipfs/kubo/releases/tag/v0.17.0-rc1))
109 - - `go run main.go kubo:createGitHubRelease v0.18.0-rc1`
109 + - `km kubo:createGitHubRelease v0.18.0-rc1`
110 - Use `vX.Y.Z-rcN` as the tag.
111 - Link to the release issue in the description.
112 - Link to the relevant [changelog](https://github.com/ipfs/kubo/blob/master/docs/changelogs/) in the description.
113 - Check `This is a pre-release`.
114 - [ ] Synchronize release artifacts by running [sync-release-assets](https://github.com/ipfs/kubo/actions/workflows/sync-release-assets.yml) workflow.
115 - - `go run main.go kubo:syncGitHubRelease v0.18.0-rc1`
115 + - `km kubo:syncGitHubRelease v0.18.0-rc1`
116 - [ ] Announce the RC
117 - [ ] Create a new post on [IPFS Discourse](https://discuss.ipfs.tech). ([example](https://discuss.ipfs.tech/t/kubo-v0-16-0-rc1-release-candidate-is-out/15248))
118 - Use `Kubo vX.Y.Z-rcn Release Candidate is out!` as the title.
119 + - `km discourse:post:getTitle v0.18.0-rc1`
120 - Use `kubo` and `go-ipfs` as topics.
120 - - Repeat the title as a heading (`##`) in the description.
121 - - Link to the GitHub Release, binaries on IPNS, docker pull command and release notes in the description.
121 + - Repeat the title as a heading (`##`) in the description. Link to the GitHub Release, binaries on IPNS, docker pull command and release notes in the description.
122 + - `km discourse:post:getBody v0.18.0-rc1`
123 - [ ] Pin the topic globally so that it stays at the top of the category.
124 - [ ] If there is no more important banner currently set on Discourse (e.g. IPFS Camp announcement), make the topic into a banner.
125 - [ ] Check if Discourse post was automatically copied to:
@@ -127,8 +128,9 @@ Checklist:
128 - [ ] Matrix https://matrix.to/#/#ipfs-chatter:ipfs.io
129 - [ ] Mention [early testers](https://github.com/ipfs/go-ipfs/tree/master/docs/EARLY_TESTERS.md) in the comment under the release issue ([example](https://github.com/ipfs/kubo/issues/9319#issuecomment-1311002478)).
130 - [ ] **Stage 3 - Internal Testing**
130 - - [ ] Infrastructure Testing.
131 + - [ ] Infrastructure Testing (see [Kubo Gateway Release Notes](https://www.notion.so/pl-strflt/Kubo-Gateway-Release-Notes-6e0efff28ee540be9ccb8f2b85104c42) by bifrost team if you want to learn more about the process).
132 - [ ] Update the issue against [bifrost-infra](https://github.com/protocol/bifrost-infra) ([example](https://github.com/protocol/bifrost-infra/issues/2109)).
133 + - `km bifrost:issue:createIssueComment v0.18.0-rc1`
134 - [ ] Mention @protocol/bifrost-team in the issue to let them know the release is ready
135 - [ ] [Optional] Reply under a message about the issue in the #bifrost channel on FIL Slack once the RC is out. Send the message to the channel.
136 - [ ] Check [metrics](https://protocollabs.grafana.net/d/8zlhkKTZk/gateway-slis-precomputed?orgId=1) every day.
@@ -136,12 +138,16 @@ Checklist:
138 - If there is an unexpected variation in the trend, message the #bifrost channel on FIL Slack and ask for help investigation the cause.
139 - [ ] IPFS Application Testing.
140 - [ ] [IPFS Desktop](https://github.com/ipfs-shipyard/ipfs-desktop)
141 + - `km desktop:main:createOrUpdateUpgradePR v0.18.0-rc1`
142 + - `km desktop:main:checkCI v0.18.0-rc1`
143 - [ ] Upgrade to the RC in [ipfs-desktop](https://github.com/ipfs-shipyard/ipfs-desktop)
144 - [ ] Run `npm install` to update `package-lock.json`.
145 - [ ] Push to a branch ([example](https://github.com/ipfs/ipfs-desktop/pull/1826/commits/b0a23db31ce942b46d95965ee6fe770fb24d6bde))
146 - [ ] Open a draft PR to track through the final release ([example](https://github.com/ipfs/ipfs-desktop/pull/1826))
147 - [ ] Ensure CI tests pass
148 - [ ] [IPFS Companion](https://github.com/ipfs-shipyard/ipfs-companion)
149 + - `km companion:test:initTest v0.18.0-rc2`
150 + - `km companion:test:checkTest v0.18.0-rc2`
151 - [ ] Start kubo daemon of the version to release.
152 - [ ] Start a fresh chromium or chrome instance using `chromium --user-data-dir=$(mktemp -d)` (macos `/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=$(mktemp -d)`)
153 - [ ] Start a fresh firefox instance using `firefox --profile $(mktemp -d)` (macos `/Applications/Firefox.app/Contents/MacOS/firefox --profile $(mktemp -d)`)