public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-soc@lists.gentoo.org
Subject: Re: [gentoo-soc] Package statistics reporting tool
Date: Tue, 29 Mar 2011 08:53:13 -0500	[thread overview]
Message-ID: <20110329135312.GB3600@eee> (raw)
In-Reply-To: <alpine.LNX.2.00.1103291823540.15389@localhost>

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

On 18:54 Tue 29 Mar     , Vikraman wrote:
> I've been doing research on this project for sometime, and would
> really like my ideas to be reviewed by the community before
> submitting my application.
> 
> * User runs a script as a cronjob (or a portage hook ?), which
> collects stats on installed packages, and uploads to the online
> database. Surprisingly easy to code using the gentoolkit API.

Sure, one of those two options sounds good. The choice can be easily 
changed later, but I prefer the idea of a hook that runs after the 
package manager completes installing a package set.

People on laptops may not run cron jobs regularly, or at all.

> * Webapp generates statistics on the packages (top packages,
> versions, popularity, packages from overlays). Thanks to ideas from
> an old thread on the forums. Devs, please suggest some more useful
> ideas/stats too.

For Gentoo users:
- Search by package name
- Search by packages often installed with this one (recommendations)
- Add ratings. Maybe just via the GUI frontend for now.
- Add user reputations and profiles. How many ratings, etc. Provide the 
  option of logging in as user or anonymously for package uploads.


Tools for Gentoo developers:
- Least popular packages
- Search by maintainer/herd
- Integrate with Bugzilla by showing # of bugs & linking to the list
- Integrate w/ BZ by showing # of tinderbox-related bugs

For example, a useful search would be ≤20 users, package assigned to 
maintainer-needed or maintainer wanted, and ≥1 open bugs.

> * Dev/user runs a cli script to read stats or a gui program to
> display graphs.
>
> I'm looking forward to coding the project in Python, gui using
> PyGTK, database using MySQL. For the web service implementation,
> should I use SOAP (soappy, which I'll need to learn) or something
> like web.py (I've used it earlier) ?

What is the role of the GUI? Please describe the use cases and justify 
why it should be a desktop app rather than a webapp.

Consider REST for the web service rather than SOAP. There's a nice book 
called "RESTful Web Services" you might like to take a look at.

> It was also suggested earlier to allow a dev to trigger a popup
> feedback from the user. I think that would require the user ro run a
> daemon, which will listen for queries.

It doesn't necessarily have to be instant. Upon the next installation, 
when uploading new stats, the client could check for messages.

> Please suggest what details to include and what not to include in
> the application.

Many resources exist on this topic:

- http://www.gentoo.org/proj/en/userrel/soc/applying.xml
- http://www.booki.cc/gsocstudentguide/_v/1.0/writing-a-proposal/
- http://google-opensource.blogspot.com/2011/03/dos-and-donts-of-google-summer-of-code.html

-- 
Thanks,
Donnie

Donnie Berkholz
Admin, Summer of Code
Gentoo Linux
Blog: http://dberkholz.com

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

  reply	other threads:[~2011-03-29 13:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 13:24 [gentoo-soc] Package statistics reporting tool Vikraman
2011-03-29 13:53 ` Donnie Berkholz [this message]
2011-03-29 14:20   ` Brian Dolbec
2011-03-29 19:01     ` Yanbo Wang
2011-03-29 19:11       ` Vikraman Choudhury
2011-04-08 15:18         ` Vikraman Choudhury
  -- strict thread matches above, loose matches on Subject: below --
2012-03-15 13:44 Yanbo Wang
2012-03-16 15:59 ` Corentin Chary
2012-03-16 23:37   ` Rafael Goncalves Martins
2012-03-17 10:49     ` Yanbo Wang

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=20110329135312.GB3600@eee \
    --to=dberkholz@gentoo.org \
    --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