Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: set up procedure for preparing release notes #4247

Merged
merged 2 commits into from
May 23, 2024

Conversation

kmill
Copy link
Collaborator

@kmill kmill commented May 22, 2024

We are switching to a new system for preparing release notes.

  • Release notes will be compiled when creating a release candidate from all the commits that are part of that release.
  • PRs can include suggestions for release notes in PR messages. Please use language such as "release notes" and "breaking changes" to call attention to the suggestions. Release notes are user-centric rather than developer-centric.
  • For more complicated release notes, these can be put into the releases_drafts folder.

This solves an issue where PRs that include release notes can, when merged, have those notes appear under the wrong Lean version, since they might have been created before a release but not merged until after. It also solves merge conflicts due to multiple PRs updating the release notes.

We are switching to a new system for preparing release notes.
* Release notes will be compiled when creating a release candidate from all the commits that are part of that release.
* PRs can include suggestions for release notes in PR messages. Please use language such as "release notes" and "breaking changes" to call attention to the suggestions. Release notes are user-centric rather than developer-centric.
* For more complicated release notes, these can be put into the `releases_drafts` folder.

This solves an issue where PRs that include release notes can, when merged, have those notes appear under the wrong Lean version, since they might have been created before a release but not merged until after. It also solves merge conflicts due to multiple PRs updating the release notes.
@kmill kmill requested a review from semorrison as a code owner May 22, 2024 01:10
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 22, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented May 22, 2024

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 8ca00918fb3a21c4b14a5b66abce4a716604938c --onto 3de60bb1f63efe9bb56380f911f86980b9f3332c. (2024-05-22 01:28:58)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 2bc41d8f3aced0afb6e8d98dbd81d7d7a325da50 --onto ff37e5d512efcd3981290270a2fc3ecb100bbd0c. (2024-05-23 01:58:00)

@digama0
Copy link
Collaborator

digama0 commented May 22, 2024

Where have the release notes for 4.8.0-rc2 gone? They aren't in the releasees_drafts/4.8.0.md file as advertised.

I think it is important to have release notes also for release candidates, as this is the first place to look for breaking changes when updating mathlib or a project depending on it.

@kmill
Copy link
Collaborator Author

kmill commented May 22, 2024

@digama0 They're in the release branch in RELEASES.md (that's the master copy for 4.8.0). I deleted them here because something went wrong with how they were merged into master, and I was going to copy them back in a future step.

@semorrison
Copy link
Collaborator

Oops, conflict to resolve.

@kmill
Copy link
Collaborator Author

kmill commented May 23, 2024

@semorrison I guess case-in-point for contention and weird merges! #3940 ended up somehow adding another v4.8.0 heading on master 🙃

@semorrison semorrison added this pull request to the merge queue May 23, 2024
Merged via the queue into leanprover:master with commit d984030 May 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants