From 12505bb5abdaf46f70e7ac3642c5fdd4502ee5f8 Mon Sep 17 00:00:00 2001 From: Anaelle LTD <44770354+anaelleltd@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:01:59 +0100 Subject: [PATCH] add runtime release guidelines in the README and update the PR template (#439) This a PR to update the docs for the runtimes repo with: - guidelines to summarise key steps involved in Major and minor releases - an updated PR template to ensure that contributors adhere to guidelines - [x] Does not require a CHANGELOG entry --- README.md | 19 +++++++++++++++++++ docs/pull_request_template.md | 22 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 docs/pull_request_template.md diff --git a/README.md b/README.md index a9f0e905de..d46a2d472e 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,25 @@ The release process is building all runtimes and then puts them into a release i The format of [`CHANGELOG.md`](CHANGELOG.md) is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## Release guidelines + +Here is an overview of the recommended steps. + +|Steps |Description | +|------|------------| +|0 |Open an [issue](https://github.com/polkadot-fellows/runtimes/issues) for the release in the runtimes repo with the **version number**. | +|1 |Update **[polkadot-sdk](https://github.com/paritytech/polkadot-sdk?tab=readme-ov-file#-releases)**, if applicable. | +|2 |Identify and monitor **potential blockers** (old dependencies, pending or failed upgrades). | +|3 |Identify and include **PRs** with required tests, highlighting the integration tests that have changed. | +|4 |Identify and communicate all details about **potential breaking changes** (transaction/event/error encoding, polkadot-sdk migrations, XCM and storage format, etc.) or **disruptions**. Make sure to **ping @SBalaguer and @anaelleltd** in your commentary. | +|5 |Run **[benchmarking](https://github.com/polkadot-fellows/runtimes/blob/main/docs/weight-generation.md)** for changed pallets. | +|6 |Trigger the release for **final reviews**, making sure to highlight information about all breaking changes or disruptions in the **CHANGELOG entry**. | +|7 |Create the **[whitelisting proposal (Fellowship)](https://github.com/joepetrowski/opengov-cli)** with contextual information.| +|8 |Create the **[whitelisted caller referendum (OpenGov)](https://github.com/joepetrowski/opengov-cli)** with contextual information and **instructions for following up** on breaking changes or disruptions. | +|9 |Close the issue for the release once the referendum is **approved and executed**. | +|10 |Open an issue for **the next release** in the runtimes repo, if applicable.| + + ## Communication channels The Fellowship is using Matrix for communication. Right now there exists two channels: diff --git a/docs/pull_request_template.md b/docs/pull_request_template.md new file mode 100644 index 0000000000..0a8b80548e --- /dev/null +++ b/docs/pull_request_template.md @@ -0,0 +1,22 @@ + + + + + + + + +- [ ] Does not require a CHANGELOG entry