docs: Improve markdownlint configuration (#11104)
## Description Closes: #9404 --- ### Author Checklist *All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.* I have... - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] added `!` to the type prefix if API or client breaking change - [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting)) - [x] provided a link to the relevant issue or specification - [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules) - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing) - [ ] added a changelog entry to `CHANGELOG.md` - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc) - [ ] updated the relevant documentation or specification - [x] reviewed "Files changed" and left comments if necessary - [x] confirmed all CI checks have passed ### Reviewers Checklist *All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.* I have... - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] confirmed `!` in the type prefix if API or client breaking change - [ ] confirmed all author checklist items have been addressed - [ ] reviewed state machine logic - [ ] reviewed API design and naming - [ ] reviewed documentation is accurate - [ ] reviewed tests and test coverage - [ ] manually tested (if applicable)
This commit is contained in:
+40
-40
@@ -8,36 +8,36 @@ A _major release_ is an increment of the first number (eg: `v1.2` → `v2.0.0`)
|
||||
|
||||
Before making a new _major_ release we do beta and release candidate releases. For example, for release 1.0.0:
|
||||
|
||||
```
|
||||
```text
|
||||
v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... → v1.0.0
|
||||
```
|
||||
|
||||
- Release a first beta version on the `master` branch and freeze `master` from receiving any new features. After beta is released, we focus on releasing the release candidate:
|
||||
- finish audits and reviews
|
||||
- kick off a large round of simulation testing (e.g. 400 seeds for 2k blocks)
|
||||
- perform functional tests
|
||||
- add more tests
|
||||
- release new beta version as the bugs are discovered and fixed.
|
||||
- After the team feels that the `master` works fine we create a `release/vY` branch (going forward known a release branch), where `Y` is the version number, with the patch part substituted to `x` (eg: 0.42.x, 1.0.x). Ensure the release branch is protected so that pushes against the release branch are permitted only by the release manager or release coordinator.
|
||||
- **PRs targeting this branch can be merged _only_ when exceptional circumstances arise**
|
||||
- update the GitHub mergify integration by adding instructions for automatically backporting commits from `master` to the `release/vY` using the `backport/Y` label.
|
||||
- In the release branch, prepare a new version section in the `CHANGELOG.md`
|
||||
- All links must be link-ified: `$ python ./scripts/linkify_changelog.py CHANGELOG.md`
|
||||
- Copy the entries into a `RELEASE_CHANGELOG.md`, this is needed so the bot knows which entries to add to the release page on GitHub.
|
||||
- Create a new annotated git tag for a release candidate (eg: `git tag -a v1.1.0-rc1`) in the release branch.
|
||||
- from this point we unfreeze master.
|
||||
- the SDK teams collaborate and do their best to run testnets in order to validate the release.
|
||||
- when bugs are found, create a PR for `master`, and backport fixes to the release branch.
|
||||
- create new release candidate tags after bugs are fixed.
|
||||
- After the team feels the release branch is stable and everything works, create a full release:
|
||||
- update `CHANGELOG.md`.
|
||||
- create a new annotated git tag (eg `git -a v1.1.0`) in the release branch.
|
||||
- Create a GitHub release.
|
||||
* Release a first beta version on the `master` branch and freeze `master` from receiving any new features. After beta is released, we focus on releasing the release candidate:
|
||||
* finish audits and reviews
|
||||
* kick off a large round of simulation testing (e.g. 400 seeds for 2k blocks)
|
||||
* perform functional tests
|
||||
* add more tests
|
||||
* release new beta version as the bugs are discovered and fixed.
|
||||
* After the team feels that the `master` works fine we create a `release/vY` branch (going forward known a release branch), where `Y` is the version number, with the patch part substituted to `x` (eg: 0.42.x, 1.0.x). Ensure the release branch is protected so that pushes against the release branch are permitted only by the release manager or release coordinator.
|
||||
* **PRs targeting this branch can be merged _only_ when exceptional circumstances arise**
|
||||
* update the GitHub mergify integration by adding instructions for automatically backporting commits from `master` to the `release/vY` using the `backport/Y` label.
|
||||
* In the release branch, prepare a new version section in the `CHANGELOG.md`
|
||||
* All links must be link-ified: `$ python ./scripts/linkify_changelog.py CHANGELOG.md`
|
||||
* Copy the entries into a `RELEASE_CHANGELOG.md`, this is needed so the bot knows which entries to add to the release page on GitHub.
|
||||
* Create a new annotated git tag for a release candidate (eg: `git tag -a v1.1.0-rc1`) in the release branch.
|
||||
* from this point we unfreeze master.
|
||||
* the SDK teams collaborate and do their best to run testnets in order to validate the release.
|
||||
* when bugs are found, create a PR for `master`, and backport fixes to the release branch.
|
||||
* create new release candidate tags after bugs are fixed.
|
||||
* After the team feels the release branch is stable and everything works, create a full release:
|
||||
* update `CHANGELOG.md`.
|
||||
* create a new annotated git tag (eg `git -a v1.1.0`) in the release branch.
|
||||
* Create a GitHub release.
|
||||
|
||||
Following _semver_ philosophy, point releases after `v1.0`:
|
||||
|
||||
- must not break API
|
||||
- can break consensus
|
||||
* must not break API
|
||||
* can break consensus
|
||||
|
||||
Before `v1.0`, point release can break both point API and consensus.
|
||||
|
||||
@@ -57,9 +57,9 @@ Point Release must follow the [Stable Release Policy](#stable-release-policy).
|
||||
|
||||
After the release branch has all commits required for the next patch release:
|
||||
|
||||
- update `CHANGELOG.md`.
|
||||
- create a new annotated git tag (eg `git -a v1.1.0`) in the release branch.
|
||||
- Create a GitHub release.
|
||||
* update `CHANGELOG.md`.
|
||||
* create a new annotated git tag (eg `git -a v1.1.0`) in the release branch.
|
||||
* Create a GitHub release.
|
||||
|
||||
## Major Release Maintenance
|
||||
|
||||
@@ -78,7 +78,7 @@ Only the following major release series have a stable release status:
|
||||
### Patch Releases
|
||||
|
||||
Once a Cosmos-SDK release has been completed and published, updates for it are released under certain circumstances
|
||||
and must follow the [Patch Release Procedure](CONTRIBUTING.md#patch-release-procedure)[Point Release Procedure].
|
||||
and must follow the [Patch Release Procedure][CONTRIBUTING.md#patch-release-procedure](Point Release Procedure).
|
||||
|
||||
### Rationale
|
||||
|
||||
@@ -109,11 +109,11 @@ ways in stable releases and `master` branch.
|
||||
|
||||
To smoothen the update to the latest stable release, the SDK includes a set of CLI commands for managing migrations between SDK versions, under the `migrate` subcommand. Only migration scripts between stable releases are included. For the current major release, and later, migrations are supported.
|
||||
|
||||
### What qualifies as a Stable Release Update (SRU)?
|
||||
### What qualifies as a Stable Release Update (SRU)
|
||||
|
||||
* **High-impact bugs**
|
||||
* Bugs that may directly cause a security vulnerability.
|
||||
* *Severe regressions* from a Cosmos-SDK's previous release. This includes all sort of issues
|
||||
* _Severe regressions_ from a Cosmos-SDK's previous release. This includes all sort of issues
|
||||
that may cause the core packages or the `x/` modules unusable.
|
||||
* Bugs that may cause **loss of user's data**.
|
||||
* Other safe cases:
|
||||
@@ -123,7 +123,7 @@ To smoothen the update to the latest stable release, the SDK includes a set of C
|
||||
features to smoothen the migration to successive releases.
|
||||
* Relatively small yet strictly non-breaking CLI improvements.
|
||||
|
||||
### What does not qualify as SRU?
|
||||
### What does not qualify as SRU
|
||||
|
||||
* State machine changes.
|
||||
* Breaking changes in Protobuf definitions, as specified in [ADR-044](./docs/architecture/adr-044-protobuf-updates-guidelines.md).
|
||||
@@ -132,7 +132,7 @@ To smoothen the update to the latest stable release, the SDK includes a set of C
|
||||
* CLI-breaking changes.
|
||||
* Cosmetic fixes, such as formatting or linter warning fixes.
|
||||
|
||||
### What pull requests will be included in stable point-releases?
|
||||
### What pull requests will be included in stable point-releases
|
||||
|
||||
Pull requests that fix bugs and add features that fall in the following categories do not require a **Stable Release Exception** to be granted to be included in a stable point-release:
|
||||
|
||||
@@ -143,32 +143,32 @@ Pull requests that fix bugs and add features that fall in the following categori
|
||||
* Non-breaking features that are strongly requested by the community.
|
||||
* Non-breaking CLI improvements that are strongly requested by the community.
|
||||
|
||||
### What pull requests will NOT be automatically included in stable point-releases?
|
||||
### What pull requests will NOT be automatically included in stable point-releases
|
||||
|
||||
As rule of thumb, the following changes will **NOT** be automatically accepted into stable point-releases:
|
||||
|
||||
* **State machine changes**.
|
||||
* **Protobug-breaking changes**, as specified in [ADR-044](./docs/architecture/adr-044-protobuf-updates- guidelines.md).
|
||||
* **Client-breaking changes**, i.e. changes that prevent gRPC, HTTP and RPC clients to continue interacting with the node without any change.
|
||||
* **API-breaking changes**, i.e. changes that prevent client applications to *build without modifications* to the client application's source code.
|
||||
* **API-breaking changes**, i.e. changes that prevent client applications to _build without modifications_ to the client application's source code.
|
||||
* **CLI-breaking changes**, i.e. changes that require usage changes for CLI users.
|
||||
|
||||
In some circumstances, PRs that don't meet the aforementioned criteria might be raised and asked to be granted a *Stable Release Exception*.
|
||||
In some circumstances, PRs that don't meet the aforementioned criteria might be raised and asked to be granted a _Stable Release Exception_.
|
||||
|
||||
### Stable Release Exception - Procedure
|
||||
|
||||
1. Check that the bug is either fixed or not reproducible in `master`. It is, in general, not appropriate to release bug fixes for stable releases without first testing them in `master`. Please apply the label [v0.43](https://github.com/cosmos/cosmos-sdk/milestone/26) to the issue.
|
||||
2. Add a comment to the issue and ensure it contains the following information (see the bug template below):
|
||||
|
||||
* **[Impact]** An explanation of the bug on users and justification for backporting the fix to the stable release.
|
||||
* A **[Test Case]** section containing detailed instructions on how to reproduce the bug.
|
||||
* A **[Regression Potential]** section with a clear assessment on how regressions are most likely to manifest as a result of the pull request that aims to fix the bug in the target stable release.
|
||||
* **[Impact]** An explanation of the bug on users and justification for backporting the fix to the stable release.
|
||||
* A **[Test Case]** section containing detailed instructions on how to reproduce the bug.
|
||||
* A **[Regression Potential]** section with a clear assessment on how regressions are most likely to manifest as a result of the pull request that aims to fix the bug in the target stable release.
|
||||
|
||||
3. **Stable Release Managers** will review and discuss the PR. Once *consensus* surrounding the rationale has been reached and the technical review has successfully concluded, the pull request will be merged in the respective point-release target branch (e.g. `release/v0.43.x`) and the PR included in the point-release's respective milestone (e.g. `v0.43.5`).
|
||||
3. **Stable Release Managers** will review and discuss the PR. Once _consensus_ surrounding the rationale has been reached and the technical review has successfully concluded, the pull request will be merged in the respective point-release target branch (e.g. `release/v0.43.x`) and the PR included in the point-release's respective milestone (e.g. `v0.43.5`).
|
||||
|
||||
#### Stable Release Exception - Bug template
|
||||
|
||||
```
|
||||
```md
|
||||
#### Impact
|
||||
|
||||
Brief xplanation of the effects of the bug on users and a justification for backporting the fix to the stable release.
|
||||
|
||||
Reference in New Issue
Block a user