requesting review by a team should send mail to that team

Bug #281056 reported by Paul Hummer
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Tim Penhey

Bug Description

In merge proposal code, this XXX comment is found:

"If the reviewer is a team, don't send email. This is to stop the abuse of a user spamming all members of a team by requesting them to review a (possibly unrelated) branch. Ideally we'd come up with a better solution, but I can't think of one yet. In all other places we are emailing subscribers directly rather than people that haven't subscribed."

A new solution is needed.

Related branches

Paul Hummer (rockstar)
Changed in launchpad-bazaar:
assignee: nobody → thumper
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 281056] [NEW] Better solution needed for reviews to team subscribed branches

On Fri, Oct 10, 2008 at 1:03 PM, Paul Hummer <email address hidden> wrote:
> Public bug reported:
>
> In merge proposal code, this XXX comment is found:
>
> "If the reviewer is a team, don't send email. This is to stop the abuse
> of a user spamming all members of a team by requesting them to review a
> (possibly unrelated) branch. Ideally we'd come up with a better
> solution, but I can't think of one yet. In all other places we are
> emailing subscribers directly rather than people that haven't
> subscribed."

I don't see why this is any worse than a team being subscribed to get
all bug mail for a product?

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Jonathan Lange (jml) wrote :

On Fri, Oct 10, 2008 at 1:13 PM, Martin Pool <email address hidden> wrote:
> I don't see why this is any worse than a team being subscribed to get
> all bug mail for a product?
>

It's a serious issue for the distro, who have branches owned by very,
very large teams. With luck, better branch support for source packages
will make the problem magically disappear. Until then, this current,
bandaid approach will keep a lot of users happy.

jml

Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: thumper → nobody
Aaron Bentley (abentley)
tags: added: code-review
Revision history for this message
Martin Pool (mbp) wrote : Re: Better solution needed for reviews to team subscribed branches

See also bug 493902

Revision history for this message
Martin Pool (mbp) wrote :

Apparently 493902 is a dupe of this - there is some confusion about the different kind of person:mp relationships, which Aaron will try to explain separately.

For me the crucial case is: when I request a team to review an mp, it should send mail to that team. To me it is obvious that if the person is "requesting" the review, they want an actual request to end up with the team member.

Perhaps the case of very large teams could be handled by distinguishing the default reviewer (maybe set to None?) from the owner?

Revision history for this message
Martin Pool (mbp) wrote :

Other description:

As a patch author, i want the bzr windows developers (~bzr-windows) to review my patch and tell me if they see any issues, so i can avoid committing something that breaks win32. They're not subscribed to any branches by default.

When the user clicks "request a review" I think they can reasonably expect that this will actually request a view from the other party. This means the members of the requested team should be notified that a review is wanted.

See also bug 281056, about teams not getting reviews by default for branches they own. But it's a different case: that's about subscriptions whereas this is about review requests.

There is a possible risk of accidental or malicious spam by randomly subscribing large teams to noisy reviews, but that's already possible with bugs and doesn't(?) seem to be a large problem in practice.

Martin Pool (mbp)
summary: - Better solution needed for reviews to team subscribed branches
+ requesting review by a team should send mail to that team
Revision history for this message
Karl Fogel (kfogel) wrote :

In the spirit of not losing any possibly-related information:

There's a thread on the ubuntu-distributed-devel list called:

  "FYI: ubuntu-devel thread about merge proposals"
  https://lists.ubuntu.com/archives/ubuntu-distributed-devel/2009-December/000164.html

started by James Westby, that's related to the question of what happens when the user requests a review. The first message in that thread is, as its subject implies, basically a pointer to this *other* thread on ubuntu-devel:

  https://lists.ubuntu.com/archives/ubuntu-devel/2009-December/029694.html

which is also by James; he describes it as being "about who the default reviewer should be for Ubuntu merge proposals".

Both threads may have relevant discussion.

Aaron Bentley (abentley)
tags: added: email
Tim Penhey (thumper)
Changed in launchpad-code:
status: Triaged → In Progress
assignee: nobody → Tim Penhey (thumper)
Tim Penhey (thumper)
Changed in launchpad-code:
status: In Progress → Fix Committed
milestone: none → 10.04
Revision history for this message
Tim Penhey (thumper) wrote :

During QA found that the request review email was going to the entire team, but no other email for the proposal was.

Found the line that needs fixing, fix coming soon.

tags: added: qa-bad
Changed in launchpad-code:
status: Fix Committed → In Progress
Tim Penhey (thumper)
tags: added: qa-needstesting
removed: qa-bad
Tim Penhey (thumper)
Changed in launchpad-code:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
Tim Penhey (thumper)
Changed in launchpad-code:
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.