[PVFS2-CVS] commit by robl in pvfs2-1/maint: pvfs2-release-stats.sh
CVS commit program
cvs at parl.clemson.edu
Mon Nov 28 16:59:36 EST 2005
Update of /projects/cvsroot/pvfs2-1/maint
In directory parlweb:/tmp/cvs-serv8681
Added Files:
pvfs2-release-stats.sh
Log Message:
dinky little script to collect stats about a release
--- /dev/null 2003-01-30 05:24:37.000000000 -0500
+++ pvfs2-release-stats.sh 2005-11-28 16:59:36.000000000 -0500
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# a simple script to collect a few stats about a release:
+# usage: $0 <tag1> <tag2>
+
+if [ $# -ne 2 ] ; then
+ echo "usage: $0 <tag1> <tag2>"
+ exit -1
+fi
+
+patchsets=$(cvsps -q -r $1 -r $2 | grep PatchSet | wc -l)
+
+echo "This release represents $patchsets changesets over ___"
+
+diffstat=$(cvs diff -r$1 -r$2 | diffstat | tail -1)
+echo "Diffstat reports: $diffstat"
More information about the PVFS2-CVS
mailing list