Merge lp:~james-w/launchpad/get-requested-reviews into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | not available |
| Proposed branch: | lp:~james-w/launchpad/get-requested-reviews |
| Merge into: | lp:launchpad |
| Diff against target: |
186 lines (+79/-10) 6 files modified
lib/canonical/launchpad/interfaces/_schema_circular_imports.py (+6/-5) lib/lp/code/interfaces/hasbranches.py (+31/-0) lib/lp/code/model/hasbranches.py (+18/-1) lib/lp/code/stories/webservice/xx-branchmergeproposal.txt (+17/-0) lib/lp/registry/interfaces/person.py (+4/-2) lib/lp/registry/model/person.py (+3/-2) |
| To merge this branch: | bzr merge lp:~james-w/launchpad/get-requested-reviews |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | Approve on 2010-02-08 | ||
| Eleanor Berger (community) | 2010-02-04 | Needs Fixing on 2010-02-04 | |
|
Review via email:
|
|||
Commit Message
Export a method on IPerson to get the reviews they have been requested to do.
| James Westby (james-w) wrote : | # |
| Eleanor Berger (intellectronica) wrote : | # |
(16:27:14) thekorn: james_w, not that I have review powers, but there is a typo in xx-branchmergep
(16:28:44) intellectronica: james_w: we don't use line continuation in the launchpad codebase. instead use parentheses to group different constituents of an expression appearing on different lines
(16:29:45) intellectronica: i can see that the same problem appears in an existing lines. no idea why the author of that line decided to format it like that. if you feel like fixing that too, i won't complain :) (but don't feel obliged)
https:/
(16:31:52) intellectronica: james_w: the tuple on line 103 of the diff is formatted a bit funny. why not just put it on one line?
(16:32:56) intellectronica: james_w: also, maybe rename 'collection' in the same function to something more meaningful, like 'user_visible_
(16:34:08) intellectronica: james_w: using title capitalization, isn't "Getting Merge Proposals a Person has been Asked to Review" the correct form?
jamalta james_w
(16:35:23) intellectronica: james_w: why the final comma on line 129?
(16:35:53) intellectronica: james_w: other than that it all looks good

Hi,
This extends IPerson with a mixin similar to IHasMergeProposals that
doesn't get the owned merge proposals, but those that person has
been requested to review.
Thanks to Barry for his help.
Thanks,
James