Ratchet git_gate coverage to >=90% (ADR 0004) #298
Reference in New Issue
Block a user
Delete Branch "ratchet-git-gate-90"
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?
Stacked on #297 (base =
ratchet-egress-core-90). Fourth per-module ratchet under ADR 0004.Summary
Covers two previously-untested halves of
git_gate.py:git_gate_render_gitconfig(pure renderer) — empty entries,insteadOfURL, scheme override,RemoteKeyssh-alias with and without a non-default port, and newline-injection rejection via_gitconfig_validate_value._provision_dynamic_keywrites the key + key-id files, strips.gitfrom owner/repo, builds the proposal title, and raises on a missing token;revoke_git_gate_provisioned_keysrevokes when the id-file is present and skips static-provider entries / missing id-files / raises on missing token.Coverage
git_gate.py13 new tests; full suite (1442) passes; pyright clean; pylint 10.00.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.