"Personal" push URLs not displayed on code pages

Bug #1813778 reported by Robie Basak
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Ioana Lasc

Bug Description

Easiest to explain with examples:

https://code.launchpad.net/unity currently says for me:

Get this repository:
    git clone https://git.launchpad.net/unity
    git clone git+ssh://<email address hidden>/unity

Update this repository:
    git push git+ssh://<email address hidden>/unity

Expected behaviour:

Also show:

   git push git+ssh://<email address hidden>/~racb/unity

as a location I can push to in order to file an MP against it.

Similarly, https://code.launchpad.net/ubuntu/+source/unity says:

Get this repository:
    git clone https://git.launchpad.net/ubuntu/+source/unity
    git clone git+ssh://<email address hidden>/ubuntu/+source/unity

Update this repository:
    git push git+ssh://<email address hidden>/ubuntu/+source/unity

Expected behaviour:

Also show:

    git push git+ssh:///<email address hidden>/~racb/ubuntu/+source/unity

Perhaps these should be under a title of something like "Push to a personal clone repository suitable for submitting a merge proposal against" but with better English.

Presumably every form in https://help.launchpad.net/Code/Git#Repository_URLs needs consideration for coverage.

Related branches

Revision history for this message
Robie Basak (racb) wrote :

Rationale: new contributors evidently find it difficult to figure out where to push. Hopefully this will help.

Colin Watson (cjwatson)
tags: added: confusing-ui git lp-code ui
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I know of 3 different cases already where people have pushed to the wrong url and were not able to create MPs later on for their fixes. Launchpad would just say something along the lines of what you are proposing cannot be proposed for a merge, with no further info.

tags: added: git-performance
Colin Watson (cjwatson)
Changed in launchpad:
assignee: nobody → Ioana Lasc (ilasc)
status: Triaged → Fix Committed
Colin Watson (cjwatson)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers