mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 15:00:58 +01:00
f08908ff35
Summary: I'm planning to add more detailed info to Diffusion itself, but catch the big issue here. Test Plan: Hit config issue locally, then resolved it. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D7439
31 lines
847 B
PHP
31 lines
847 B
PHP
<?php
|
|
|
|
/**
|
|
* @group repository
|
|
*/
|
|
final class PhabricatorRepositoryConfigOptions
|
|
extends PhabricatorApplicationConfigOptions {
|
|
|
|
public function getName() {
|
|
return pht('Repositories');
|
|
}
|
|
|
|
public function getDescription() {
|
|
return pht('Configure repositories.');
|
|
}
|
|
|
|
public function getOptions() {
|
|
return array(
|
|
$this->newOption('repository.default-local-path', 'string', '/var/repo/')
|
|
->setSummary(
|
|
pht("Default location to store local copies of repositories."))
|
|
->setDescription(
|
|
pht(
|
|
"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.")),
|
|
);
|
|
}
|
|
|
|
}
|