public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] Package statistics, midterm report
@ 2011-07-13 18:16 Vikraman
  0 siblings, 0 replies; only message in thread
From: Vikraman @ 2011-07-13 18:16 UTC (permalink / raw
  To: gentoo-soc; +Cc: antarus, chris

[-- Attachment #1: Type: text/plain, Size: 2455 bytes --]

Hi all,

Welcome to the midterm report of the 'Package statistics' project[0].

Summary
=======
The goal of this project is to implement a client-server architecture
for reporting and querying package statistics of Gentoo based machines.
The client program will be used to collect package statistics from
Gentoo installations and submit them to a central server. The server
will calculate useful statistics based on the global dataset, that
developers as well as end users have access to, via an intuitive web
interface.

For the past few days, I've been working on the webUI, adding pages for stats.
We've also managed to get the webapp running (finally :D) on vulture[1]. Thanks
to my mentor antarus, robbat2, and the rest of the infra team for helping out.
We hit a few snags, but managed to ease them out in the end. Also, apologies for
making a stupid mistake of committing my mysql password to git (:P).

What works
==========
* Submitting host stats using a client script

* Accessing host stats at /host/<uuid>

* Arch stats: /arch

* Package stats:
  /package/<category>
  /package/<category>/<pkgname>
  /package/<category>/<pkgname>-<version>

  An optional ?top=N can be added to the url for the no. of top items.

* Repository stats: /repo

* Keyword stats: /keyword

* Useflag stats:
  /use
  /use/<useflag>

* Portage FEATURES stats: /feature

* Language stats: /lang

* Mirror stats: /mirror

* Profile stats: /profile

What doesn't work (yet)
=======================
* Package search
* Rating of packages
* Graphs
* Bugzilla, tinderbox integration
* Export the stats to JSON

What needs work
===============
* The webUI should be prettier
* The repository and useflag stats could be improved

I think I can finish the remaining goals in another 2-3 weeks. After that, I'll
consider working on some of my stretch goals.

I'm also working on improving the packages.gentoo.org api, so that there's an
easy way to access the portage tree state, and enrich the package stats.

Help me out by submitting your stats to the server. An ebuild for the client is
available in the repo[2]. Please report bugs, exceptions etc.

Got any feature suggestions/ideas ?

[0]http://www.google-melange.com/gsoc/project/google/gsoc2011/vh4x0r/26001
[1]https://soc.dev.gento.org/gentoostats
[2]http://git.overlays.gentoo.org/gitweb/?p=proj/gentoostats.git;a=summary

-- 
Vikraman

[-- Attachment #2: PGP signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-13 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-13 18:16 [gentoo-soc] Package statistics, midterm report Vikraman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox