Launchpad API should expose read-only and read-write URL of each GitRepository

Bug #1462288 reported by Zygmunt Krynicki on 2015-06-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Colin Watson

Bug Description

In order not to have to hard-code any assumptions in the client-side applications. Launchpad API should expose two additional attributes on each GitRepository. Those attributes must match what is displayed on pages like this:
https://code.launchpad.net/~canonical-hw-cert/hwcert-tools/+git/hwcert-tools

It shows, to quote:

Get this repository:
    git clone git://git.launchpad.net/hwcert-tools
    git clone git+ssh://git.launchpad.net/hwcert-tools

end quote

I would suggest read_only_git_url and read_write_git_url but feel free to use anything you find appropriate.

Related branches

Colin Watson (cjwatson) wrote :

The read-only one should probably be https:// rather than the dumb git protocol.

Yes, I think https is also better for corporate / state proxy. It has
a higher chance of working.

On Fri, Jun 5, 2015 at 11:49 AM, Colin Watson <email address hidden> wrote:
> The read-only one should probably be https:// rather than the dumb git
> protocol.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1462288
>
> Title:
> Launchpad API should expose read-only and read-write URL of each
> GitRepository
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/launchpad/+bug/1462288/+subscriptions

Colin Watson (cjwatson) on 2015-06-18
tags: added: api git trival
tags: added: trivial
removed: trival
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
status: New → In Progress
importance: Undecided → Low
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2015-06-22
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2015-06-24
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers