Skip to content

feat: add Script to Convert Historical Changelog Data from XML to JSON - #11187

Merged
wmontwe merged 3 commits into
thunderbird:mainfrom
shamim-emon:fix-issue-11186
Jun 29, 2026
Merged

wmontwe merged 3 commits into
thunderbird:mainfrom
shamim-emon:fix-issue-11186

Conversation

@shamim-emon

Copy link
Copy Markdown
Collaborator

@github-actions

github-actions Bot commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

✅ Validation Passed: All report and feature-flag labels are correctly set.

@shamim-emon shamim-emon added the report: include Include changes in user-facing reports. label Jun 24, 2026
@shamim-emon
shamim-emon requested a review from wmontwe June 24, 2026 13:15
@wmontwe
wmontwe removed the request for review from jbott-tbird June 25, 2026 09:15

@wmontwe wmontwe left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I've run this and found some corner cases, K-9 has a special case, where 5.200 has two release candidates 5.200-RC1 and 5.200-RC2. I think they could be joined into one release to avoid having to change the schema. Having this as logic is not worth the effort. So this could be done by hand. Just add a warning in the script when processing RC versions.

I think having the json schema would allow us to validate the output of this migration script. If you like doing it, otherwise I'm happy to help.

Comment thread scripts/changelog/migrate_changelog_to_json.py
Comment thread scripts/changelog/migrate_changelog_to_json.py
@shamim-emon
shamim-emon marked this pull request as draft June 26, 2026 16:49
@shamim-emon
shamim-emon marked this pull request as ready for review June 26, 2026 19:23
@shamim-emon
shamim-emon requested a review from wmontwe June 26, 2026 19:35

@wmontwe wmontwe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@wmontwe
wmontwe merged commit 8e38c22 into thunderbird:main Jun 29, 2026
18 checks passed
@thunderbird-botmobile thunderbird-botmobile Bot added this to the Thunderbird 22 milestone Jun 29, 2026
@shamim-emon
shamim-emon deleted the fix-issue-11186 branch June 29, 2026 19:27

This branch was previously deployed

2 inactive (1 outdated) deployments
botmobile — 684dd8a2 Deployed Jun 29, 2026 by wmontwe via pr-merged #331
review — e73c2177 Deployed Jun 24, 2026 by shamim-emon via label-tb-team #327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

report: include Include changes in user-facing reports.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add XML-to-JSON Conversion Script for Historical Changelog Data

3 participants