Provide statistics on access to hosted branches

Bug #181331 reported by Brad Crittenden
56
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned
MariaDB
Confirmed
Wishlist
Unassigned
Percona projects
Triaged
Wishlist
Unassigned
QBee
Confirmed
Undecided
Unassigned

Bug Description

Users have requested the ability to get statistics on how often branches hosted on Launchpad are accessed. Such numbers would be useful to determine the popularity of their project and to get an idea of their installed base. Numbers should be available on an individual branch basis and summary information for collections of branches (products, releases, etc.).

Brad Crittenden (bac)
Changed in launchpad-bazaar:
assignee: nobody → thumper
Revision history for this message
Jonathan Lange (jml) wrote :

WANT

Changed in launchpad-bazaar:
assignee: thumper → jml
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jonathan Lange (jml) wrote :

Related to bug 54616.

Revision history for this message
Charles Roduit (charles-roduit) wrote :

Also interrested in this feature. Unfortunately the bug 54616 is a private bug... so impossible to see its evolution. Is it a bug ;-)

Revision history for this message
Brad Crittenden (bac) wrote :

Bug 54616 is a private internal enhancement request that has a dependency on this bug, so watching its progress is not that helpful.

Jonathan Lange (jml)
Changed in launchpad-bazaar:
assignee: jml → nobody
importance: Medium → High
Revision history for this message
Peter Gebauer (peter-stockholm) wrote :

Hello! I've been looking for these statistics (number of checkouts or downloads), those are important numbers for me when considering whether or not to continue work on a project. Last comment is half a year old, has there been any progress?

Screenshots are also vital, in particular for GUI and graphics related projects, it'll help potential users assess it and maybe entice download or participation. I'm sure some would also like to promote their project using an interesting logo, etc.

Those statistics and a way to add a screenshot/image for the project overview page would make launchpad complete with no use for external project services. Any hints on upcoming features and possible implementation dates?

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

No progress has been made on this so far other than talking with some bzr people on how to get these counters.

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

We aren't going to get to this in the next cycle so lowering to Medium.

Changed in launchpad-bazaar:
importance: High → Medium
Revision history for this message
Carl Leitner (litlfred) wrote :

A very minimal need would be to see how many time and when a particular release was downloaded.

It would also be nice if this could be filtered geographically.

Revision history for this message
Andrei Buneyeu (yankeppey) wrote :

This bug affects me too

Revision history for this message
Kurt von Finck (mneptok) wrote :

The ability to get such metrics was a topic point at a company meeting today. We'd really like to see this feature implemented.

Kurt von Finck (mneptok)
Changed in maria:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

See <https://bugs.edge.launchpad.net/malone/+bug/528786> for the "affects project" behaviour here.

Changed in qbee:
status: New → Confirmed
Revision history for this message
Jonathan Lange (jml) wrote :

We'd first need to log access to branches. I've got some thoughts on how to do this, but no time to write the code. If you're interested in writing the code, let me know, and I'll help as much as I can.

Yuzem (yuzem)
Changed in imdb-thumbnailer:
status: New → Invalid
Changed in avatar-factory:
status: New → Invalid
Revision history for this message
Michael Widenius (monty) wrote : re: [Bug 181331] Re: Provide statistics on access to hosted branches

Hi!

>>>>> "Jonathan" == Jonathan Lange <email address hidden> writes:

Jonathan> We'd first need to log access to branches. I've got some thoughts on how
Jonathan> to do this, but no time to write the code. If you're interested in
Jonathan> writing the code, let me know, and I'll help as much as I can.

If you could summarize the thoughts you have about this into this bug
report, we will see if we can allocate someone to help you with coding
this.

Regards,
Monty

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

On Fri, Mar 26, 2010 at 3:24 PM, Michael Widenius <email address hidden> wrote:
>
> Hi!
>
>>>>>> "Jonathan" == Jonathan Lange <email address hidden> writes:
>
> Jonathan> We'd first need to log access to branches. I've got some thoughts on how
> Jonathan> to do this, but no time to write the code. If you're interested in
> Jonathan> writing the code, let me know, and I'll help as much as I can.
>
> If you could summarize the thoughts you have about this into this bug
> report, we will see if we can allocate someone to help you with coding
> this.

 * We already have some logging code in lp.codehosting.sshserver.accesslog.
 * Extend this API to have new events for reading from a branch and
writing to a branch.
 * In the bzr lp-serve plugin, emit an event the first time a branch
is read from and the first time a branch is written to
 * Do *not* emit log events then, but rather wait until the client has
disconnected and then emit one event, either read or write
 * The logged details should include the version of the Bazaar client
(if known) and the branch that was accessed
 * This code should be written at the level of the transport or lower,
so we can re-use between the lp-serve plugin and the sftp server

I'm fiddling around with some of this code now, extracting the code
from codehosting that isn't codehosting specific so that it can be
re-used in other Launchpad SSH servers. Don't let this block you if
you want to pursue further.

Hope this helps,
jml

Changed in maria:
importance: Medium → Wishlist
Revision history for this message
Robert Collins (lifeless) wrote :

This is in our backlog. We can mentor someone to do it if they want to put the effort in, otherwise at this point theres no ETA for it happening.

Changed in launchpad:
importance: Medium → Low
Revision history for this message
Roel Van de Paar (roel11) wrote :

Can the API at https://api.edge.launchpad.net be used for this? If so, is a example script available? Ref also https://bugs.launchpad.net/launchpad/+bug/139855

Changed in percona-server:
status: New → Confirmed
importance: Undecided → Wishlist
Stewart Smith (stewart)
Changed in percona-server:
status: Confirmed → Triaged
Yuzem (yuzem)
no longer affects: avatar-factory
Yuzem (yuzem)
no longer affects: imdb-thumbnailer
Revision history for this message
Roel Van de Paar (roel11) wrote :

Can we please have this future? Please?

affects: percona-server → percona-projects
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

Related questions

Remote bug watches

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