2013-01-16 18:35:47 +01:00
|
|
|
<?php
|
|
|
|
|
2013-07-26 23:33:31 +02:00
|
|
|
/**
|
|
|
|
* @group repository
|
|
|
|
*/
|
2013-01-16 18:35:47 +01: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-26 02:46:08 +02:00
|
|
|
$this->newOption('repository.default-local-path', 'string', '/var/repo/')
|
2013-01-16 18:35:47 +01:00
|
|
|
->setSummary(
|
|
|
|
pht("Default location to store local copies of repositories."))
|
|
|
|
->setDescription(
|
|
|
|
pht(
|
2013-10-30 21:07:09 +01: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 18:35:47 +01:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|