Skip to content

changelog: move entry advise into template#4111

Open
dsmiley wants to merge 4 commits intoapache:mainfrom
dsmiley:changelog-improve-advise
Open

changelog: move entry advise into template#4111
dsmiley wants to merge 4 commits intoapache:mainfrom
dsmiley:changelog-improve-advise

Conversation

@dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Feb 6, 2026

Move entry advise from the adoc into the entry template. Improve / clarify the advise.
Drop security type, which is orthogonal.

Move entry advise from the adoc into the entry template.
Improve / clarify the advise.
Drop `security` type, which is orthogonal.
@dsmiley dsmiley requested a review from janhoy February 6, 2026 19:22
@github-actions github-actions bot added documentation Improvements or additions to documentation tool:build labels Feb 6, 2026
@janhoy
Copy link
Contributor

janhoy commented Feb 7, 2026

Come to think of, on main branch we have a script https://github.com/apache/solr/blob/main/.github/scripts/validate-changelog-yaml.py used by GitHub to validate changelog.

This script should now probably also validate that the wall of comments are actually removed.
Also, the e could instruct LLM in AGENTS.md to use the script for validation after adding a changelog.

@dsmiley
Copy link
Contributor Author

dsmiley commented Feb 19, 2026

I'd like to merge this Friday, if not sooner with an approving review.

Copy link
Contributor

@janhoy janhoy left a comment

Choose a reason for hiding this comment

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

Added a validation step. Rest looks good to me

# Validate that comments are removed
for not_allowed in not_allowed_text:
if not_allowed in raw_content:
print(f"::error file={file_path}::File still contains commented template text. Please remove the comment block at the top of the file.")
Copy link
Contributor

Choose a reason for hiding this comment

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

I added this check to the changelog checker so we get warning in PR if comments are not removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation no-changelog tool:build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments