Differential D21788 Diff 51944 src/applications/repository/config/PhabricatorRepositoryConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/config/PhabricatorRepositoryConfigOptions.php
Show All 22 Lines | public function getOptions() { | ||||
return array( | return array( | ||||
$this->newOption('repository.default-local-path', 'string', '/var/repo/') | $this->newOption('repository.default-local-path', 'string', '/var/repo/') | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setSummary( | ->setSummary( | ||||
pht('Default location to store local copies of repositories.')) | pht('Default location to store local copies of repositories.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'The default location in which to store working copies and other '. | 'The default location in which to store working copies and other '. | ||||
'data about repositories. Phabricator will control and manage '. | 'data about repositories. %s will control and manage '. | ||||
'data here, so you should **not** choose an existing directory '. | 'data here, so you should **not** choose an existing directory '. | ||||
'full of data you care about.')), | 'full of data you care about.', | ||||
PlatformSymbols::getPlatformServerName())), | |||||
); | ); | ||||
} | } | ||||
} | } |