Require explicit opt-in for HTTPS Git fetch #227

Merged
didericis merged 1 commits from issue-226-explicit-git-fetch-policy into main 2026-06-10 03:05:36 -04:00
Collaborator

Summary

  • add egress.routes[].git.fetch as an explicit read-only HTTPS Git opt-in
  • block smart HTTP Git clone/fetch (git-upload-pack) by default while keeping HTTPS push blocked
  • document the new route policy and cover manifest parsing, route rendering, and sidecar decision logic in unit tests

Fixes #226

Tests

  • python3 -m unittest tests.unit.test_manifest_egress tests.unit.test_egress tests.unit.test_egress_addon_core
  • python3 -m unittest discover tests/unit
## Summary - add `egress.routes[].git.fetch` as an explicit read-only HTTPS Git opt-in - block smart HTTP Git clone/fetch (`git-upload-pack`) by default while keeping HTTPS push blocked - document the new route policy and cover manifest parsing, route rendering, and sidecar decision logic in unit tests Fixes #226 ## Tests - `python3 -m unittest tests.unit.test_manifest_egress tests.unit.test_egress tests.unit.test_egress_addon_core` - `python3 -m unittest discover tests/unit`
didericis-codex added 1 commit 2026-06-10 03:00:26 -04:00
egress: require opt-in for HTTPS git fetch
test / unit (pull_request) Successful in 42s
test / integration (pull_request) Successful in 27s
lint / lint (push) Successful in 1m53s
test / unit (push) Successful in 41s
test / integration (push) Successful in 23s
Update Quality Badges / update-badges (push) Successful in 1m35s
3f04567290
didericis approved these changes 2026-06-10 03:05:27 -04:00
didericis merged commit 3f04567290 into main 2026-06-10 03:05:36 -04:00
didericis deleted branch issue-226-explicit-git-fetch-policy 2026-06-10 03:05:36 -04:00
Sign in to join this conversation.