Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 41 additions & 32 deletions .github/release_plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,51 @@

- [ ] Ensure all new features are tracked via telemetry
- [ ] Announce the code freeze (not just to team but also to ptvsd and language server)
- [ ] Create a branch against `master` for a pull request
- [ ] Change the version in [`package.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) from a `-dev` suffix to `-rc`
- [ ] Run `npm install` to make sure [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) is up-to-date
- [ ] Update `requirements.txt` to point to latest release version of [ptvsd](https://github.com/microsoft/ptvsd).
- [ ] Update `languageServerVersion` in `package.json` to point to the latest version (???) of [the Language Server](https://github.com/Microsoft/python-language-server).
- [ ] Update [`CHANGELOG.md`](https://github.com/Microsoft/vscode-python/blob/master/CHANGELOG.md)
- [ ] Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news --final --update CHANGELOG.md | code-insiders -`)
- [ ] Copy over the "Thanks" section from the previous release
- [ ] Make sure the "Thanks" section is up-to-date (e.g. compare to versions in requirements.json)
- [ ] Touch up news entries (e.g. add missing periods)
- [ ] Add any relevant news entries for ptvsd and the language server if they were updated
- [ ] Update [`ThirdPartyNotices-Distribution.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Distribution.txt) by running [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --npm-overrides package.datascience-ui.dependencies.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
* for each failure:
1. go to the repo (from link on NPM page) and look for the license there
1. copy the text from the failure into `tpn/distribution.toml`
1. fill in the license found in the package's repo
* if there is no license in a package's repo then do one of the following:
+ check the NPM metadata and fill in the corresponding license from the OSI site
+ ask the package maintainer (e.g. via github)
+ ask CELA
- [ ] Update [`ThirdPartyNotices-Repository.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Repository.txt) as appropriate
- [ ] Create a pull request against `master`
- [ ] Merge pull request into `master`
- [ ] Delete the `release` branch in the repo
- [ ] Create a new `release` branch from `master`
- [ ] Bump the version number to the next monthly ("YYYY.M.0-dev") release in the `master` branch
- [ ] `package.json`
- [ ] `package-lock.json`
- [ ] Create a pull request against `master`
- [ ] Merge pull request into `master`
- [ ] Update master for the release
- [ ] Create a branch against `master` for a pull request
- [ ] Change the version in [`package.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) from a `-dev` suffix to `-rc`
- [ ] Run `npm install` to make sure [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package.json) is up-to-date
- [ ] Update `requirements.txt` to point to latest release version of [ptvsd](https://github.com/microsoft/ptvsd).
- [ ] Update `languageServerVersion` in `package.json` to point to the latest version (???) of [the Language Server](https://github.com/Microsoft/python-language-server).
- [ ] Update [`CHANGELOG.md`](https://github.com/Microsoft/vscode-python/blob/master/CHANGELOG.md)
- [ ] Run [`news`](https://github.com/Microsoft/vscode-python/tree/master/news) (typically `python news --final --update CHANGELOG.md | code-insiders -`)
- [ ] Copy over the "Thanks" section from the previous release
- [ ] Make sure the "Thanks" section is up-to-date (e.g. compare to versions in requirements.json)
- [ ] Touch up news entries (e.g. add missing periods)
- [ ] Add any relevant news entries for ptvsd and the language server if they were updated
- [ ] Update [`ThirdPartyNotices-Distribution.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Distribution.txt) by running [`tpn`](https://github.com/Microsoft/vscode-python/tree/master/tpn) (typically `python tpn --npm package-lock.json --npm-overrides package.datascience-ui.dependencies.json --config tpn/distribution.toml ThirdPartyNotices-Distribution.txt`)
* for each failure:
1. go to the repo (from link on NPM page) and look for the license there
1. copy the text from the failure into `tpn/distribution.toml`
1. fill in the license found in the package's repo
* if there is no license in a package's repo then do one of the following:
+ check the NPM metadata and fill in the corresponding license from the OSI site
+ ask the package maintainer (e.g. via github)
+ ask CELA
- [ ] Update [`ThirdPartyNotices-Repository.txt`](https://github.com/Microsoft/vscode-python/blob/master/ThirdPartyNotices-Repository.txt) as appropriate
- [ ] Create a pull request against `master`
- [ ] Merge pull request into `master`
- [ ] Update the [`release` branch](https://github.com/microsoft/vscode-python/branches)
- [ ] (if necessary) Request from a repo admin that the branch be un-"protected"
- [ ] Delete the `release` branch in the repo
- [ ] Create a new `release` branch from `master`
- (alternately, force-push the master branch to the GitHub "release" branch)
- [ ] (if necessary) Request that the branch be set anew as "protected"
- [ ] Update master post-release
- [ ] Bump the version number to the next monthly ("YYYY.M.0-dev") release in the `master` branch
- [ ] `package.json`
- [ ] `package-lock.json`
- [ ] Create a pull request against `master`
- [ ] Merge pull request into `master`
- [ ] Announce the code freeze is over
- [ ] Update [Component Governance](https://dev.azure.com/ms/vscode-python/)
- [ ] Update [Component Governance](https://dev.azure.com/ms/vscode-python/_componentGovernance) (Click on "microsoft/vscode-python" on that page)
- [ ] Provide details for any automatically detected npm dependencies
- [ ] Manually add any repository dependencies
- [ ] GDPR bookkeeping
- [ ] GDPR bookkeeping (@brettcannon)
- [ ] Open appropriate [documentation issues](https://github.com/microsoft/vscode-docs/issues?q=is%3Aissue+is%3Aopen+label%3Apython)
+ new features
+ settings changes
+ etc. (ask the team)
- [ ] Begin drafting a [blog](http://aka.ms/pythonblog) post
- [ ] Ask CTI to test the release candidate

Expand Down