1 |
Name: John-Patrik |
2 |
IRC: <mindbug> |
3 |
email: themindbug@×××××.com |
4 |
|
5 |
Gentoo x86 QA website - Weekly report #1 |
6 |
========================================== |
7 |
|
8 |
==== Project ==== |
9 |
|
10 |
The project goal is to provide a web interface to QA data for the x86 |
11 |
architecture, similar to packages.gentoo.org. |
12 |
|
13 |
The website will use the Django framework and will interface with the |
14 |
pkgcore package management system. |
15 |
|
16 |
==== Project parts ==== |
17 |
|
18 |
* Python data importation to feed the framework. |
19 |
* Database. (Why? Redundant? Cache?) |
20 |
* Web interface. |
21 |
|
22 |
==== Done, this week ==== |
23 |
|
24 |
* Github hosting setup, but no commits yet. |
25 |
* Django project environment setup. |
26 |
* Rough sketch of the url configuration. (subject to changes) |
27 |
http://the_project/ -> points to index.html, a search form. |
28 |
http://the_project/results/ -> points to a page displaying the |
29 |
results from a search. |
30 |
http://the_project/package/dev-util/ -> list of the packages in |
31 |
/dev/util/. |
32 |
http://the_project/package/dev-util/diffball -> the package versions |
33 |
and their details. |
34 |
* Started on the Python data importation script, not done though. |
35 |
|
36 |
==== Not done, plans for next week ==== |
37 |
|
38 |
* List with concrete tasks for the project, which preferably change and |
39 |
evolve during the project timeframe. |
40 |
* Python pkgcore script. |
41 |
The purpose of the script is to provide the web interface with the |
42 |
data from pkgcore via a MySQL database. |
43 |
Will take pkgcore (snakeoil) Python pickle stream as input, and |
44 |
produce SQL output, which then ideally would be used together with a |
45 |
MySQL db which the website can import data from. |
46 |
Doubts: Can I justify using a database? Well, It will be easier to |
47 |
re-use the website for other package managers, if using a database, |
48 |
since the database would remain the same no matter from which package |
49 |
manager the data came from. But still, the Agile manifesto says that not |
50 |
to implement something until it is needed, and it might not be. |
51 |
* Connect the script to an MySQL database, and test it. |
52 |
|
53 |
==== Evaluation(self) ==== |
54 |
|
55 |
Thinking too much. Not been "Agile" enough: Too much planning. Too few |
56 |
lines of code produced. |
57 |
|
58 |
Read/learned a lot though. Have been a bit active on the #pkgcore |
59 |
channel, tried to get assimilated, is good. |
60 |
|
61 |
Must have some concrete Python code monday or tuesday. |
62 |
|
63 |
Looking forward to next week! |
64 |
|
65 |
Feel free to chat/email me and share suggestions and/or constructive |
66 |
critizism, or just chat with me for the sake of having company while |
67 |
coding. :) |