-
Notifications
You must be signed in to change notification settings - Fork 808
changelog: move entry advise into template #4111
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,15 +50,39 @@ task writeChangelog { | |
| def fileName = "changelog/unreleased/${sanitizedBranchName}.yml" | ||
| def file = new File(fileName) | ||
| file.parentFile.mkdirs() | ||
| file.text = """# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc | ||
| file.text = """# (DELETE ALL COMMENTS UP HERE AFTER FILLING THIS IN | ||
|
|
||
| # See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc | ||
|
|
||
| # If the change is minor (typos, small improvements), don't bother adding an entry. | ||
|
|
||
| # title: | ||
| # * The audience is end-users and administrators, not committers. | ||
| # * Be short and focused on the user impact, nevertheless multiple sentences is fine! | ||
| # * For technical/geeky details, prefer the commit message instead of changelog | ||
|
|
||
| # type: | ||
| # `added` for new features/improvements, opt-in by the user typically documented in the ref guide | ||
| # `changed` for improvements; not opt-in | ||
| # `fixed` for improvements that are deemed to have fixed buggy behavior | ||
| # `deprecated` for marking things deprecated | ||
| # `removed` for code removed | ||
| # `dependency_update` for updates to dependencies | ||
| # `other` for anything else, like large/significant refactorings, build changes, | ||
| # test infrastructure, or documentation. | ||
| # Most such changes are too small/minor to bother with a changelog entry. | ||
|
|
||
| # Reference issues as `SOLR-12345` or GitHub `PR#123`. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this line belong under «title» instead?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know; you wrote it. I thought you meant this in relation to the linking section. But... I suppose not |
||
|
|
||
| title: ${title} | ||
| type: other # added, changed, fixed, deprecated, removed, dependency_update, security, other | ||
| type: | ||
| authors: | ||
| - name: ${configuredName}${nick}${asfIdUrl} | ||
| ${jiraLinks} | ||
| """ | ||
|
|
||
| println "Generated file: ${fileName} -- open it" | ||
| println "Read dev-docs/changelog.adoc if you don't contribute here often." | ||
| } | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed "security" as I think this is an orthogonal matter.