Changes

Jump to: navigation, search

File:Kernel patches stats.png

136 bytes removed, 23:03, 19 January 2013
m
Collect data
== Source code ==
=== Collect data ===
Here is the script to produce the data for the graph, called <code>count</code>:
 
<small><source lang="bash">
#!/bin/sh
# We start from 2.6.12 -- the first kernel available in git
# and end on 2.6.39 -- the last kernel on 2.6 branch
for f in $(seq 13 4039); do
v1=v2.6.$((f-1))
d1=$(get_tag_date $v1)
done | sed 's/ /\t/g'
# New 3.x kernel branch
# Transition: patches from 2.6.39 to 3.0
d2=$(get_tag_date v3.0)
count=$(count_patches v2.6.39 v3.0)
echo $d2 "v3.0 " " " $count| sed 's/ /\t/g' # What is the latest kernel patch number (i.e. x in 3.x)
latest=$(git tag | grep -v -- -rc | tail -n1 | sed -e 's/^.*\.\(.*\)$/\1/')
fi
fi
# We start from 3.0
for f in $(seq 1 $((latest+1))); do
done | sed 's/ /\t/g'
</source></small>
=== Draw the graph ===
4
edits

Navigation menu