public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
From: "G. Gaydarov" <gaydarov@cs.man.ac.uk>
To: gentoo-soc@lists.gentoo.org
Subject: [gentoo-soc] Gentoostats Progress Report #4
Date: Tue, 26 Jun 2012 20:27:38 +0100	[thread overview]
Message-ID: <4FEA0D2A.3030603@cs.man.ac.uk> (raw)

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

Hi everyone!

I usually send these reports every weekend but due to problems with my
email provider I've postponed this email until today. Sorry about this.

Brief summary
=============

The Gentoostats project aims to gather statistics about the installed
packages on Gentoo systems in order to provide useful information to
both users and developers.

Status: on schedule.

Things accomplished this week
=============================

- Refactored the submission parsing code.
- The server can now display basic stats for each host.
- Changed the client's behaviour when it comes to reporting USE flags.

Previously the client used gentoolkit's FlagAnalyzer to report 'plus',
'minus' and 'unset' USE flags for each installed package. However, some
manually enabled/disabled USE flags (meaning use flags defined in
package.use) could be reported as 'unset' (happens if they already exist
in the profile/make.conf). Thus, I've changed the code to now directly
query vardb for the 'IUSE', 'PKGUSE', and 'USE' flags of each package.

With this change the server now directly receives the following
information about each installed package:
  - Available USE flags (IUSE and IUSE defaults)
  - Actual package.use specification (PKGUSE)
  - Actual, final enabled USE flags (USE)

However, this has made the client slower, since it now has to access
more files. I'll probably ask this on gentoo-dev later, but if somebody
would like to share his/her opinion on whether IUSE and PKGUSE should be
reported by default, please do so here. Thank you!

Plans for next week
===================

1. Create more statistics pages on the server.
2. Start working on an API for the server.
3. Continue working on the inclusion of gentoostats in gentoolkit.
4. Make sure that the server deployment can happen before/during the
midterm evaluations.

Further information
===================

You can find the project repositories here:
  https://github.com/gg7/gentoostats
  https://github.com/gg7/gentoostats_server

If you have any questions and/or ideas about the project please don't
hesitate to get in touch with me.

Regards,
George


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

             reply	other threads:[~2012-06-26 21:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26 19:27 G. Gaydarov [this message]
2012-06-27  4:39 ` [gentoo-soc] Gentoostats Progress Report #4 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FEA0D2A.3030603@cs.man.ac.uk \
    --to=gaydarov@cs.man.ac.uk \
    --cc=gentoo-soc@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox