1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/src/applications/config/management
Scott Kroll 84f741f408 Allow config get to work when db is not functional
Summary: Fixes T6554.

Test Plan:
Run `bin/config get mysql.host` when no db is functional. Should not get an exception, but should see:
```
lang=json
{
  "config" : [
    {
      "key"       : "mysql.host",
      "source"    : "local",
      "value"     : null,
      "status"    : "unset",
      "errorInfo" : null
    },
    {
      "key"       : "mysql.host",
      "source"    : "database",
      "value"     : null,
      "status"    : "error",
      "errorInfo" : "Database source is not configured properly"
    }
  ]
}
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Maniphest Tasks: T6554

Differential Revision: https://secure.phabricator.com/D10851
2014-11-14 09:12:20 -08:00
..
PhabricatorConfigManagementDeleteWorkflow.php Allow bin/config to affect database configuration and migrate between local and database configuration 2014-10-08 16:15:05 -07:00
PhabricatorConfigManagementGetWorkflow.php Allow config get to work when db is not functional 2014-11-14 09:12:20 -08:00
PhabricatorConfigManagementListWorkflow.php Increase the power of bin/config 2013-01-21 15:27:42 -08:00
PhabricatorConfigManagementMigrateWorkflow.php Config migration script bug fix 2014-11-11 15:05:57 -08:00
PhabricatorConfigManagementSetWorkflow.php Allow bin/config to affect database configuration and migrate between local and database configuration 2014-10-08 16:15:05 -07:00
PhabricatorConfigManagementWorkflow.php Apply some autofix linter rules 2014-09-10 06:55:05 +10:00