Provide statistics on access to hosted branches

Bug #181331 reported by Brad Crittenden on 2008-01-08
56
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned
Maria
Confirmed
Wishlist
Unassigned
Percona projects
Triaged
Wishlist
Unassigned
QBee
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) on 2008-01-08
Changed in launchpad-bazaar:
assignee: nobody → thumper
Jonathan Lange (jml) wrote :

WANT

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

Related to bug 54616.

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 ;-)

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) on 2009-02-04
Changed in launchpad-bazaar:
assignee: jml → nobody
importance: Medium → High
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?

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.

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
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.

Andrei Buneyeu (yankeppey) wrote :

This bug affects me too

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) on 2010-02-26
Changed in maria:
importance: Undecided → Medium
status: New → Confirmed
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
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) on 2010-03-10
Changed in imdb-thumbnailer:
status: New → Invalid
Changed in avatar-factory:
status: New → Invalid

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

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
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
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) on 2012-12-11
Changed in percona-server:
status: Confirmed → Triaged
Yuzem (yuzem) on 2012-12-11
no longer affects: avatar-factory
Yuzem (yuzem) on 2012-12-11
no longer affects: imdb-thumbnailer
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions