1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 20:10:55 +01:00
phorge-phorge/src/applications/conduit/method
June Rhodes 7150aa8e19 Use Conduit in PhabricatorRepositoryGitCommitChangeParserWorker
Summary:
Ref T2783.  This allows this worker to run on a machine different to the one that stores the repository, by routing the execution of Git over Conduit calls.

This API method is super gross, but fixing it isn't straightforward and it runs into other complicated considerations. We can fix it later; for now, just define it as "internal" to limit how much mess this creates.

"Internal" methods do not appear on the console.

Test Plan: Ran `bin/repository reparse --change <commit> --trace` on several commits, saw daemons make a Conduit call instead of running a `git` command.

Reviewers: hach-que, chad

Reviewed By: chad

Subscribers: joshuaspence, Korvin, epriestley

Maniphest Tasks: T2783

Differential Revision: https://secure.phabricator.com/D11874
2016-04-14 04:53:03 -07:00
..
__tests__ Add a bunch of tests for subclass implementations 2015-06-15 18:13:27 +10:00
ConduitAPIMethod.php Use Conduit in PhabricatorRepositoryGitCommitChangeParserWorker 2016-04-14 04:53:03 -07:00
ConduitConnectConduitAPIMethod.php Remove all references to the Conduit ConnectionLog 2015-12-14 15:25:11 -08:00
ConduitGetCapabilitiesConduitAPIMethod.php Begin cleaning up OAuth scope handling 2016-04-04 09:11:51 -07:00
ConduitGetCertificateConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
ConduitPingConduitAPIMethod.php phtize all the things 2015-05-22 21:16:39 +10:00
ConduitQueryConduitAPIMethod.php Begin cleaning up OAuth scope handling 2016-04-04 09:11:51 -07:00