Skip to content

feat: add script to generate release changelog JSON from thunderbird-notes#11239

Merged
wmontwe merged 3 commits into
thunderbird:mainfrom
shamim-emon:fix-issue-11234
Jul 21, 2026
Merged

feat: add script to generate release changelog JSON from thunderbird-notes#11239
wmontwe merged 3 commits into
thunderbird:mainfrom
shamim-emon:fix-issue-11234

Conversation

@shamim-emon

@shamim-emon shamim-emon commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR adds a Python script to automatically generate structured JSON release changelog files from the thunderbird-notes repository. It enables JSON-based release notes for the app (K-9 Mail / Thunderbird) and fixes #11234.

Key Changes

  • Added scripts/changelog/generate_changelog_json.py that:
    • Loads release notes from thunderbird/thunderbird-notes.

    • Extracts and categorizes notes (new, changed, fixed) while respecting app-specific filters (thunderbird_only / k9mail_only).

    • Generates validated changelog_release_.json files.

    • Maintains and updates changelog_index.json.

    • Uses JSON Schema validation (jsonschema).

    • Updated scripts/changelog/migrate_changelog_to_json.py to output files directly into the flat res/raw/ directory (Android requirement; no subdirectories allowed).

@github-actions

github-actions Bot commented Jul 6, 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 Jul 6, 2026
@shamim-emon
shamim-emon requested a review from wmontwe July 6, 2026 19:06
@shamim-emon shamim-emon assigned wmontwe and unassigned jbott-tbird Jul 6, 2026
@shamim-emon
shamim-emon removed the request for review from jbott-tbird July 6, 2026 19:06
Comment thread scripts/changelog/generate_changelog_json.py
Comment thread scripts/changelog/generate_changelog_json.py Outdated
Comment thread scripts/changelog/generate_changelog_json.py

@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.

LGTM

@shamim-emon
shamim-emon requested a review from wmontwe July 21, 2026 13:59
@wmontwe
wmontwe merged commit b3e9f68 into thunderbird:main Jul 21, 2026
18 checks passed
@thunderbird-botmobile thunderbird-botmobile Bot added this to the Thunderbird 23 milestone Jul 21, 2026
@shamim-emon
shamim-emon deleted the fix-issue-11234 branch July 21, 2026 15:07
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 JSON-Based Release Notes Generation

3 participants