Page MenuHomePhabricator

Need friendlier names for hosted repositories
Closed, DuplicatePublic

Description

When Phabricator hosts a repository, the URL used to access that repository contains the 'slug' of the repository, e.g.:

ssh://172.16.198.140/diffusion/K/

So when I clone that repository (unless I tell git to put it in a different directory name, which is kind of a pain), I get a big directory called "K", when I'd rather have it called something like "myproject-kernel".

Given the restrictions on repository slugs, (all upper case), and the fact that I would like to keep them relatively short, means that this isn't currently possible.

Event Timeline

wotte raised the priority of this task from to Needs Triage.
wotte updated the task description. (Show Details)
wotte added a project: Diffusion.
wotte added a subscriber: wotte.

I'm going to merge this into T4175. The solution I'm leaning toward is to let you use:

ssh://host/diffusion/X/anything.git

That will make git clone as anything/ instead of X/. Some considerations in T4175, mostly around the vague danger of having multiple (or infinite) canonical paths.