1 |
On 01/06/2017 08:08 AM, Gokturk Yuksek wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Daniel Campbell: |
5 |
>> On 01/02/2017 09:27 AM, Gokturk Yuksek wrote: |
6 |
>>> Alexander Shorin: |
7 |
>>>> Hi! |
8 |
>>>> |
9 |
>>>> Thanks for sharing. Would be nice see updated README file (it contains |
10 |
>>>> outdated links to Not Found pages) and add few notes about comparison |
11 |
>>>> of your solution with collectd, ussd and the rest modern stats |
12 |
>>>> collecting tools. |
13 |
>>>> How better it suites Gentoo machines and why to use it today instead |
14 |
>>>> of any existed and mature tool? |
15 |
>>> |
16 |
>>> We are interested in different kinds of stats with gentoostats. The main |
17 |
>>> purpose of gentoostats is to collect package statistics, and currently |
18 |
>>> it does so by utilizing the Portage API. Here's a sample output from the |
19 |
>>> gentoostats-cli tool that may give you a better idea: |
20 |
>>> |
21 |
>>> $ gentoostats-cli search --c sys-apps --p portage --v 2.3.0 --r gentoo |
22 |
>>> --min_hosts 4 |
23 |
>>> Search results |
24 |
>>> [{'CAT': 'sys-apps', |
25 |
>>> 'HOSTS': 5, |
26 |
>>> 'PKG': 'portage', |
27 |
>>> 'REPO': 'gentoo', |
28 |
>>> 'VER': '2.3.0'}] |
29 |
>>> |
30 |
>>> There is also other Gentoo-specific information it collects such as this: |
31 |
>>> |
32 |
>>> $ gentoostats-cli list arch |
33 |
>>> Arch |
34 |
>>> {'amd64': {'HOSTS': 4}, 'x86': {'HOSTS': 1}} |
35 |
>>> |
36 |
>>>> -- |
37 |
>>>> ,,,^..^,,, |
38 |
>>>> |
39 |
>>>> |
40 |
>>> |
41 |
>>> -- |
42 |
>>> gokturk |
43 |
>>> |
44 |
>>> |
45 |
>> Is it too late to suggest more standard flags? `--c` for example doesn't |
46 |
>> make sense to me since '--' is used more for GNU long options. So it |
47 |
>> should be '--category' and '-c' instead. Of course that's just my |
48 |
>> opinion, so take it with salt as usual. :) |
49 |
>> |
50 |
> |
51 |
> That's a typo on my part, thanks for pointing it out :) It's |
52 |
> '-c/--category', '-p/--package', '-v/--version' and '-r/--repo'. I used |
53 |
> the long options, then decided to go with the short ones to increase |
54 |
> readability, forgot to remove extra '-'. |
55 |
> |
56 |
>> Still, interesting project and I might run it on a machine if it can |
57 |
>> help us out. |
58 |
>> |
59 |
> |
60 |
> |
61 |
I guess we can ignore that little nitpick then. :P |
62 |
|
63 |
I'll check it out when I get some time to spare. |
64 |
-- |
65 |
Daniel Campbell - Gentoo Developer |
66 |
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net |
67 |
fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 |