@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 dead link to Perforce blog about Git Fusion

Summary: Fixes T9941. I think someone from Perforce emailed us about 10 years ago and I added this link in response, but I haven't seen other interest in Perforce since then. Link is now dead.

Test Plan:
- {nav Diffusion > Create Repository > Import Existing}, no more Perforce link.
- Grepped for `perforce`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9941

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

-20
-19
src/applications/diffusion/controller/DiffusionRepositoryCreateController.php
··· 323 323 pht('Subversion'), 324 324 $svn_str); 325 325 326 - if ($is_import) { 327 - $control->addButton( 328 - PhabricatorRepositoryType::REPOSITORY_TYPE_PERFORCE, 329 - pht('Perforce'), 330 - pht( 331 - 'Perforce is not directly supported, but you can import '. 332 - 'a Perforce repository as a Git repository using %s.', 333 - phutil_tag( 334 - 'a', 335 - array( 336 - 'href' => 337 - 'http://www.perforce.com/product/components/git-fusion', 338 - 'target' => '_blank', 339 - ), 340 - pht('Perforce Git Fusion'))), 341 - 'disabled', 342 - $disabled = true); 343 - } 344 - 345 326 return id(new PHUIFormPageView()) 346 327 ->setPageName(pht('Repository Type')) 347 328 ->setUser($this->getRequest()->getUser())
-1
src/applications/repository/constants/PhabricatorRepositoryType.php
··· 5 5 const REPOSITORY_TYPE_GIT = 'git'; 6 6 const REPOSITORY_TYPE_SVN = 'svn'; 7 7 const REPOSITORY_TYPE_MERCURIAL = 'hg'; 8 - const REPOSITORY_TYPE_PERFORCE = 'p4'; 9 8 10 9 public static function getAllRepositoryTypes() { 11 10 static $map = array(