Programming Model: JGit + Jetty vs Express + child-process git
Context: finos/git-proxy is a FINOS project that acts as a policy-enforcing proxy for git pushes. The current implementation is Node.js/Express. fogwall is a Java/Jetty implementation that uses JGit's native git protocol stack.
This document compares the programming models — how each codebase structures request handling, validation, streaming, and extensibility.
finos/git-proxy proves you can block or allow a push with a single buffered response as part of a stateful, transparent proxy with a processing & enrichment layer from git wire data for the purposes of enforcing a company's policy around source code movement between trusted and untrusted zones (primarily - or rather originally - intended to enable organizations with stringent security policies to contribute code to public open source projects). That abili