public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Dolbec <brian.dolbec@gmail.com>
To: gentoo-soc@lists.gentoo.org
Subject: Re: [gentoo-soc] GSoC - Package statistics
Date: Mon, 21 Mar 2011 17:51:58 -0700	[thread overview]
Message-ID: <1300755118.31104.110.camel@big_daddy.dol-sen.ca> (raw)
In-Reply-To: <4D87E1AC.1030201@gmx.net>

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

On Tue, 2011-03-22 at 00:39 +0100, Michael Seifert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello Gentoo team,
> 
> I am interested in taking part in this year's Google Summer of Code and
> would like to discuss some general things. More specific, I am talking
> about Christopher Harvey's idea to design an application that raises
> statistics on the installed packages on a system (see [1]).
> 
> Let me explain my issue:
> In the first place, I am a Java developer and I consider my Java skills
> to be quite well. The point is that java is not part of a minimal gentoo
> system, whereas Python is. I would not have problems with Python, but I
> would have to learn the API of a GUI toolkit (preferably PyQt).
> What is your opinion: Would you be okay with a Java application or would
> you rather like to have a Python based one or even some other language?
> And finally, how much time do you think will it cost to work through the
> Qt API?
> 
> 

Well, a good deal of the info gathering methods are already coded in
python (by me) and installed on many users systems already, soon to be
even more as gentoolkit-0.3.0 final is about to be released.

Have a look at the analyse module.  It is designed for accessing the
installed package database and reporting/repairing things about it.
There is room for many more types of reports depending what is needed.
Adding an anonymous data upload should not be difficult.  So far I have
only been adding report types for problems users have run into.  It has
USE flags and keywords reports so far.  It has an api to use so as to
not need terminal output parsing to get the relevant data out of it.
Also so does most of equery and eclean have usable api's now (if there
is anything needed from there (the reason I got involved in gentoolkit
coding).

I don't think a gui would be needed, but rather webapp interfaces to the
data gathered.  Most of the devs are cli die hards, so a simple command
line interface to query the central database should be primary. I
believe it would be more widely used for the ebuilds they maintain. A
browser could be used to connect to it and get graphs, etc. for more
elaborate info displays.  

I would think the main portion of this project would be the database and
webapp query tools.  Potential controversy aside, I would also think you
should add a mechanism for a dev to trigger a simple query for people
having a cat/pkg-ver installed to optionally fill in a few questions
regarding an pkg's stability,... all anonymously.  Those queries could
be generic in nature and come with the data gathering tool, that way
only a simple small string need be downloaded at the time of data upload
(for ex: pkgname, query #, possibly a bug #) no executable code.

So I would concentrate your research and proposal efforts on the
database and webapps.
-- 
Brian Dolbec <brian.dolbec@gmail.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2011-03-22  0:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21 23:39 [gentoo-soc] GSoC - Package statistics Michael Seifert
2011-03-22  0:51 ` Brian Dolbec [this message]
2011-03-22  3:22   ` chris
2011-03-22  4:59     ` Brian Dolbec
2011-03-23  0:09       ` Michael Seifert
2011-03-23  6:30         ` Brian Dolbec
2011-03-23  8:48           ` Michael Seifert
2011-03-23 13:49           ` Donnie Berkholz
2011-03-23 21:27             ` Michael Seifert
2011-03-23 22:54               ` Brian Dolbec
2011-03-24  1:35               ` Donnie Berkholz

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=1300755118.31104.110.camel@big_daddy.dol-sen.ca \
    --to=brian.dolbec@gmail.com \
    --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