[MDEV-786] LP:181331 - Provide statistics on access to hosted branches Created: 2010-02-26  Updated: 2014-01-15  Resolved: 2014-01-15

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Brad Crittenden (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug181331.xml    

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



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2008-07-08 ]

Re: Provide statistics on access to hosted branches
WANT

Comment by Rasmus Johansson (Inactive) [ 2008-07-09 ]

Re: Provide statistics on access to hosted branches
Related to bug 54616.

Comment by Rasmus Johansson (Inactive) [ 2008-07-31 ]

Re: Provide statistics on access to hosted branches
Also interrested in this feature. Unfortunately the bug 54616 is a private bug... so impossible to see its evolution. Is it a bug

Comment by Brad Crittenden (Inactive) [ 2008-07-31 ]

Re: Provide statistics on access to hosted branches
Bug 54616 is a private internal enhancement request that has a dependency on this bug, so watching its progress is not that helpful.

Comment by Rasmus Johansson (Inactive) [ 2009-03-06 ]

Re: Provide statistics on access to hosted branches
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?

Comment by Rasmus Johansson (Inactive) [ 2009-03-08 ]

Re: Provide statistics on access to hosted branches
No progress has been made on this so far other than talking with some bzr people on how to get these counters.

Comment by Rasmus Johansson (Inactive) [ 2009-03-11 ]

Re: Provide statistics on access to hosted branches
We aren't going to get to this in the next cycle so lowering to Medium.

Comment by Carl Leitner (Inactive) [ 2009-03-25 ]

Re: Provide statistics on access to hosted branches
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.

Comment by Rasmus Johansson (Inactive) [ 2009-04-09 ]

Re: Provide statistics on access to hosted branches
This bug affects me too

Comment by Rasmus Johansson (Inactive) [ 2010-02-26 ]

Re: Provide statistics on access to hosted branches
The ability to get such metrics was a topic point at a company meeting today. We'd really like to see this feature implemented.

Comment by Rasmus Johansson (Inactive) [ 2010-02-27 ]

Re: Provide statistics on access to hosted branches
See <https://bugs.edge.launchpad.net/malone/+bug/528786> for the "affects project" behaviour here.

Comment by Rasmus Johansson (Inactive) [ 2010-03-01 ]

Re: Provide statistics on access to hosted branches
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.

Comment by Michael Widenius [ 2010-03-26 ]

re: [Bug 181331] Re: Provide statistics on access to hosted branches

Hi!

>>>>> "Jonathan" == Jonathan Lange <jml@canonical.com> 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

Comment by Rasmus Johansson (Inactive) [ 2010-03-29 ]

Re: [Bug 181331] Re: Provide statistics on access to hosted branches
On Fri, Mar 26, 2010 at 3:24 PM, Michael Widenius <monty@askmonty.org> wrote:
>
> Hi!
>
>>>>>> "Jonathan" == Jonathan Lange <jml@canonical.com> 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

Comment by Rasmus Johansson (Inactive) [ 2011-09-22 ]

Re: Provide statistics on access to hosted branches
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.

Comment by Rasmus Johansson (Inactive) [ 2011-09-22 ]

Launchpad bug id: 181331

Generated at Thu Feb 08 06:31:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.