Page MenuHomePhabricator

Add an "Optional Display URI" for remote repositories in Diffusion
Closed, DuplicatePublic

Description

We have a collection of weird, perplexing rules for displaying remote URIs in Diffusion. Particularly, one is, in effect, "if the protocol is SSH, and there's a credential in the URI itself, show that credential".

Instead, we should add an option to the "Remote URI" section like "Display As:", which controls the display URI shown to users.

Event Timeline

epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added a project: Diffusion.
epriestley added subscribers: epriestley, zeeg.

@zeeg would also like a script to do this for existing repositories.

In the hosted case, we should let you override both protocol URIs.

Yes, this would really be a useful feature. Especially as CentOS still uses a 5.3 version of sshd and on production machines, I would like to keep the "normal" sshd on the standard port. Using a different ssh port for all other tools require a lot of extra config.

epriestley added a project: Restricted Project.
epriestley moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
epriestley added a subscriber: eadler.

Yes, this would really be a useful feature. Especially as CentOS still uses a 5.3 version of sshd and on production machines, I would like to keep the "normal" sshd on the standard port. Using a different ssh port for all other tools require a lot of extra config.

Set diffusion.ssh-port.

epriestley edited projects, added Diffusion (v3); removed Diffusion.
epriestley moved this task from Backlog to URI Stuff on the Diffusion (v3) board.
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Mar 21 2016, 8:27 PM
eadler edited projects, added Restricted Project; removed Restricted Project.
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 10 2016, 12:43 AM

I'm going to merge this into T10366. The changes there support customizing which URIs are shown as clone URIs, adding arbitrary new URIs, and disabling or hiding the first-party URIs.

This won't actually be available until we cut over to the new code, likely in the next week.