Split Setup Issues into Groups

Summary: Groups setup issues into Important, PHP, MySQL, and Base for easier parsing on initial installations.

Test Plan:
Test my internal server and various issues.

{F289699}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7207

Differential Revision: https://secure.phabricator.com/D11726
This commit is contained in:
Chad Little
2015-02-10 12:53:00 -08:00
parent 91a1f56a4c
commit b701313e0e
25 changed files with 167 additions and 20 deletions

View File

@@ -6,6 +6,11 @@ abstract class PhabricatorSetupCheck {
abstract protected function executeChecks();
const GROUP_OTHER = 'other';
const GROUP_MYSQL = 'mysql';
const GROUP_PHP = 'php';
const GROUP_IMPORTANT = 'important';
public function getExecutionOrder() {
return 1;
}
@@ -14,6 +19,7 @@ abstract class PhabricatorSetupCheck {
$issue = id(new PhabricatorSetupIssue())
->setIssueKey($key);
$this->issues[$key] = $issue;
$issue->setGroup($this->getDefaultGroup());
return $issue;
}