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

Allow repository mirrors even if the repository is hosted elsewhere.

Summary:
I'm not sure if this is desired functionality, but we happen to need
mirroring of our repository which is not hosted by phabricator, and as far as
I can tell the mirroring code does not depend on the hosting code.

Test Plan:
Setup mirror with SSH credentials to github, pushed changes to
elsewhere hosted repository, commits got mirrored to github.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4338

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

authored by

Brecht Van Lommel and committed by
epriestley
f007ed62 f158b41d

-4
-4
src/applications/repository/storage/PhabricatorRepository.php
··· 1000 1000 } 1001 1001 1002 1002 public function canMirror() { 1003 - if (!$this->isHosted()) { 1004 - return false; 1005 - } 1006 - 1007 1003 if ($this->isGit()) { 1008 1004 return true; 1009 1005 }