1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 22:32:41 +01:00

Rebrand: Change Server name

Summary:
Use the name "Phorge" as the defined platform.

Also prepare to rename the core library "phorge" rather then "phabricator" - see next diff.

T15006

Test Plan: Deployed change, tooltip for "Config" shows "Configure Phorge"

Reviewers: O1 Blessed Committers, speck

Reviewed By: O1 Blessed Committers, speck

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew

Maniphest Tasks: T15006

Differential Revision: https://we.phorge.it/D25046
This commit is contained in:
Aviv Eyal 2022-08-25 01:20:55 -07:00
parent 9b4bcc8349
commit 0c0b9644a6
3 changed files with 6 additions and 1 deletions

View file

@ -460,6 +460,7 @@ final class PhutilErrorHandler extends Phobject {
// For these libraries, the effective root is one level up. // For these libraries, the effective root is one level up.
switch ($library) { switch ($library) {
case 'arcanist': case 'arcanist':
case 'phorge':
case 'phabricator': case 'phabricator':
$root = dirname($root); $root = dirname($root);
break; break;

View file

@ -191,6 +191,10 @@ final class PhutilBootloader {
} }
public function getLibraryRoot($name) { public function getLibraryRoot($name) {
if ($name === 'phabricator') {
// TODO warning
$name = 'phorge';
}
if (empty($this->registeredLibraries[$name])) { if (empty($this->registeredLibraries[$name])) {
throw new PhutilBootloaderException( throw new PhutilBootloaderException(
"The phutil library '{$name}' has not been loaded!"); "The phutil library '{$name}' has not been loaded!");

View file

@ -8,7 +8,7 @@ final class PlatformSymbols
} }
public static function getPlatformServerName() { public static function getPlatformServerName() {
return 'Phabricator'; return 'Phorge';
} }
public static function getProductNames() { public static function getProductNames() {