If anyone does look at implementing this, please keep in mind the branch renaming/reassignment feature of Launchpad.
At present, a user can go to the web UI and rename a branch, assign it to a different product or give ownership to someone else or a team. All of these operations change the path of the branch in the SFTP filesystem. Given that repositories are found by traversing file paths, this makes it very easy for a branch to lose its repository. We would need to make sure that either:
(a) the user couldn't rename branches outside of their repository, or
(b) Launchpad would prime the repository in the new location based on the repository for the old location.
If anyone does look at implementing this, please keep in mind the branch renaming/ reassignment feature of Launchpad.
At present, a user can go to the web UI and rename a branch, assign it to a different product or give ownership to someone else or a team. All of these operations change the path of the branch in the SFTP filesystem. Given that repositories are found by traversing file paths, this makes it very easy for a branch to lose its repository. We would need to make sure that either:
(a) the user couldn't rename branches outside of their repository, or
(b) Launchpad would prime the repository in the new location based on the repository for the old location.