No way to get a git_ref from the API
Bug #1654537 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
I'd like to be able to get git_ref for a branch in a git repository.
The use case is writing tests to create merge proposals which require git_ref objects.
Related branches
lp:~cjwatson/launchpad/git-export-getRefByPath
- William Grant (community): Approve (code)
-
Diff: 83 lines (+36/-3)3 files modifiedlib/lp/_schema_circular_imports.py (+2/-1)
lib/lp/code/interfaces/gitrepository.py (+7/-1)
lib/lp/code/model/tests/test_gitrepository.py (+27/-1)
affects: | launchpadlib → launchpad |
tags: | added: api git lp-code trivial |
Changed in launchpad: | |
status: | New → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → Low |
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 r18309 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 18309>.