Merge lp:~james-w/udd/ubuntu-dev-review into lp:udd

Proposed by James Westby
Status: Merged
Merged at revision: 410
Proposed branch: lp:~james-w/udd/ubuntu-dev-review
Merge into: lp:udd
Diff against target: 20 lines (+4/-2)
1 file modified
import_package.py (+4/-2)
To merge this branch: bzr merge lp:~james-w/udd/ubuntu-dev-review
Reviewer Review Type Date Requested Status
Martin Pool Approve
Review via email: mp+51815@code.launchpad.net

Description of the change

Hi,

There were two reasons this code was disabled:

  1) Too much email would be generated, but I had the email setup of ~ubuntu-dev changed so that this will end up on a catch-all mailing list.
  2) Too many reviews. There were teething problems that meant there were too many reviews requested due to bugs, but they are infrequent now, and we should get the visibility and then fix them.

Talking about this in #ubuntu-dev Daviey suggested that we notify the
uploader and the person that pushed (or last committer or something).

For the former we should be able to get this fairly easily using attributes
in launchpadlib. For the latter we will likely have to do Launchpad.people.getByEmail()
with some email addresses on a best effort basis.

Thanks,

James

To post a comment you must log in.
Revision history for this message
Martin Pool (mbp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'import_package.py'
2--- import_package.py 2011-02-08 02:53:42 +0000
3+++ import_package.py 2011-03-01 20:58:00 +0000
4@@ -492,13 +492,15 @@
5 lp_branch = icommon.lp_call(lp.load, lp_url)
6 target_branch_url = bstore._branch_url(distro, release, pocket)
7 target_lp_branch = icommon.lp_call(lp.load, target_branch_url)
8+ # It would be great to notify the uploader and pusher of the merge
9+ # proposal, but let's start with ~ubuntu-dev.
10 ubuntu_dev = icommon.lp_call(operator.getitem, lp.people, 'ubuntu-dev')
11 mp = icommon.lp_call(lp_branch.createMergeProposal,
12 target_branch=target_lp_branch,
13 initial_comment=bug_description(distro, release, pocket, name,
14 lp_side_branch_path),
15- needs_review=False,
16- #reviewers=[ubuntu_dev.self_link],
17+ needs_review=True,
18+ reviewers=[ubuntu_dev.self_link],
19 )
20 mutter("Merge proposal filed: %s" % str(mp.self_link))
21

Subscribers

People subscribed via source and target branches