Changes

Jump to: navigation, search

File:Kernel patches stats.png

222 bytes added, 15:56, 4 May 2008
Draw the graph: Updated the script
if test "$1" != "-f"; then
git checkout master
git pull
USE_RC=yes sh count > time.dat
fi
DATE=$(date tail -n 1 time.dat | cut -f 1 | awk -F- '+%d %b %Y{print $2,$1,$3}')
MAXY=$(awk 'BEGIN {max=0}; ($3 > max) {max=$3}; END {print max+50}' < time.dat)
# GNU date is powerful!
cat << EOF | gnuplot > plot.png
set terminal png enhanced font "verdanab,20" size 1600,1200
#set terminal png enhanced transparent font "verdanab,14" size 1200,600
#set terminal svg enhanced font "verdanab,8" size 800,600
set title "OpenVZ team kernel patches progress as of ${DATE}"
set xrange [ : "${MAXX}" ]
set yrange [ 0 : ${MAXY} ]
set ylabel "Number of patchesfrom OpenVZ team, \n per kernel release,\naccepted accepted into mainstream"
set border 3 # no lines at right and top

Navigation menu