Commit notifications include too little data about merged revisions

Bug #505817 reported by Thierry Carrez
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

When merging from another branch, you get a single commit notification message like this:

=============================
Merge authors:
  ...
  ...
------------------------------------------------------------
revno: 1118 [merge]
committer: ...
branch nick: main
timestamp: Thu 2010-01-07 17:03:47 -0800
message:
  merging in latest
modified:
  ...
  ...
=============================

It would be great, in case of merges, to get the detailed commit messages from the merged branch, as given by "bzr log --include-merges". That gives much more meaningful information to those only subscribed to the main branch.

Tags: lp-code
Revision history for this message
Tim Penhey (thumper) wrote :

We used to do this in the past, and it was determined that most often this isn't what is desired.

The complete history is available for any user to look at in more detail if they so desire, but in the situations where people commit *a lot*, the email became almost useless.

Changed in launchpad-code:
status: New → Won't Fix
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 505817] Re: Commit notifications should --include-merges on merged revisions

 wrote:
> We used to do this in the past, and it was determined that most often
> this isn't what is desired.
>
> The complete history is available for any user to look at in more detail
> if they so desire, but in the situations where people commit *a lot*,
> the email became almost useless.
>
> ** Changed in: launchpad-code
> Status: New => Won't Fix

I think there's room to experiment a little more here -- part of the
problem before was that it was like 'log -v' output and the lists of
changed files from trunk merges became overwhelming. But if we just
showed the log messages somehow intelligently grouped by author and with
a limit on the number we showed in the mail, I think it might be better
than what we have today.

Cheers,
mwh

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 505817] Re: Commit notifications should --include-mergeson mergedrevisions

On Mon, 18 Jan 2010 06:57:48 Michael Hudson wrote:
> wrote:
> > We used to do this in the past, and it was determined that most often
> > this isn't what is desired.
> >
> > The complete history is available for any user to look at in more detail
> > if they so desire, but in the situations where people commit *a lot*,
> > the email became almost useless.
> >
> > ** Changed in: launchpad-code
> > Status: New => Won't Fix
>
> I think there's room to experiment a little more here -- part of the
> problem before was that it was like 'log -v' output and the lists of
> changed files from trunk merges became overwhelming. But if we just
> showed the log messages somehow intelligently grouped by author and with
> a limit on the number we showed in the mail, I think it might be better
> than what we have today.
>
> Cheers,
> mwh
>

OK, lets see what we can do.

  status triaged

Changed in launchpad-code:
status: Won't Fix → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: Commit notifications should --include-merges on merged revisions

As mentioned at the pub this evening, I'm in the same boat as Thierry ;-)

My main gripe is that the patch attached to the email message includes the *full diff* of everything that's changed, but the body of the email merely includes the highest level commit message, "merged a bunch of fixes". If all of the changes are going to be flattened into a single monolithic diff, I think it would be prudent to flatten and include the changelog of everything in the merge.

In Ubuntu packaging, we strongly suggest that developers merging packages do something similar when they build the *.changes file. If merging from Debian, and several revisions have gone by, we like to see all the changelog entries between now and the last upload, using dpkg-genchanges's
       -vversion
              Causes changelog information from all versions strictly later than version to be used.

So there is sort of prior art here, that it would be nice if we were consistent with...

Changed in launchpad:
importance: Undecided → High
summary: - Commit notifications should --include-merges on merged revisions
+ Commit notifications include too little data about merged revisions
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

\o/

Revision history for this message
Robert Collins (lifeless) wrote :

Sorry that we haven't had any progress on this, we've been fighting a war on tech debt and performance. If someone would like to hack on this it should be pretty straight forward: just pass more options to the bzr log code, to get the included commits; the attached diff can stay as-is. Its probably a few hours work for someone.

Changed in launchpad:
importance: High → Low
importance: Low → High
Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 505817] Re: Commit notifications include too little data about merged revisions

Honestly, Rob, this is less important to me now than it was before.
Just FYI. Thanks ;-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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