WebGitNet icon indicating copy to clipboard operation
WebGitNet copied to clipboard

Add support for grouping repos in sub folders (feature request)

Open gregsohl opened this issue 12 years ago • 4 comments

It would be useful to group multiple related repositories under a sub folder. For example:

Project Repo 1
Project Repo 2
Utilities\
    Utility Repo 1
    Utility Repo 2 

The code does not appear to be too far from being able to support this. Would need some URL / routing semantics and enhancements to repo folder detection, along with drill down in the UI.

gregsohl avatar Apr 30 '13 15:04 gregsohl

Do you have a proposed URL structure for this, BTW?

otac0n avatar May 30 '13 15:05 otac0n

I was thinking of inserting the folder between the Action and the Repo name.

ex. https://server/manage/subfolder/MyRepo.git https://server/browse/subfolder/MyRepo.git https://server/git/subfolder/MyRepo.git

I was thinking there were one or two routes that didn't fall well into this and would need adjustment. For example the graph controller uses: "browse/{repo}/graph". Would it make sense to change it to "graph/{repo}"? Search and syndication are the same way.

Minor changes, but breaking of people existing URLs.

gregsohl avatar May 30 '13 15:05 gregsohl

Wouldn't that make the URLs ambiguous, potentially? On May 30, 2013 8:16 AM, "Greg Sohl" [email protected] wrote:

I was thinking of inserting the folder between the Action and the Repo name.

ex. https://server/manage/subfolder/MyRepo.git https://server/browse/subfolder/MyRepo.git https://server/git/subfolder/MyRepo.git

I was thinking there were one or two routes that didn't fall well into this and would need adjustment. For example the graph controller uses: "browse/{repo}/graph". Would it make sense to change it to "graph/{repo}"? Search and syndication are the same way.

Minor changes, but breaking of people existing URLs.

— Reply to this email directly or view it on GitHubhttps://github.com/otac0n/WebGitNet/issues/70#issuecomment-18687019 .

otac0n avatar May 31 '13 06:05 otac0n

Yes please I also use subfolders for Repo and this would be very helpful

topcats avatar Sep 30 '14 08:09 topcats