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

Introduce release.yml to improve GitHub release notes generation #213

Merged
merged 3 commits into from
Aug 24, 2022

Conversation

rickie
Copy link
Member

@rickie rickie commented Aug 24, 2022

See an overview of the labels here.
The official documentation for automated release notes on GitHub can be found here.

To verify the changes, I updated the base branch and created a tag v0.2.1 and compared it with v0.1.0.

This was the output ⏬

What's Changed

✨ New features and improvements

📖 Documentation, Tests and Build

⚠️ Dependency Upgrades

New Contributors

Full Changelog: v0.1.0...v0.2.1

Open questions:

  • Do we want a single enhancement label or two labels saying new feature and improvement (and perhaps add more)?
  • If we use refaster template and error prone check do we need new feature and improvement after all? (I think it'd be nice to keep them).
  • Do we want the ignore-changelog label?

Let me know what you think!

Copy link
Contributor

@ferdinand-swoboda ferdinand-swoboda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given this is about Error Prone WDYT about a dedicated section "New bug checkers and templates" like EP does?

Will we also create a CHANGELOG.md?

labels:
- documentation
- chores
- title: ":warning: Dependency Upgrades"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why :warning: for dependency upgrades? I would expect that emoji for the first section on update considerations.

(I would use :broom: or :chart_upwards: here instead then)

@rickie
Copy link
Member Author

rickie commented Aug 24, 2022

Thanks for the review @ferdinand-swoboda ! 🚀

Given this is about Error Prone WDYT about a dedicated section "New bug checkers and templates" like EP does?

Good idea, perhaps we should have two variants, New Error Prone checks and New Refaster templates?

Why ⚠️ for dependency upgrades?

I used this because we do the same for PSM. Will update to :chart_upwards: 😄.

I would expect that emoji for the first section on update considerations.

Yeah I thought about this, but wasn't too sure yet. I can see why this makes sense :).

Will we also create a CHANGELOG.md?

Not sure for now TBH. It's out of scope for this PR, perhaps we'll add this later.

Copy link

@ibabiankou ibabiankou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example looks awesome 🚀

Do we want a single enhancement label or two labels saying new feature and improvement (and perhaps add more)?
If we use refaster template and error prone check do we need new feature and improvement after all? (I think it'd be nice to keep them).

Had interesting chat offline on the topic of splitting refaster templates and error prone checks! I don't see why users would be interested in one or the other. They are technically different but have the same goal and as a user I don't really care how exactly the tool fixes my code as long as it fixes it 🤔

I think we should definitely keep Improvements section, as there will be changes to the existing features.

Do we want the ignore-changelog label?

Generally sounds useful, especially as the release notes grow bigger.

Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick skim :)

categories:
- title: ":rocket: New Error Prone checks"
labels:
- "error prone check"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this indicate the "new" aspect? Otherwise one could also apply the label to improvement PRs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed this with @ibabiankou offline, will propose something new. We think we should make a split between Error Prone checks and Refaster templates.

- "error prone check"
- title: ":sunny: New Refaster templates"
labels:
- "refaster template"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question 🙃

- title: ":sparkles: New features and improvements"
labels:
- "new feature"
- improvement
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we quote all strings for consistency.

- deprecation
- title: ":bug: Bug fixes"
labels:
- bug
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would suit issues, but not PRs. Maybe add "bug fix" 🤔

- title: ":bug: Bug fixes"
labels:
- bug
- title: ":books: Documentation, tests and build"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- title: ":books: Documentation, tests and build"
- title: ":books: Documentation, test and build improvements"

- title: ":books: Documentation, tests and build"
labels:
- documentation
- chores
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- chores
- chore

?

@rickie rickie marked this pull request as ready for review August 24, 2022 11:36
@rickie
Copy link
Member Author

rickie commented Aug 24, 2022

Updated the labels and applied suggestions!

Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Suggested commit message:

Introduce `release.yml` to improve GitHub release notes generation (#213)

@rickie
Copy link
Member Author

rickie commented Aug 24, 2022

Made a tiny tweak, will re-generate the release notes from v0.2.0.

@rickie rickie changed the title Introduce release.yml to improve release notes generation Introduce release.yml to improve GitHub release notes generation Aug 24, 2022
@rickie rickie merged commit a1f2418 into master Aug 24, 2022
@rickie rickie deleted the rossendrijver/release_notes branch August 24, 2022 14:31
@rickie rickie restored the rossendrijver/release_notes branch August 24, 2022 14:36
@Stephan202 Stephan202 deleted the rossendrijver/release_notes branch August 24, 2022 15:13
@Stephan202 Stephan202 added this to the 0.2.1 milestone Aug 24, 2022
@rickie rickie added the chore A task not related to code (build, formatting, process, ...) label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A task not related to code (build, formatting, process, ...)
Development

Successfully merging this pull request may close these issues.

4 participants