1 |
Hi everyone! |
2 |
|
3 |
I usually send these reports every weekend but due to problems with my |
4 |
email provider I've postponed this email until today. Sorry about this. |
5 |
|
6 |
Brief summary |
7 |
============= |
8 |
|
9 |
The Gentoostats project aims to gather statistics about the installed |
10 |
packages on Gentoo systems in order to provide useful information to |
11 |
both users and developers. |
12 |
|
13 |
Status: on schedule. |
14 |
|
15 |
Things accomplished this week |
16 |
============================= |
17 |
|
18 |
- Refactored the submission parsing code. |
19 |
- The server can now display basic stats for each host. |
20 |
- Changed the client's behaviour when it comes to reporting USE flags. |
21 |
|
22 |
Previously the client used gentoolkit's FlagAnalyzer to report 'plus', |
23 |
'minus' and 'unset' USE flags for each installed package. However, some |
24 |
manually enabled/disabled USE flags (meaning use flags defined in |
25 |
package.use) could be reported as 'unset' (happens if they already exist |
26 |
in the profile/make.conf). Thus, I've changed the code to now directly |
27 |
query vardb for the 'IUSE', 'PKGUSE', and 'USE' flags of each package. |
28 |
|
29 |
With this change the server now directly receives the following |
30 |
information about each installed package: |
31 |
- Available USE flags (IUSE and IUSE defaults) |
32 |
- Actual package.use specification (PKGUSE) |
33 |
- Actual, final enabled USE flags (USE) |
34 |
|
35 |
However, this has made the client slower, since it now has to access |
36 |
more files. I'll probably ask this on gentoo-dev later, but if somebody |
37 |
would like to share his/her opinion on whether IUSE and PKGUSE should be |
38 |
reported by default, please do so here. Thank you! |
39 |
|
40 |
Plans for next week |
41 |
=================== |
42 |
|
43 |
1. Create more statistics pages on the server. |
44 |
2. Start working on an API for the server. |
45 |
3. Continue working on the inclusion of gentoostats in gentoolkit. |
46 |
4. Make sure that the server deployment can happen before/during the |
47 |
midterm evaluations. |
48 |
|
49 |
Further information |
50 |
=================== |
51 |
|
52 |
You can find the project repositories here: |
53 |
https://github.com/gg7/gentoostats |
54 |
https://github.com/gg7/gentoostats_server |
55 |
|
56 |
If you have any questions and/or ideas about the project please don't |
57 |
hesitate to get in touch with me. |
58 |
|
59 |
Regards, |
60 |
George |