1 |
On Tue, 2011-03-29 at 08:53 -0500, Donnie Berkholz wrote: |
2 |
> On 18:54 Tue 29 Mar , Vikraman wrote: |
3 |
> > I've been doing research on this project for sometime, and would |
4 |
> > really like my ideas to be reviewed by the community before |
5 |
> > submitting my application. |
6 |
> > |
7 |
> > * User runs a script as a cronjob (or a portage hook ?), which |
8 |
> > collects stats on installed packages, and uploads to the online |
9 |
> > database. Surprisingly easy to code using the gentoolkit API. |
10 |
|
11 |
:) Thanks, anything else needed in there, just ask. |
12 |
|
13 |
> |
14 |
> Sure, one of those two options sounds good. The choice can be easily |
15 |
> changed later, but I prefer the idea of a hook that runs after the |
16 |
> package manager completes installing a package set. |
17 |
> |
18 |
> People on laptops may not run cron jobs regularly, or at all. |
19 |
|
20 |
good point. |
21 |
|
22 |
> |
23 |
> > * Webapp generates statistics on the packages (top packages, |
24 |
> > versions, popularity, packages from overlays). Thanks to ideas from |
25 |
> > an old thread on the forums. Devs, please suggest some more useful |
26 |
> > ideas/stats too. |
27 |
> |
28 |
> For Gentoo users: |
29 |
> - Search by package name |
30 |
> - Search by packages often installed with this one (recommendations) |
31 |
> - Add ratings. Maybe just via the GUI frontend for now. |
32 |
> - Add user reputations and profiles. How many ratings, etc. Provide the |
33 |
> option of logging in as user or anonymously for package uploads. |
34 |
> |
35 |
> |
36 |
> Tools for Gentoo developers: |
37 |
> - Least popular packages |
38 |
> - Search by maintainer/herd |
39 |
> - Integrate with Bugzilla by showing # of bugs & linking to the list |
40 |
> - Integrate w/ BZ by showing # of tinderbox-related bugs |
41 |
> |
42 |
> For example, a useful search would be ≤20 users, package assigned to |
43 |
> maintainer-needed or maintainer wanted, and ≥1 open bugs. |
44 |
> |
45 |
> > * Dev/user runs a cli script to read stats or a gui program to |
46 |
> > display graphs. |
47 |
> > |
48 |
> > I'm looking forward to coding the project in Python, gui using |
49 |
> > PyGTK, database using MySQL. For the web service implementation, |
50 |
> > should I use SOAP (soappy, which I'll need to learn) or something |
51 |
> > like web.py (I've used it earlier) ? |
52 |
> |
53 |
> What is the role of the GUI? Please describe the use cases and justify |
54 |
> why it should be a desktop app rather than a webapp. |
55 |
|
56 |
As much of a gui person as I am, I too think a web browser would be |
57 |
preferred connecting for this. It could also be expanded as the need or |
58 |
new query type comes up and then becomes available to all without the |
59 |
need to upgrade. |
60 |
|
61 |
> |
62 |
> Consider REST for the web service rather than SOAP. There's a nice book |
63 |
> called "RESTful Web Services" you might like to take a look at. |
64 |
> |
65 |
> > It was also suggested earlier to allow a dev to trigger a popup |
66 |
> > feedback from the user. I think that would require the user ro run a |
67 |
> > daemon, which will listen for queries. |
68 |
> |
69 |
> It doesn't necessarily have to be instant. Upon the next installation, |
70 |
> when uploading new stats, the client could check for messages. |
71 |
|
72 |
Yes, this was what I was trying to suggest at the time, perhaps I could |
73 |
have chosen better words :/ |
74 |
|
75 |
> |
76 |
> > Please suggest what details to include and what not to include in |
77 |
> > the application. |
78 |
> |
79 |
> Many resources exist on this topic: |
80 |
> |
81 |
> - http://www.gentoo.org/proj/en/userrel/soc/applying.xml |
82 |
> - http://www.booki.cc/gsocstudentguide/_v/1.0/writing-a-proposal/ |
83 |
> - http://google-opensource.blogspot.com/2011/03/dos-and-donts-of-google-summer-of-code.html |
84 |
> |
85 |
|
86 |
|
87 |
-- |
88 |
Brian Dolbec <brian.dolbec@×××××.com> |