1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Make Releeph a normal prototype application

Summary: Fixes T6177. Now that we've reframed "Beta" into "Prototype", there's no reason this needs to be in a separate super-hidden class of application anymore.

Test Plan: Saw Releeph available as a normal Prototype application.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T6177

Differential Revision: https://secure.phabricator.com/D10550
This commit is contained in:
epriestley 2014-09-24 13:49:25 -07:00
parent 93e1978e05
commit cd4e3c6399
3 changed files with 2 additions and 21 deletions

View file

@ -18,11 +18,8 @@ final class PhabricatorReleephApplication extends PhabricatorApplication {
return 'releeph'; return 'releeph';
} }
public function isInstalled() { public function isPrototype() {
if (PhabricatorEnv::getEnvConfig('releeph.installed')) { return true;
return parent::isInstalled();
}
return false;
} }
public function getRoutes() { public function getRoutes() {

View file

@ -42,19 +42,6 @@ final class PhabricatorReleephApplicationConfigOptions
$custom_field_type = 'custom:PhabricatorCustomFieldConfigOptionType'; $custom_field_type = 'custom:PhabricatorCustomFieldConfigOptionType';
return array( return array(
$this->newOption('releeph.installed', 'bool', false)
->setSummary(pht('Enable the Releeph application.'))
->setDescription(
pht(
'Releeph, a tool for managing release branches, will eventually '.
'fit in to the Phabricator suite as a general purpose tool. '.
'However Releeph is currently unstable in multiple ways that may '.
'not migrate properly for you: the code is still in alpha stage '.
'of design, the storage format is likely to change in unexpected '.
'ways, and the workflows presented are very specific to a core '.
'set of alpha testers at Facebook. For the time being you are '.
'strongly discouraged from relying on Releeph being at all '.
'stable.')),
$this->newOption('releeph.fields', $custom_field_type, $default) $this->newOption('releeph.fields', $custom_field_type, $default)
->setCustomData('ReleephFieldSpecification'), ->setCustomData('ReleephFieldSpecification'),
$this->newOption( $this->newOption(

View file

@ -116,9 +116,6 @@ abstract class PhabricatorTestCase extends ArcanistPhutilTestCase {
'notification.enabled', 'notification.enabled',
false); false);
// TODO: Remove this when we remove "releeph.installed".
$this->env->overrideEnvConfig('releeph.installed', true);
$this->env->overrideEnvConfig( $this->env->overrideEnvConfig(
'phabricator.base-uri', 'phabricator.base-uri',
'http://phabricator.example.com'); 'http://phabricator.example.com');