#0011 Commit History Extraction #128
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/hottea!128
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/0011-commit-history-extraction"
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?
Implements commit history extraction module.
Changes:
src/hottea/commit.py—CommitInfodataclass +walk_commits()functiontests/test_commit.py— 10 tests covering empty repo, single commit, metadata, author date, filtering, error handlingDetails:
git log --allauthored_date(notcommitted_date) for timestampsCloses: #0011, #0006, #0007, #0008, #0009, #0010
Audit Review — PR #128
Clean implementation of commit history extraction. All 6 issues (#0006-#0011) addressed. Good use of
authored_date, proper repo cleanup withtry/finally, and solid test coverage (10 tests).Suggestions
src/hottea/commit.py:63—_all_commitscatchesValueErrorwhich is very broad. If needed for empty repo edge cases, add comment explaining. Otherwise narrow to specific exceptions. Filed as #129.tests/test_commit.py:95-97—time.sleep(1.1)between commits adds 2.2s+ to test execution. UseGIT_AUTHOR_DATEenv var instead (pattern already exists in this file). Filed as #130.Summary
Result: COMMENT — 2 non-blocking suggestions filed as issues.
APPROVED. Clean commit extraction module with thorough tests. Non-blocking suggestions in #129, #130 — address at your leisure.