Skip to content

Add Real-World Project: Changelog Generator from Git History - #277

Open
abderrahim-lectures wants to merge 1 commit into
mainfrom
add-changelog-from-git
Open

Add Real-World Project: Changelog Generator from Git History#277
abderrahim-lectures wants to merge 1 commit into
mainfrom
add-changelog-from-git

Conversation

@abderrahim-lectures

Copy link
Copy Markdown
Owner

Adds a new Real-World Projects lesson: Build a Changelog Generator from Git History (backlog idea #19).

What's included

  • docs/projects/changelog-from-git/index.md — full lesson in the house skeleton. Core idea: the 'documents' are commit messages fetched by git log, each already atomic (no chunking), and the real challenge is judgment under noisy input — grouping, de-duplicating, and phrasing without inventing. The prompt demands categorized sections plus a commit-hash citation per entry, and a dedicated verification step checks the changelog against the real log.
  • docs/projects/changelog-from-git/_category_.json
  • examples/changelog-from-git/ — runnable tool: fetch_commits.py (NUL-separated git log --format), generate.py (6-provider LLM support), make_sample_repo.py (builds a 14-commit sample repo with realistic noise: wip/tweak/merge, gitignored and recreated), notebook.ipynb, README, pyproject/uv.lock.
  • Registration: src/data/projects.ts, docs/projects/index.mdx, src/pages/index.tsx (English only — i18n in a follow-up PR).

Verification

  • make_sample_repo.py tested: creates 14 messy commits; fetch_commits.py parses them cleanly (hash/date/author/subject per record).
  • npm run typecheck and npm run build pass (all 4 locales, no broken links).

Closes #276

New Real-World Project (backlog idea #19). Full lesson plus a runnable
tool that fetches commit history with git log and synthesizes a clean,
categorized changelog with a free-tier LLM, citing a commit hash for
every entry so nothing can be invented.

Closes #276

Co-authored-by: deepseek-v4-flash-free <noreply@opencode.ai>
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.

Add Real-World Project: RAG-Powered Changelog Generator from Git History

1 participant