Expose branch merge proposals through launchpadlib

Bug #264905 reported by Tim Penhey
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Paul Hummer

Bug Description

We need to be able to get the landing candidates and targets for branches through launchpadlib, and also be able to edit the metadata.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Björn Tillenius (bjornt) wrote :

I would like to be able to access merge proposals via the API as well. I'm more interested in the review side of it, though.

What I want to do is:

  * List all open review requests (both filtering on reviewer, and get all open reviews for a project)
  * Get basic information about the review request, status, comments, existing reviews, who added the merge request, which branch it is, the diff (if available).
  * Manipulate meta-data. More specifically, I want to vote and change the status of the merge proposal. But also change the whiteboard and add comments.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → rockstar
status: Triaged → In Progress
Revision history for this message
Paul Hummer (rockstar) wrote :

Just as an update-

  - Branch merge proposals can be fetched from the branch or from the project (and filtered in the project by status)
  - Branch merge proposal comments can be read
  - I have a branch that allows one to review and add comments.
  - Tim exposed the functionality to update the diff between the two branches.

The only thing on Bjorn's list that I don't have on deck for me is to filter on reviewers and get all proposals for a reviewer.

The whiteboard won't be exposed, as it sounds like we're looking to remove the whiteboard completely (it's not exposed on the webui anymore).

Revision history for this message
Paul Hummer (rockstar) wrote :

The final part of this (getting a person's submitted merge proposals) landed in rev 7902

Changed in launchpad-bazaar:
status: In Progress → Fix Committed
milestone: none → 2.2.3
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.