Launchpad API should expose available merge requests on GitRepository and GitRef
Bug #1462289 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
To allow tarmac-like programs to work with git, launchpad should expose a collection of merge requests per-ref and per-repo. This way tarmac clone can request for a list of merge requests precisely for a given repository or for a given branch.
Related branches
lp:~cjwatson/launchpad/git-export-mp-collections
- William Grant (community): Approve (code)
-
Diff: 249 lines (+153/-23)6 files modifiedlib/lp/_schema_circular_imports.py (+9/-0)
lib/lp/code/interfaces/gitref.py (+25/-11)
lib/lp/code/interfaces/gitrepository.py (+24/-11)
lib/lp/code/model/gitrepository.py (+1/-1)
lib/lp/code/model/tests/test_gitref.py (+47/-0)
lib/lp/code/model/tests/test_gitrepository.py (+47/-0)
Changed in launchpad: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
tags: | added: api code-review git |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r17549 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 17549>.