2013-01-16 09:35:47 -08:00
|
|
|
<?php
|
|
|
|
|
2013-07-26 14:33:31 -07:00
|
|
|
/**
|
|
|
|
* @group repository
|
|
|
|
*/
|
2013-01-16 09:35:47 -08:00
|
|
|
final class PhabricatorRepositoryConfigOptions
|
|
|
|
extends PhabricatorApplicationConfigOptions {
|
|
|
|
|
|
|
|
public function getName() {
|
|
|
|
return pht('Repositories');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getDescription() {
|
|
|
|
return pht('Configure repositories.');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getOptions() {
|
|
|
|
return array(
|
2013-10-25 17:46:08 -07:00
|
|
|
$this->newOption('repository.default-local-path', 'string', '/var/repo/')
|
2013-01-16 09:35:47 -08:00
|
|
|
->setSummary(
|
|
|
|
pht("Default location to store local copies of repositories."))
|
|
|
|
->setDescription(
|
|
|
|
pht(
|
2013-10-30 13:07:09 -07:00
|
|
|
"The default location in which to store working copies and other ".
|
|
|
|
"data about repositories. Phabricator will control and manage ".
|
|
|
|
"data here, so you should **not** choose an existing directory ".
|
|
|
|
"full of data you care about.")),
|
2013-01-16 09:35:47 -08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|