From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qh3zz-0003hv-L0 for garchives@archives.gentoo.org; Wed, 13 Jul 2011 18:17:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCA8921C18E; Wed, 13 Jul 2011 18:17:07 +0000 (UTC) Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com [74.125.83.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B9FF21C1A3 for ; Wed, 13 Jul 2011 18:17:07 +0000 (UTC) Received: by pvg13 with SMTP id 13so7790263pvg.40 for ; Wed, 13 Jul 2011 11:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=8WAVh+BHAEweWlS05o/9IGLRY/VDy2maaUefGOro0Mo=; b=geYnfhZjk/OHt9DQBExM0FTB1kJtH4x1xvoIJQorFdUYAU0iGTLgiXP8RyQ3atgBcV z9iozIkHXYD11+F6vnSwOoBzQYQvPF6TjRHEga5W+g3ulg+G2ljq9nqJHGqZrdpkzJAP mvgXD/eVvcpGXTBW9AyfG4WEXA4mmQhqN9+Jo= Received: by 10.68.4.72 with SMTP id i8mr1835393pbi.269.1310581025459; Wed, 13 Jul 2011 11:17:05 -0700 (PDT) Received: from felicia ([117.194.241.227]) by mx.google.com with ESMTPS id d3sm5985944pbh.21.2011.07.13.11.17.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jul 2011 11:17:04 -0700 (PDT) Date: Wed, 13 Jul 2011 23:46:57 +0530 From: Vikraman To: gentoo-soc Cc: antarus@gentoo.org, chris@basementcode.com Subject: [gentoo-soc] Package statistics, midterm report Message-ID: <20110713181657.GA4615@felicia> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: a982111423d18fb7a714526bf9052708 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, Welcome to the midterm report of the 'Package statistics' project[0]. Summary =3D=3D=3D=3D=3D=3D=3D 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 sta= ts. We've also managed to get the webapp running (finally :D) on vulture[1]. Th= anks to my mentor antarus, robbat2, and the rest of the infra team for helping o= ut. We hit a few snags, but managed to ease them out in the end. Also, apologie= s for making a stupid mistake of committing my mysql password to git (:P). What works =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * Submitting host stats using a client script * Accessing host stats at /host/ * Arch stats: /arch * Package stats: /package/ /package// /package//- An optional ?top=3DN can be added to the url for the no. of top items. * Repository stats: /repo * Keyword stats: /keyword * Useflag stats: /use /use/ * Portage FEATURES stats: /feature * Language stats: /lang * Mirror stats: /mirror * Profile stats: /profile What doesn't work (yet) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * Package search * Rating of packages * Graphs * Bugzilla, tinderbox integration * Export the stats to JSON What needs work =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * 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 clien= t 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=3Dproj/gentoostats.git;a=3Dsumm= ary --=20 Vikraman --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: PGP signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iF4EAREIAAYFAk4d4RkACgkQR91UhLCnL9KlJQD8DowHq7QDIz91xRYByrSv9Od5 pZaSaT3VJy6nFoE24toBAKr4fnKj+Mzzr3JcXuEZh5T1auuXv4orEccrzzeYkPmM =8iV2 -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--