OperationService: UserSquash as a first mutating method experiment.
It makes an excellent testbed for a first RPC creating commits: no need for a working directory, no endless list of options (see UserCommitFiles
), allowing us to test the general harness, namely
- calling the internal API
- mirroring to an auxiliary Git repository or not, according to headers (to be consistent with Workhorse, and environment variables that would be HTTP headers in subprocess spawns)
Of course most of this will be actually provided by heptapod/py-heptapod> in its transaction hooks, but the transaction itself will be created by HGitaly.