Uploading multiple git repos to a project is confusing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
To reproduce:
1. Create a new project.
2. Import a git repo to it.
3. Check the Code tab:
- the repo you just uploaded is called "lp:project-name" regardless of what you entered in the repo name field when creating the repo and it has clone url "https:/
4. Import another repo.
5. Check the code tab again:
Result:
The first uploaded repo has it's name and clone URL changed. The second repo takes on the name lp:project-name and the "https:/
This can be repeated multiple times. Each imported repo will push the previous one to a different URL.
6: Delete the most recent uploaded repo.
Result:
The repo disappears and now you have no repo called "lp:project-name" at all, until you import another one.
What should actually happen:
There should be an option like "owner default" except it should say "project default" and it should control which repo, if any, occupies the "lp:project-name" and "https:/
Note that the "owner default" textbox has the label which says:
"Whether this repository is the default for its owner and target."
But ticking it has no effect on the target default repo, if the target is a project.