public function process() { $repository = $this->getRepositoryFromParameters(); if (!$repository) { $this->warning('Unable to find repository, perhaps it was deleted in the mean time?'); return false; } $this->manifest_manager->triggerUpdate($repository); $this->done(); }
public function itUpdatesTheCurrentTimeAfterAGitPush() { stub($this->data_mapper)->fetchAllRepositoryMirrors()->returns(array($this->singapour_mirror)); expect($this->generator)->updateCurrentTimeOfRepository($this->singapour_mirror, $this->repository)->once(); $this->manager->triggerUpdateFollowingAGitPush($this->repository); }
public function process() { $this->manifest_manager->triggerDelete($this->getRepositoryPathFromParameters()); $this->done(); }
public function process() { $this->manifest_manager->checkManifestFiles(); $this->done(); }