Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New Project: Gentoostats
Date: Fri, 06 Jan 2017 06:06:46
Message-Id: ed2419b2-e014-9c34-5752-03a005a6ab60@gentoo.org
In Reply to: Re: [gentoo-dev] New Project: Gentoostats by Gokturk Yuksek
1 On 01/02/2017 09:27 AM, Gokturk Yuksek wrote:
2 > Alexander Shorin:
3 >> Hi!
4 >>
5 >> Thanks for sharing. Would be nice see updated README file (it contains
6 >> outdated links to Not Found pages) and add few notes about comparison
7 >> of your solution with collectd, ussd and the rest modern stats
8 >> collecting tools.
9 >> How better it suites Gentoo machines and why to use it today instead
10 >> of any existed and mature tool?
11 >
12 > We are interested in different kinds of stats with gentoostats. The main
13 > purpose of gentoostats is to collect package statistics, and currently
14 > it does so by utilizing the Portage API. Here's a sample output from the
15 > gentoostats-cli tool that may give you a better idea:
16 >
17 > $ gentoostats-cli search --c sys-apps --p portage --v 2.3.0 --r gentoo
18 > --min_hosts 4
19 > Search results
20 > [{'CAT': 'sys-apps',
21 > 'HOSTS': 5,
22 > 'PKG': 'portage',
23 > 'REPO': 'gentoo',
24 > 'VER': '2.3.0'}]
25 >
26 > There is also other Gentoo-specific information it collects such as this:
27 >
28 > $ gentoostats-cli list arch
29 > Arch
30 > {'amd64': {'HOSTS': 4}, 'x86': {'HOSTS': 1}}
31 >
32 >> --
33 >> ,,,^..^,,,
34 >>
35 >>
36 >
37 > --
38 > gokturk
39 >
40 >
41 Is it too late to suggest more standard flags? `--c` for example doesn't
42 make sense to me since '--' is used more for GNU long options. So it
43 should be '--category' and '-c' instead. Of course that's just my
44 opinion, so take it with salt as usual. :)
45
46 Still, interesting project and I might run it on a machine if it can
47 help us out.
48
49 --
50 Daniel Campbell - Gentoo Developer
51 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
52 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] New Project: Gentoostats Brian Dolbec <dolsen@g.o>
Re: [gentoo-dev] New Project: Gentoostats Gokturk Yuksek <gokturk@g.o>