Merge requests that occur on revisions before the revision tagging a bug shouldn't be shown on a bug page

Bug #553354 reported by Ted Gould
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When a branch gets assigned to a bug the merge requests for a branch are also shown below it. While this is useful, and does often relate to the bug. Old merge requests really don't make sense to show. I think that the revision should be checked, and if the revision that the bug is attached on is later than what's shown in the merge request the merge request shouldn't be shown on the bug.

affects: launchpad → malone
Revision history for this message
Deryck Hodge (deryck) wrote :

Is this for the case of a branch that was linked to other bugs with other merge requests and is now linked to a later bug with a different merge request? Am I understanding that correctly? Can you point me at a bug as an example of this?

Changed in malone:
status: New → Incomplete
Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 553354] Re: Merge requests that occur on revisions before the revision tagging a bug shouldn't be shown on a bug page

On Tue, 2010-04-06 at 17:07 +0000, Deryck Hodge wrote:
> Is this for the case of a branch that was linked to other bugs with
> other merge requests and is now linked to a later bug with a different
> merge request? Am I understanding that correctly? Can you point me at
> a bug as an example of this?

Not with any permanence as it'll change rather rapidly. I think I can
describe it better. I think they key is that we're reusing branches,
not having one branch for one bug (or even several).

So I have a packaging branch that we use upstream. I has, and will
continue to fix bugs. It also gets merged into the distro packaging
branch fairly regularly. Each time that happens it's associated with a
merge request.

If between version 8 and 9 I fix a couple of bugs those get associated
with the packaging branch (debcommit does this if they're in the
debian/changelog). So then in the bugs that are fixed in revision 9 the
packaging branch shows up. But, since that branch was merged to the
distro packaging branch at version 8, the merge request also shows up
saying that the branch has already been merge. And that isn't the case
for the bug in question because it wasn't fixed until revision 9.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Launchpad itself because there has been no activity for 60 days.]

Changed in launchpad:
status: Incomplete → Expired
Revision history for this message
Martin Pool (mbp) wrote :

If I understand correctly, this is a real bug. Suppose I have a long-lived 'doc' branch.

I fix bug A, commit the revision fixing it, propose that and merge it.

I then fix another bug B, commit the revision fixing it, and propose that merge. The mp page currently lists both A and B, but A is irrelevant.

lp:~mbp/bzr/doc and lp:~mbp/bzr/trivial probably exemplify this.

Changed in launchpad:
importance: Undecided → Low
status: Expired → Triaged
tags: added: code-review
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.