1 |
On Sun, Mar 22, 2009 at 10:30 AM, Vlad Dogaru <ddvlad@×××××××××××××××.ro> wrote: |
2 |
> Hello Steve, Alec, |
3 |
> |
4 |
> First of all, apolgies if this email is misdirected -- I saw both your |
5 |
> emails at the Gentoo Summer of Code ideas page, in the stats |
6 |
> server/client section[1], and the introduction encouraged possible |
7 |
> students to contact mentors ahead of time. |
8 |
> |
9 |
> [1] |
10 |
> http://en.gentoo-wiki.com/wiki/Google_Summer_of_Code_2009_ideas#Create_and_release_a_Gentoo_stats_server.2Fclient |
11 |
> |
12 |
> My name is Vlad Dogaru and I would like to express my desire to work on |
13 |
> the Gentoo GSOC project mentioned above. More specifically, I think |
14 |
> Smolt looks very good and would look even better when ported to Gentoo. |
15 |
> |
16 |
> Possible directions of the porting would be: |
17 |
> * as you suggested on the ideas page, a list of the packages installed. |
18 |
> We could then build statistics similar to the Debian popcon. |
19 |
> * it would also be interesting to note use flags popularity, both |
20 |
> globally and per-package; for instance, popcon has different stats for |
21 |
> vim, vim-full, vim-nox, etc. -- why wouldn't Gentoo track vim use flag |
22 |
> configuration? |
23 |
> * as someone with no experience in the field, I would imagine that |
24 |
> having certain use-flags exposed would pose a security risk; hence, |
25 |
> there should be a user-customizable blacklist of use-flags whose state |
26 |
> should not be tracked. |
27 |
|
28 |
I wouldn't count on this being a critical feature for most users. |
29 |
|
30 |
> |
31 |
> Now, these propositions are, I am sure, unrefined and naïve at places. |
32 |
> If you could help me better define them for a proper GSOC application, I |
33 |
> would be grateful. |
34 |
|
35 |
In my experience the client bit is easiest; all 3 package managers |
36 |
have decent python APIs and its relatively easy to extract useful |
37 |
data. The part that I personally found hard was writing the webapp ;) |
38 |
Authentication is a problem; do you let users register, have multiple machines? |
39 |
When your client posts new data, then updates the data, do you replace |
40 |
or merge it? |
41 |
How will you protect sensitive data on the server (like authentication |
42 |
tokens, passwords, etc..) |
43 |
How will you prevent malicious users from uploading fake data |
44 |
(client-side signing with a private key?) |
45 |
How will you store data on the server (RDBMS?) |
46 |
How will the client and server talk (REST/XMLRPC)? |
47 |
|
48 |
I figure once you get a basic setup working making the client retrieve |
49 |
and upload more data is easy assuming you have a decent data storage |
50 |
model on the server. I think the difficult part of this project |
51 |
actually lies in some of these other hard problems of figuring out how |
52 |
the app would actually work server-side. |
53 |
|
54 |
-A |
55 |
|
56 |
|
57 |
|
58 |
> |
59 |
> My motivation, if it is of interest, is helping Gentoo (which I've been |
60 |
> happily using for over 2 years) and hopefully using two of what I count |
61 |
> as my 4 favorite rograming languages (Python and Bash, with C and |
62 |
> Haskell being the other two). I've worked in a team before, but have |
63 |
> never been involved in Gentoo development. |
64 |
> |
65 |
> I eagerly await any and all feedback from you. |
66 |
> |
67 |
> Respectfully, |
68 |
> Vlad Dogaru |
69 |
> |
70 |
> |