Skip to content

fix(release): extract release-specific contributors for VitePress changelogs - #93

Merged
kentemman merged 7 commits into
mainfrom
fix/release-contributors-attribution
Jul 30, 2026
Merged

fix(release): extract release-specific contributors for VitePress changelogs#93
kentemman merged 7 commits into
mainfrom
fix/release-contributors-attribution

Conversation

@kentemman-gmd

@kentemman-gmd kentemman-gmd commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  1. Fixes Contributor List Mismatch: Ensures the <Contributors> component in VitePress documentation and releases.json list only the authors who contributed to that specific release (instead of falling back to global repository git log -30 history).
  2. Preserves PR & Issue Numbers: Extracts and attaches PR/issue links and numbers (e.g. ([#91](https://github.com/GMD-Repository/gemma-plugin/pull/91)) or (#433)) alongside author @mentions at the end of changelog items.

Key Changes

  • PR & Issue Link Preservation: Updated _clean_line() in scripts/release/collect_changes.py to extract and format PR/issue links (e.g. (@author) (#433) or ([@author](...)) ([#91](...))).
  • AI System Prompt Updated: Updated scripts/ai/prompts/release_notes.md rules and examples to instruct AI to preserve PR/issue links alongside author attributions.
  • Release-Specific Contributor Extraction: Added extract_contributors_from_changes() in scripts/utils/changelog.py to parse author @mentions directly from release changelog items.
  • Pipeline Update: Updated scripts/release/update_docs.py to prioritize release-specific contributors over global repository history logs (git log -30).
  • Git Author Mapping: Mapped git commit author names to GitHub handles and filtered bot accounts in scripts/utils/github.py.
  • Docs & Metadata Fix: Corrected contributor lists for releases 1.0.15 and 1.0.14 in docs/user-guide/changelog.md and docs/user-guide/public/releases.json.

@kentemman-gmd kentemman-gmd self-assigned this Jul 29, 2026
@kentemman-gmd kentemman-gmd added the enhancement New feature or request label Jul 29, 2026
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gemma-plugin Ready Ready Preview, Comment Jul 29, 2026 4:30am

@kentemman
kentemman merged commit 628cc9d into main Jul 30, 2026
2 checks passed
@kentemman-gmd
kentemman-gmd deleted the fix/release-contributors-attribution branch August 3, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants