feat(git): commit identity from the target repo's local config and a pre-push identity guard (#425 item 1) #448
No reviewers
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea!448
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-425-commit-identity-from-target-repo"
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?
Summary
#425 item 1:
madt_commitand the commit step ofmadt_finishtake the author and committer from the TARGET repo's local git config (never the process-global identity), resolved per-checkout includingdir=targets (ADR 0025/0027). A new pre-push/pre-finish guard reads each commit OBJECT on the branch and refuses, naming the sha, when an author or committer email does not match the repo's local identity - a config check is not enough, because the config can be right while the object is wrong. On a first push with no remote base it checks every commit reachable from the pushed branch. Items 2 and 3 (signing verification, the unsigned merge commit in finish) stay blocked on #424, so this references #425 rather than closing it.Refs #425
16afb0f0a148b08b7151