Person/Team branch listing should be *visually* grouped by project

Bug #320066 reported by Martin Albisetti
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Expired
Undecided
Unassigned

Bug Description

The listing for people and teams should be visually grouped by project:

ascii art for jml's code page:

----------------------------------
Bazaar
    ~jml/bzr/stuff-i-did [badges] [whatelse?]
    ~jml/bzr/moar-stuff

Launchpad
   ~jml/launchpad/fixes-everything-1
   ~jml/launchpad/fixes-everything-2
   ~jml/launchpad/fixes-everything-3
   ~jml/launchpad/fixes-everything-4
   ~jml/launchpad/fixes-everything-5

Twisted
   ~jml/twisted/untwist-it

Ubuntu/Twisted
   ~jml/twisted/un-untwist-it

----------------------------------

Properties of this listing:
- Show a maximum of 5 branches per project
- Project name is a link to ~user/project (needs to be developed, bug #173633)
- Order these 5 branches by date desc
- "+junk" goes last
- Package branches are interleaved with projects, but sorted by the package name, not distro

(The Bugs equivalent is bug 319237.)

Tags: lp-code ui
description: updated
Jonathan Lange (jml)
Changed in launchpad-bazaar:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Tim Penhey (thumper) wrote :

Notes during call:

Select id, product, distro, sourcepackage, last_modified from Branch where owner is %s

Sort that in python into namespace buckets taking most recent 5 from each bucket, and remembering bucket branch count.

Use the most recent branch ids to do a full Branch object creation for those to make the page.

Issues:
~vcs-imports - agree to special case, redirect to +branches (normal listing)
 - use something like "if pathalogical_branch_listings(owner): premanent redirect to normal branch listing"
 - use a config in pathalogical_branch_listings function to give flexability

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

So the proposed implementaiton won't work (will timeout - cannot do in-python processing to batch/limit like this).

This needs a rationale/explanation - whats wrong/wrong we are improving etc (it isn't currently a bug report, more a work item in an unknown and undocumented project :P).

I'm going to mark this as incomplete for now, until we get this information, when we can triage it.

Changed in launchpad:
status: Triaged → Incomplete
importance: High → Undecided
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
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.