"git-ubuntu clone" should also preemptively fork the repository to the user's account?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
When working on a large repository, the 'git-ubuntu prepare-upload' stage can be quite expensive in terms of both data transfer and time (and therefore developer attention) because under the current workflow, we have to push a branch with full history to the repository under the user's namespace (which by default does not yet exist).
It is my understanding that doing things this way is also more expensive in terms of launchpad server storage, because when forking the repository Launchpad is able to deduplicate the content, but when pushing separately it is not.
Perhaps at `git-ubuntu clone` time, we should pre-emptively fork the repository (https:/
Doing this only at push time would be too late, because the fork operation does not immediately populate the target repository, so would still have the problem of slowing the developer down.
And maybe this becomes less relevant once staging branches are available.
I was under the impression that Launchpad is supposed to automatically share objects and therefore the push should be quick in the case that you are pushing to a repository whose target already has a default repository (and therefore that default repository should be used as the base). IOW, I was told that this should magically work anyway. But apparently it doesn't - I've never seen push times and bandwidth use suggest that this is actually happening.
I've asked the Launchpad team for guidance: https:/ /answers. launchpad. net/launchpad/ +question/ 708879