mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +01:00
Rebrand: Rename library and update "version" logic
Summary: Make the "version" data in Config show information. Also rename the library. Test Plan: See version "branched from" information. 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/D25047
This commit is contained in:
parent
c3f0c0b0f7
commit
dbf7cd2b4a
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
phutil_register_library('phabricator', __FILE__);
|
||||
phutil_register_library('phorge', __FILE__);
|
||||
|
|
|
@ -138,7 +138,7 @@ final class PhabricatorConfigConsoleController
|
|||
|
||||
private function loadVersions(PhabricatorUser $viewer) {
|
||||
$specs = array(
|
||||
'phabricator',
|
||||
'phorge',
|
||||
'arcanist',
|
||||
);
|
||||
|
||||
|
@ -174,7 +174,14 @@ final class PhabricatorConfigConsoleController
|
|||
|
||||
// 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();
|
||||
|
|
Loading…
Reference in a new issue