Skip to content

ci_scripts: parse deprecated.txt comments dynamically - #300

Merged
justeph merged 1 commit into
mainfrom
fix-deprecated-txt-comment-parsing
Aug 21, 2026
Merged

ci_scripts: parse deprecated.txt comments dynamically#300
justeph merged 1 commit into
mainfrom
fix-deprecated-txt-comment-parsing

Conversation

@justeph

@justeph justeph commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Three lines of the deprecated.txt header comment were missing their leading '#', so they parsed as package names. Fix the header, and make create_deprecation_pr() split the file at the first non-comment, non-empty line rather than a hardcoded lines[:7], so the comment block can grow or shrink without breaking the parser.

Three lines of the deprecated.txt header comment were missing their
leading '#', so they parsed as package names. Fix the header, and make
create_deprecation_pr() split the file at the first non-comment,
non-empty line rather than a hardcoded lines[:7], so the comment block
can grow or shrink without breaking the parser.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
@justeph
justeph requested a review from threexc August 21, 2026 08:46
@justeph

justeph commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator Author

@justeph
justeph merged commit 1ac8115 into main Aug 21, 2026
3 checks passed
@justeph
justeph deleted the fix-deprecated-txt-comment-parsing branch August 21, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants