diff --git a/src/__phutil_library_init__.php b/src/__phutil_library_init__.php --- a/src/__phutil_library_init__.php +++ b/src/__phutil_library_init__.php @@ -1,3 +1,3 @@ <?php -phutil_register_library('phabricator', __FILE__); +phutil_register_library('phorge', __FILE__); diff --git a/src/applications/config/controller/PhabricatorConfigConsoleController.php b/src/applications/config/controller/PhabricatorConfigConsoleController.php --- a/src/applications/config/controller/PhabricatorConfigConsoleController.php +++ b/src/applications/config/controller/PhabricatorConfigConsoleController.php @@ -138,7 +138,7 @@ private function loadVersions(PhabricatorUser $viewer) { $specs = array( - 'phabricator', + 'phorge', 'arcanist', ); @@ -174,7 +174,14 @@ // A repository may have a bunch of remotes, but we're only going to look // for remotes we host to try to figure out where this repository branched. - $upstream_pattern = '(github\.com/phacility/|secure\.phabricator\.com/)'; + $upstream_pattern = + '('. + implode('|', array( + 'we\.phorge\.it/', + 'github\.com/phacility/', + 'secure\.phabricator\.com/', + )). + ')'; $upstream_futures = array(); $lib_upstreams = array();