I would like to start marking versioned releases of xfstests. The
following adds the release script used in the other XFS user space
packages. I have arbitrarily set the version to 3.0.0 to make it
more in line with the other XFS user space packages as well. I
created an initial CHANGES file with a simple summary of some
recently-added tests.
Signed-off-by: Alex Elder <aelder@xxxxxxx>
---
VERSION | 2 +-
doc/CHANGES | 21 +++++++++++++++++++++
release.sh | 25 +++++++++++++++++++++++++
3 files changed, 47 insertions(+), 1 deletion(-)
Index: b/VERSION
===================================================================
--- a/VERSION
+++ b/VERSION
@@ -1,7 +1,7 @@
#
# This file is used by configure to get version information
#
-PKG_MAJOR=1
+PKG_MAJOR=3
PKG_MINOR=0
PKG_REVISION=0
PKG_BUILD=1
Index: b/doc/CHANGES
===================================================================
--- /dev/null
+++ b/doc/CHANGES
@@ -0,0 +1,21 @@
+
+xfstests-3.0.0 (5 October 2011)
+ - This is the first versioned release recorded for the
+ xfstests suite. Tests 240-262 have been added to the
+ suite (to date) in 2011.
+ - Here are some one-line summaries for some recently-added
+ tests:
+ - 250: bmap BTREE corruption regression
+ - 251: concurrent FITRIM operations
+ - 252: fallocate hole punching
+ - 253: xfs_db metadump filename obfuscation
+ - 254: btrfs subvolume and snapshot
+ - 255: generic fallocate hole punching
+ - 256: full filesystem hole punching
+ - 257: getdents64() returning usable d_off values
+ - 258: file timestamps prior to the epoch
+ - 259: filesystem creation on just under 4TB storage
+ - 260: FITRIM argument handling
+ - 261: libxcmd giving up on bogus mtab entry
+ - 262: quota reporting doubled project quota values
+
Index: b/release.sh
===================================================================
--- /dev/null
+++ b/release.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Automate generation a new release
+#
+
+. ./VERSION
+
+version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
+date=`date +"%-d %B %Y"`
+
+echo "Updating CHANGES"
+sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp &&
\
+ mv doc/CHANGES.tmp doc/CHANGES
+
+echo "Commiting CHANGES update to git"
+git commit -s -a -m "${version} release"
+
+echo "Tagging git repository"
+git tag -s -a -m "${version} release" v${version}
+
+# echo "Creating source tarball"
+# make dist
+
+echo "Done."
+echo "Please remember to push out tags using \"git push --tags\""
|