@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove hard-coded tests against 'phabricator' namespace in setup

Summary: See https://github.com/facebook/arcanist/issues/49

Test Plan:
- Turned on setup mode with non-default namespace.
- Verified that setup tests passed.

Reviewers: btrahan, vrana

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3274

+4 -2
+4 -2
src/infrastructure/PhabricatorSetup.php
··· 512 512 self::write(" okay InnoDB is available.\n"); 513 513 } 514 514 515 + $namespace = PhabricatorEnv::getEnvConfig('storage.default-namespace'); 516 + 515 517 $databases = queryfx_all($conn_raw, 'SHOW DATABASES'); 516 518 $databases = ipull($databases, 'Database', 'Database'); 517 - if (empty($databases['phabricator_meta_data'])) { 519 + if (empty($databases[$namespace.'_meta_data'])) { 518 520 self::writeFailure(); 519 521 self::write( 520 522 "Setup failure! You haven't run 'bin/storage upgrade'. See this ". ··· 541 543 "\n". 542 544 "Then optionally run:\n". 543 545 "\n". 544 - " REPAIR TABLE phabricator_search.search_documentfield QUICK;\n". 546 + " REPAIR TABLE {$namespace}_search.search_documentfield QUICK;\n". 545 547 "\n". 546 548 "...to reindex existing documents."); 547 549 }