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
=== modified file 'import_package.py'
--- import_package.py 2011-02-08 02:53:42 +0000
+++ import_package.py 2011-03-01 20:58:00 +0000
@@ -492,13 +492,15 @@
492 lp_branch = icommon.lp_call(lp.load, lp_url)492 lp_branch = icommon.lp_call(lp.load, lp_url)
493 target_branch_url = bstore._branch_url(distro, release, pocket)493 target_branch_url = bstore._branch_url(distro, release, pocket)
494 target_lp_branch = icommon.lp_call(lp.load, target_branch_url)494 target_lp_branch = icommon.lp_call(lp.load, target_branch_url)
495 # It would be great to notify the uploader and pusher of the merge
496 # proposal, but let's start with ~ubuntu-dev.
495 ubuntu_dev = icommon.lp_call(operator.getitem, lp.people, 'ubuntu-dev')497 ubuntu_dev = icommon.lp_call(operator.getitem, lp.people, 'ubuntu-dev')
496 mp = icommon.lp_call(lp_branch.createMergeProposal,498 mp = icommon.lp_call(lp_branch.createMergeProposal,
497 target_branch=target_lp_branch,499 target_branch=target_lp_branch,
498 initial_comment=bug_description(distro, release, pocket, name,500 initial_comment=bug_description(distro, release, pocket, name,
499 lp_side_branch_path),501 lp_side_branch_path),
500 needs_review=False,502 needs_review=True,
501 #reviewers=[ubuntu_dev.self_link],503 reviewers=[ubuntu_dev.self_link],
502 )504 )
503 mutter("Merge proposal filed: %s" % str(mp.self_link))505 mutter("Merge proposal filed: %s" % str(mp.self_link))
504506

Subscribers

People subscribed via source and target branches