Launchpad API should expose read-only and read-write URL of each GitRepository
| 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:/
It shows, to quote:
Get this repository:
git clone git://git.
git clone git+ssh:
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
- William Grant: Approve (code) on 2015-06-18
-
Diff: 52 lines (+26/-4)2 files modifiedlib/lp/code/interfaces/gitrepository.py (+8/-4)
lib/lp/code/model/tests/test_gitrepository.py (+18/-0)
| Colin Watson (cjwatson) wrote : | #1 |
| Zygmunt Krynicki (zyga) wrote : Re: [Bug 1462288] Re: Launchpad API should expose read-only and read-write URL of each GitRepository | #2 |
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:/
>
> Title:
> Launchpad API should expose read-only and read-write URL of each
> GitRepository
>
> To manage notifications about this bug go to:
> https:/
| 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 : | #3 |
Fixed in stable r17573 <http://
| tags: | added: qa-needstesting |
| Changed in launchpad: | |
| status: | In Progress → Fix Committed |
| tags: |
added: qa-ok removed: qa-needstesting |
| Changed in launchpad: | |
| status: | Fix Committed → Fix Released |

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