mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
---------------------- ./bin/release Added ./Makefile to the distribution again -- it got lost in the changes last week although it isn't all that important a file since it gets clobbered by configure anyway. ./bin/trace ./doc/html/Filters.html ./doc/html/H5.format.html ./doc/html/H5.user.html ./src/H5.c ./src/H5D.c ./src/H5Dprivate.h ./src/H5E.c ./src/H5Epublic.h ./src/H5Farray.c ./src/H5Fistore.c ./src/H5Fprivate.h ./src/H5O.c ./src/H5Ocomp.c ./src/H5Oprivate.h ./src/H5P.c ./src/H5Ppublic.h ./src/H5Sall.c ./src/H5Shyper.c ./src/H5Spoint.c ./src/H5Sprivate.h ./src/H5Ssimp.c ./src/H5Z.c ./src/H5Zprivate.h ./src/H5Zpublic.h ./src/hdf5.h ./test/dsets.c ./tools/h5ls.c Added the data filter pipeline, a generalization of the compression stuff which allows things like checksums, encryption, compression, performance monitoring, etc. See ./doc/html/Filters.html for details -- it replaces the Compression.html doc. ./src/H5T.c Cleaned up debugging output. ./config/linux Added checks for egcs and pgcc and changed optimization flags for the compilers. ./src/H5G.c ./tools/h5dump.c Fixed compiler warnings in these files and others. ./configure.in ./src/H5private.h ./test/mtime.c Added a check for difftime() and defined HDdifftime() to do something else on systems that don't have difftime().
59 lines
1.6 KiB
Bash
Executable File
59 lines
1.6 KiB
Bash
Executable File
#!/bin/sh
|
|
set -x
|
|
date
|
|
#
|
|
# This script should be run nightly from cron. It checks out hdf5
|
|
# from the CVS source tree and compares it against the previous
|
|
# snapshot. If anything significant changed then a new snapshot is
|
|
# created, the minor version number is incremented, and the change is
|
|
# checked back into the CVS repository.
|
|
#
|
|
|
|
# Where are the snapshots stored?
|
|
ARCHIVES=/hdf3/ftp/pub/outgoing/hdf5/snapshots
|
|
if [ "$1" ]; then
|
|
ARCHIVES="$1"
|
|
shift
|
|
fi
|
|
|
|
# What compression methods to use?
|
|
METHODS="gzip bzip2"
|
|
|
|
# Create a working directory. Hopefully one is left over from last
|
|
# time that still has the contents of the previous release. But if
|
|
# not, just create one and assume that a snapshot is necessary.
|
|
COMPARE=${HOME}/hdf5-snapshots
|
|
test -d ${COMPARE} || mkdir -p ${COMPARE} || exit 1
|
|
|
|
# Check out the current version from CVS
|
|
if [ -z "$CVSROOT" ]; then
|
|
echo "Where is the CVS repository?" 1>&2
|
|
exit 1
|
|
fi
|
|
cvs -Q co -d ${COMPARE}/current hdf5 || exit 1
|
|
|
|
# Compare it with the previous version.
|
|
if [ -d ${COMPARE}/previous ]; then
|
|
if (diff -r -I H5_VERS_RELEASE -I " released on " --exclude CVS \
|
|
${COMPARE}/previous ${COMPARE}/current); then
|
|
update=no
|
|
else
|
|
update=yes
|
|
fi
|
|
else
|
|
update=yes
|
|
fi
|
|
|
|
# Release snapshot, update version, and commit to cvs
|
|
if [ "$update" = "yes" ]; then
|
|
(cd ${COMPARE}/current; \
|
|
./bin/release -d $ARCHIVES $METHODS; \
|
|
./bin/h5vers -i; \
|
|
cvs -Q commit -m Snapshot )
|
|
fi
|
|
|
|
# Replace the previous version with the current version.
|
|
rm -rf ${COMPARE}/previous
|
|
mv ${COMPARE}/current ${COMPARE}/previous
|
|
exit 0
|