Replace git-cliff with Release-Notes.md changelog generation #22
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/longwei#22
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Longwei's
just releaserecipe currently uses git-cliff to generate changelog entries from commit messages. This issue tracks replacing that with a simpler approach based on the bullet points already written inRelease-Notes.md, following the same change made in zaojun.Scope:
releaserecipe injustfileto extract bullet points fromRelease-Notes.md's intro post usingawk, and append a flat ungrouped list of commits since the last tag (each linked to the commit on Codeberg)git-cliff~=2.12from[dependency-groups] devinpyproject.toml[[tool.zaojun.license-ignore]]entry forgit-cliffcliff.tomluv.lockandpylock.tomlFindings:
Current
justfilerelease recipe callsuv run git-cliff --tag "$NEXT" --unreleased --prepend CHANGELOG.md.zaojun replacement approach:
Dependencies to remove:
"git-cliff~=2.12"from[dependency-groups] dev[[tool.zaojun.license-ignore]]entry forgit-cliffcliff.tomlfileuv.lockandpylock.tomlmust be regenerated after removing the dep (pre-commituv-exporthook is present).Plan:
releaserecipe injustfileusing the awk-based approach.git-clifffrompyproject.tomldev deps and remove its license-ignore entry.uv syncto update lockfiles; runuv export --format pylock.toml -o pylock.toml --quiet.cliff.toml.