Description of the problem
From a Phorge/Phabricator, mirroring an external Diffusion is somehow painful.
Steps to reproduce:
- Go to your personal Phorge
- Create a Repo
- Add new URI · Mirror this: https://we.phorge.it/source/phorge/
- Activate
What happens:
After the import is finished, the Monograms in the history of your mirror are broken. For example, that repo mentions T1, but it does not link to the upstream T1 but to your local one, and they have nothing in common. This can be damn confusing and, in any way, it does not make the history very usable.
What should happen instead:
The links in the history must work. So, if the history mentions T1 in a commit message, that must be resolved as a link to upstream, and not as a link to your nonsense unrelated local stuff.
Current workaround
As happened here on Phorge, it could be necessary to increase your local Task counter a lot so that collisions with your mirror could be avoided. But this has sense with new installations, not with every installation.
Proposal n. 1 Option "Base Phorge URL"
(Whenever a Diffusion is mirrored or hosted)
In the URIs page, add this option:
Label | Upstream base URL |
Type | String |
Description | You can set this value to the base URL of an external Phorge that is hosting this repository. If you add an URL, all references in commit messages (such as T1) will be rendered using that URL as base, instead of using your website. |