-
Notifications
You must be signed in to change notification settings - Fork 34
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
Allow issues to appear in multiple sections #38
Conversation
Thanks, @eleftherias. I wonder if we can come up with a name for the flag that's more informative than With one eye on #36, I wonder if we should introduce a new releasenotes:
github:
username: testuser
password: testpass
organization: testorg
repository: testrepo
sections:
- title: "New Features"
emoji: ":star:"
labels: ["enhancement"]
…
issues:
allow-in-multiple-sections: true |
Thanks @wilkinsona. I have updated the commit to use the flag |
Thanks, @eleftherias. #39 prompted me to think about this a bit more. Just out of curiosity, how do you intend to title issues that will appear in multiple sections? It seems quite hard to me to come up with a title that suits multiple categories. |
@wilkinsona The use case for Spring Security is to have a section that calls out any non-passive changes. |
@wilkinsona Expanding on my previous comment, what we've done in the past is to keep the original bug report title, for example "SwitchUserFilter vulnerable to CSRF". I can see the argument for having a title that describes what the non-passive behaviour is, for example "SwitchUserFilter will no longer match any request, but instead will only match POST". However, I favour using a title that describes why the change was made, rather than what the change is. This is just an opinion based on our use case. I'm not sure how well it would apply to the suggested sections mentioned in #39, such as "Removal". |
Add a flag to allow issues to appear in multiple sections. See gh-38
Replace the `Issues` property with the concept of a "section group". See gh-38
Thanks for the PR! I've tweaked things a bit in 6fe2e6e by introducing the concept of a section group. The idea is that you can now create groups that define how issues are duplicated and distributed across sections. For the Spring Security use-case you can define the "Non-passive" section like this and I think it'll do what you want: changelog:
sections:
- title: ":rewind: Non-passive"
group: "nonpassive"
labels: ["non-passive"]
- title: ":star: New Features"
labels: ["new"]
- title: ":beetle: Bug Fixes"
labels: ["bug"] |
The flag is
releasenotes.issues.allow-in-multiple-sections
.