Changes

Jump to: navigation, search

File:Kernel patches stats.png

1,042 bytes added, 16:39, 26 February 2008
created
This graph shows how many patches from OpenVZ developers are merged in mainstream, for each kernel version.
It is done in gnuplot. Data set produced by a simple shell script working on git repository. Here is the script:
 
<small><source lang="bash">
!/bin/sh
 
latest=$(git tag | grep -v -- -rc | tail -n1 | sed -e 's/^.*\.\(.*\)$/\1/')
((latest++))
 
get_tag_date() {
echo $(git show $1 | egrep ^Date: | head -n1) |
sed 's/^Date: ... \(.*\) [-+]....$/\1/' |
sed 's/ ..:..:..//' | sed 's/ /-/g'
}
 
for f in $(seq 13 $latest); do
v1=v2.6.$((f-1))
d1=$(get_tag_date $v1)
if [ $f = $latest ]; then
v2="HEAD "
else
v2=v2.6.$f
fi
d2=$(get_tag_date $v2)
# echo -n "$v1..$v2 ($d1 -- $d2): "
echo -n $d2 $v2 " "
git log --pretty=short --no-merges $v1..$v2 | grep 'Author:' | egrep '@openvz.org|@parallels.com|@sw.ru|@swsoft.com|@sw.com.sg|adobriyan@|kuznet@' | wc -l
done | sed 's/ /\t/g'
 
</source></small>

Navigation menu