@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.

Split the difference on remote URIs.

This is slightly trickier than D8082.

Auditors: btrahan

+9 -3
+9 -3
src/applications/repository/storage/PhabricatorRepository.php
··· 486 486 } 487 487 488 488 public function getNormalizedPath() { 489 + if ($this->isHosted()) { 490 + $uri = PhabricatorEnv::getProductionURI($this->getURI()); 491 + } else { 492 + $uri = $this->getRemoteURI(); 493 + } 494 + 489 495 switch ($this->getVersionControlSystem()) { 490 496 case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT: 491 497 $normalized_uri = new PhabricatorRepositoryURINormalizer( 492 498 PhabricatorRepositoryURINormalizer::TYPE_GIT, 493 - $this->getRemoteURI()); 499 + $uri); 494 500 break; 495 501 case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: 496 502 $normalized_uri = new PhabricatorRepositoryURINormalizer( 497 503 PhabricatorRepositoryURINormalizer::TYPE_SVN, 498 - $this->getRemoteURI()); 504 + $uri); 499 505 break; 500 506 case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: 501 507 $normalized_uri = new PhabricatorRepositoryURINormalizer( 502 508 PhabricatorRepositoryURINormalizer::TYPE_MERCURIAL, 503 - $this->getRemoteURI()); 509 + $uri); 504 510 break; 505 511 default: 506 512 throw new Exception("Unrecognized version control system.");