Branch activity is siloed: no overview of whats happening in a project

Bug #79496 reported by Martin Pool
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Since launchpad knows about all commits across all (registered) branches, it would be good to show this as an indication of overall activity. This could come up on eg code.launchpad.net/bzr (along with some branches) or in a portlet (with a "more" link)

UPDATE: Related to bug 79041.

Tags: lp-code ui
Revision history for this message
David Allouche (ddaa) wrote :

A simple formule could be "number of new unique revisions found by the branch scanner (date_created, not date) in the ancestry of all branches of the product/project)".

The "unique revision" bit is important, so branches that just pull from another branch do not contribute to the sum.

The "in the ancestry" bit is important, so a merge of several revisions from a branch Launchpad does not know about counts all the merged revisions.

The use of Revision.date_created instead of Revision.date is important to prevent revisions with bad dates from skewing this statistic. Since this statistic is measured over a period of time >> mirror interval, it would not be affected by the time-discrete nature of the branch scanning.

Changed in launchpad-bazaar:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 79496] Re: Show recent commits across the project

To clarify: I was talking about actually showing the text of a few
revisions, not just a count of them -- much as we show the most recent
bugs.

--
Martin

David Allouche (ddaa)
description: updated
Revision history for this message
David Allouche (ddaa) wrote : Re: Show recent commits across the project

Okay. So something like:

 * Consider only mainline revisions of branches in this product/project (ignore revisions merged from a branch launchpad does not know about).
 * Filter out revisions where where date_created < date, and sort revisions by date (as in bug 79041).
 * Link to a branch that has this revision in its mainline.

Revision history for this message
Tim Penhey (thumper) wrote :

This is now available through the revision feeds for the project. Is this sufficient for your use case?

Changed in launchpad-bazaar:
status: Confirmed → Incomplete
Revision history for this message
Björn Tillenius (bjornt) wrote :

I would find this information useful, and I don't use feeds, so please show it in the web ui.

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

Also, the feed would be more discoverable if it was linked from a page showing similar information. At the moment that feed points back to the project code homepage which is a bit odd.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
importance: Wishlist → Medium
status: New → Triaged
Revision history for this message
Tim Penhey (thumper) wrote :

Martin, can you come up with a pretty page for this?

It would use the same source as the revision feed, but formatted nicely for a project.

Changed in launchpad-bazaar:
assignee: nobody → beuno
Martin Albisetti (beuno)
Changed in launchpad-code:
assignee: Martin Albisetti (beuno) → nobody
Changed in launchpad:
importance: Medium → Low
summary: - Show recent commits across the project
+ Branch activity is siloed: no overview of whats happening in a project
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.