To me there appears to be a hole in the functionality of git-repo.
While I am able to set a remote url of "
http://example.com/subfolder" I am not able to do that in reverse for "review". It's probably a niche use case, but I wish to have a minor level of logical separation in the manifest files I use, but without being able to set a subfolder for "review" the only alternative would be to bring back that original folder name into the project names, and there are a variety of reasons I would rather not do this.
For reference, the code this applies to is here:
https://gerrit.googlesource.com/git-repo/+/master/git_config.py#602
If I'm not using sso:// then it tries to navigate to url+"ssh_info", and so this will obviously break if given a subfolder in the URL (with a 404 error).
Is there any way to make this happen? A simple fix would be to allow "remote" to have a "subfolder" or "folder" option which is simple inserted (plus "/") into the final URL before the project name.
I would more more than happy to make and push that change, but it seems a little bit like a half hearted fix.
I really would like to use the repo tool this way, and will just have to abandon using repo upload otherwise.
Regards,
Sammy