User:Fab/Stats: Difference between revisions
< User:Fab
(Created page with "Some ideas to gether data for statistics about Alpine Linux. The data are presented at the Trivia page. = Packages = == Ancient releases == See: http...") |
m (→Commit per year: command fixed) |
||
Line 27: | Line 27: | ||
To grab the data use the command below: | To grab the data use the command below: | ||
{{Cmd|git log --after="2011/1/1" --until="2011/12/31" --pretty=format:'' | wc -l}} | {{Cmd|<nowiki>git log --after="2011/1/1" --until="2011/12/31" --pretty=format:'' | wc -l</nowiki>}} | ||
= Tools = | = Tools = |
Revision as of 07:55, 24 May 2012
Some ideas to gether data for statistics about Alpine Linux.
The data are presented at the Trivia page.
Packages
Ancient releases
See: http://ancient.alpinelinux.org/alpine/
- Grab INDEX.md5.gz (e.g. http://ancient.alpinelinux.org/alpine/v1.1/apks/INDEX.md5.gz)
- Count the entries
- Print the number of packages
Newer releases
- Grab APKINDEX.tar.gz (e.g. http://nl.alpinelinux.org/alpine/v2.4/main/x86/APKINDEX.tar.gz)
- Count the lines which starts with P: (e.g. P:libxinerama-dev, P:postfix) in APKINDEX
- Perhaps separate packages (-dev, -doc, -lang)
- Print the data
"High score list" of committer
git shortlog -s -n
Commit per year
To grab the data use the command below:
git log --after="2011/1/1" --until="2011/12/31" --pretty=format:'' | wc -l
Tools
Some tools which could help to generate statistics.
- GitStats - git history statistics generator