Changeset View
Changeset View
Standalone View
Standalone View
src/config/arc/ArcanistArcConfigurationEngineExtension.php
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | return array( | ||||
->setKey('repository') | ->setKey('repository') | ||||
->setAliases( | ->setAliases( | ||||
array( | array( | ||||
'repository.callsign', | 'repository.callsign', | ||||
)) | )) | ||||
->setSummary(pht('Repository for the current working copy.')) | ->setSummary(pht('Repository for the current working copy.')) | ||||
->setHelp( | ->setHelp( | ||||
pht( | pht( | ||||
'Associate the working copy with a specific Phabricator '. | 'Associate the working copy with a specific repository. Normally, '. | ||||
'repository. Normally, Arcanist can figure this association '. | 'this association can be determined automatically, but if your '. | ||||
'out on its own, but if your setup is unusual you can use '. | 'setup is unusual you can use this option to tell it what the '. | ||||
'this option to tell it what the desired value is.')) | 'desired value is.')) | ||||
->setExamples( | ->setExamples( | ||||
array( | array( | ||||
'libexample', | 'libexample', | ||||
'XYZ', | 'XYZ', | ||||
'R123', | 'R123', | ||||
'123', | '123', | ||||
)), | )), | ||||
id(new ArcanistStringConfigOption()) | id(new ArcanistStringConfigOption()) | ||||
->setKey('phabricator.uri') | ->setKey('phabricator.uri') | ||||
->setAliases( | ->setAliases( | ||||
array( | array( | ||||
'conduit_uri', | 'conduit_uri', | ||||
'default', | 'default', | ||||
)) | )) | ||||
->setSummary(pht('Phabricator install to connect to.')) | ->setSummary(pht('Server to connect to.')) | ||||
->setHelp( | ->setHelp( | ||||
pht( | pht( | ||||
'Associates this working copy with a specific installation of '. | 'Associates this working copy with a specific installation of '. | ||||
'Phabricator.')) | '%s (or compatible software).', | ||||
PlatformSymbols::getPlatformServerName())) | |||||
->setExamples( | ->setExamples( | ||||
array( | array( | ||||
'https://phabricator.mycompany.com/', | 'https://devtools.example.com/', | ||||
)), | )), | ||||
id(new ArcanistAliasesConfigOption()) | id(new ArcanistAliasesConfigOption()) | ||||
->setKey(self::KEY_ALIASES) | ->setKey(self::KEY_ALIASES) | ||||
->setDefaultValue(array()) | ->setDefaultValue(array()) | ||||
->setSummary(pht('List of command aliases.')) | ->setSummary(pht('List of command aliases.')) | ||||
->setHelp( | ->setHelp( | ||||
pht( | pht( | ||||
'Configured command aliases. Use the "alias" workflow to define '. | 'Configured command aliases. Use the "alias" workflow to define '. | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |