Differential D18912 Diff 45373 src/applications/diffusion/ssh/DiffusionGitReceivePackSSHWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/ssh/DiffusionGitReceivePackSSHWorkflow.php
| Show All 9 Lines | $this->setArguments( | ||||
| 'name' => 'dir', | 'name' => 'dir', | ||||
| 'wildcard' => true, | 'wildcard' => true, | ||||
| ), | ), | ||||
| )); | )); | ||||
| } | } | ||||
| protected function executeRepositoryOperations() { | protected function executeRepositoryOperations() { | ||||
| $repository = $this->getRepository(); | $repository = $this->getRepository(); | ||||
| $viewer = $this->getUser(); | $viewer = $this->getSSHUser(); | ||||
| $device = AlmanacKeys::getLiveDevice(); | $device = AlmanacKeys::getLiveDevice(); | ||||
| // This is a write, and must have write access. | // This is a write, and must have write access. | ||||
| $this->requireWriteAccess(); | $this->requireWriteAccess(); | ||||
| $cluster_engine = id(new DiffusionRepositoryClusterEngine()) | $cluster_engine = id(new DiffusionRepositoryClusterEngine()) | ||||
| ->setViewer($viewer) | ->setViewer($viewer) | ||||
| ->setRepository($repository) | ->setRepository($repository) | ||||
| ▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines | |||||