Commit Graph

63 Commits

Author SHA1 Message Date
lrknox
fded10f081 Add note to bin/release script with hint for situations where files
generated by autogen.sh are missing, causing chkmanifest to fail.
2017-09-26 09:37:43 -05:00
Allen Byrne
073f524247 HDFFV-10284 Add VS2017 support 2017-08-31 13:37:50 -05:00
Larry Knox
89fbe00dec Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
lrknox
be6e9282f6 Make release script fail and return failing exit code when any of the steps for creating the docs.tar file fails. 2017-02-21 16:34:05 -06:00
lrknox
6924e1f9f8 h5vers:
Added code to update version strings in
    config/cmake/scripts/HDF5config.cmake.

release:
    Added options to create CMake tar.gz and zip files containing the
    HDF5 source and scripts to build and test HDF5 with cmake and ctest
    by running a single command.  These were previously assembled
    manually.

    Added a call to h5vers to set the version being released where it
    occurs in files.  In particular, the sub-release version string
    "currently under development" was not being removed from
    cpp_doc_config or HDF5config.cmake.
2017-02-21 15:18:17 -06:00
lrknox
a659d6ed5a AM_MAINTAINER_MODE should be set to "disable" for releases. Check to
see if it's enabled, and if it is, call switch_maint_mode -disable
before creating release files, then set it back to enable afterward.
2016-12-23 13:54:05 -06:00
lrknox
8abd022971 Add --docver option to relesae on develop branch. 2016-12-16 17:04:56 -06:00
lrknox
62232e9120 Translate svn commands and references to git. 2016-10-24 14:17:24 -05:00
lrknox
4a2669d51f Correct typo: add ' ' 2016-10-01 09:47:31 -05:00
lrknox
6cb0d90338 Snapshot release: increment version. 2016-10-01 09:41:26 -05:00
Albert Cheng
6c04e6b03c [svn-r26675] HDFFV-9201: Create md5s for bzip, gzip and zip files
An md5 checksum is produced for each archive created and stored in the md5 file

Tested: jam by hand.
2015-03-31 12:40:43 -05:00
Albert Cheng
3eaa80b0d3 [svn-r25891] Updated online help page to match what the command does now.
Tested: "bin/release -h" and visual inspect the output to be correct.
2014-12-17 05:44:35 -05:00
Albert Cheng
75044d8ae7 [svn-r25136] Bug: HDFFV-8433
The temporary directory used by zip is the same as the rest but it has to be different.
Changed tar2zip to use a different (ztmpdir) name.

Tested: by hand running "bin/release ... gzip zip md5".
2014-04-29 20:24:57 -05:00
Albert Cheng
3fde3a16b5 [svn-r25120] HDFFV-8755: Remove compress option from bin/release
Tested: by hand. "bin/release ... compress" to see it failed and to see it succeeded when compress is not used.
2014-04-25 18:24:19 -05:00
Albert Cheng
ead005cc27 [svn-r25096] Bug: HDFFV-8433
Need to unify Windows release process (zip file) and Unix release process (bin/release-> tarfile)

Solution:
Added a new option (zip) to generate Windows zip file from the release tarball.

Tested: by hand running "bin/release ... gzip zip" to verify zip file looks right.
Allen and Dana then confirmed the zip file can be used to build and test HDF5
library without error.
2014-04-24 16:38:54 -05:00
Albert Cheng
d6bf9ca5c3 [svn-r20986] Changed the release date format to yyyy-mm-dd from the previous date form.
Tested: Jam by running bin/release and eyeballed the new date format.
2011-06-15 17:58:13 -05:00
Albert Cheng
ace53ca9a2 [svn-r17592] Bug fix:
Release would leave behind an Makefile even if it did not exist before.

Fixed by restoring only the pre-existed Makefile.

Tested: Jam.
2009-10-05 19:08:03 -05:00
Albert Cheng
4695c4150d [svn-r16271] Bug fix.
The Tail command in jam (a newer linux) does not accept the +2l option.
It ended up wiping most of the release_doc/RELEASE.txt file contents.
Replaced the "tail +2l" by "sed -e 1d".

Tested:
Tested in Jam to verify it functions properly again.
2009-01-06 17:58:54 -05:00
Albert Cheng
5e1bee4f60 [svn-r13311] Updated copyright notice.
Test:
Just visual inspection as these are all comments changes.
2007-02-14 17:25:02 -05:00
Quincey Koziol
8891e2433a [svn-r13300] Description:
Add mention of the h5copy & h5mkgrp tools to the release notes.

    Update documentation for the "--private" flag in release script

Tested on:
    None - just text/comment changes
2007-02-14 09:51:02 -05:00
HDF Tester
47a72d647d [svn-r13194] Bug Fix.
Updated the DOC_URL with the new Repository URL.
Fixed a syntax error in the doc release commands.

Tested:
kagiso
2007-01-25 02:22:34 -05:00
James Laird
cb95464ffc [svn-r11957] Purpose:
Change to release script

Description:
Silenced doxygen's output when bin/release doc is run.  Now if doxygen
has an error the release script will exit.

Platforms tested:
mir
2006-02-20 11:38:05 -05:00
Albert Cheng
b7d3a581e0 [svn-r11937] Purpose:
New feature.

Description:
Added the feature to make a release tarball for the documents tree too.

Platforms tested:
Feature code was created by James.  I just did some touch up and
tested it by hand in heping.  I am checking it in while he is absent.

Misc. update:
2006-02-15 15:37:00 -05:00
Albert Cheng
d6fd191015 [svn-r11935] Purpose:
Cleanup

Description:
v1.7:
Removed some debug files left by previous change.
Uncommented the removal of the temporary working directory.

v1.6:
Moved the code of removal of the temporary working directory
to a later location in order to stay in sync with v1.7.
(The later location is needed for v1.7 code but makes no different
to v1.6)

Platforms tested:
Tested by hand.
2006-02-15 15:30:51 -05:00
Albert Cheng
8ff52b9038 [svn-r11920] Purpose:
improvement.

Description:
Release must be run at the top of the hdf5 source directory.
Added a test to verify this condition at the beginning of the
command.

Platforms tested:
Tested by hand.
2006-02-06 22:49:32 -05:00
James Laird
5495641296 [svn-r11916] Purpose:
Bug fix in release script

Description:
release --private should create a release without changing the current
version of the library.  This wasn't working for the libtool version, which
was getting bumped regardless.

Solution:
Fixed the release and h5vers scripts to leave the source directory
unchanged when bin/release --private is run.

Platforms tested:
mir (changes to scripts only)
2006-02-01 17:26:14 -05:00
Albert Cheng
a88b4d5acd [svn-r11861] Purpose:
Bug fix.

Description:
release created temporary files in .. directory.  If the -d directory
is the same as the parent directory, it would fail when it tried to
copy the temporary files to the destination directory.

Solution:
Changed release to create a temporary directory and create all temporary
files in that temporary directory.

Platforms tested:
Handtested in heping.
2006-01-04 12:38:30 -05:00
Quincey Koziol
e3d9211fa9 [svn-r11596] Purpose:
Update copyrights

Description:
    Updated copyright information in hdf5/bin and top-level and added some
more files to be skipped to the chkcopyright config file.

Platforms tested:
    None - just eyeballed
2005-10-22 10:35:28 -05:00
James Laird
c9d2d8f74c [svn-r11362] Purpose:
Feature - md5 checksum

Description:
Added md5 checksumming to snapshot releases.  When bin/release is run,
it will by default create a .tar archive and a .md5 checksum of that
archive in the destination directory.

Solution:
md5 is now a method in bin/release, along with the various ways to compress
hdf5.  The checksum is always of the .tar archive, even when other forms
of compression are used (this is so that a given release always has only
one checksum, for simplicity).

Platforms tested:
mir (change to bin/release only)

Misc. update:
2005-09-07 15:20:37 -05:00
HDF Admin
cd5ca85fb7 [svn-r11082] Purpose:
upgrade.

Description:
Release used to copy the updated release_docs/HISTORY.txt and
release_docs/RELEASE.txt to the doc/html/ADGuide.  The doc/ is
removed from the source tree.  So, remove the command that
does the copying.

Note that once the separated doc/ location is known, release needs
to copy the two files into them and committed them via sub-version
commands.

Platforms tested:
No test because it is a trivial change and it is not easy to change
without triggering the full release process.

Misc. update:
2005-07-18 17:14:53 -05:00
Albert Cheng
f6632edfd6 [svn-r9088] Purpose:
Feature

Description:
Added --private option which is for individuals making a private
release version.  It sets the SubRelease string to the date of
release.   This should be sufficient to distinguish releases
provided one does not make two private releases on the same
day.

Platforms tested:
No h5committest since it does not test this feature.
Hand tested it in Eirene.
2004-08-14 19:18:30 -05:00
Albert Cheng
708ee4922c [svn-r4129] Purpose:
update
Description:
    Several files have been renamed or moved to a different location.
    README => README.txt
    RELEASE.txt => release_docs/RELEASE.txt
    HISTORY.txt => release_docs/HISTORY.txt

    Updated h5vers and release to reflect all these new names/locations.
    Also made all uses the same beginning phases for the first line
    of text in README.txt and RELEASE.txt as follows:
        "HDF5 version ... "
Platforms tested:
    eirene by running the bin/release and bin/h5vers -i.
2001-07-06 00:43:38 -05:00
Albert Cheng
e1a266b72e [svn-r3904] Purpose:
new feature
Description:
    Added feature to update RELEASE.txt with release information just
    like what happens to README.  Make a copy of RELEASE.txt to accompany
    the tarball file(s).
    Also moved the umask command up to cover all files created on the fly.
Platforms tested:
    eirene.
2001-05-10 10:02:00 -05:00
Albert Cheng
4ad78c82e2 [svn-r3353] Description:
Automatically update the HISTORY.txt and RELEASE.txt to in doc/html/ADGuide
    by copying the same files at the top level to them.  This keeps the two
    files updated right before release.
Platforms tested:
    eirene.
2001-02-05 14:29:09 -05:00
Albert Cheng
ea86eb9994 [svn-r1981] Make sure new file created in the FTP area have all readiable bits
on.  This does not dictate the accessibility at the NCSA FTP sites
which use AFS ACL.  Just to make it complete.
2000-02-21 22:30:12 -05:00
Albert Cheng
35d1bedfcf [svn-r1791] Moved the MANIFEST checking to a separate command file (chkmanifest) so that
it can be invoked individually.
1999-10-26 14:30:08 -05:00
Albert Cheng
1419e16a65 [svn-r1561] Appranantely, "tail -n +2" is not recognized by a version of tail in
Baldric (solaris 2.6).  Changed it to "tail +2l".
1999-08-02 15:21:44 -05:00
Robb Matzke
9ab6d3211c [svn-r1514] ./bin/release [1.2, 1.3]
The SunOS 5.6 version of `sed' must have slashes as delimiters
	so I made sure that's all that's used in this script even
	though it makes one pattern almost unreadable.
1999-07-19 14:56:18 -05:00
Quincey Koziol
cc031ff31c [svn-r1445] Fixed regular expression in sed 1999-07-07 17:40:07 -05:00
Robb Matzke
e352d29757 [svn-r1292] Changes since 19990430
----------------------

Remove changes from CVS

./bin/release
	Added a `--nocheck' switch which causes the script to not
	check the contents of the MANIFEST file against CVS. This is
	sometimes useful when you need to make a quick snapshot but
	the MANIFEST file is not quite up to date.

./src/H5D.c
	Removed warnings for unused variables

./src/H5Fprivate.h
	Removed the WIN32 definition for `uint' and changed the data
	type for `eof_written' from `uint' to `uintn'. Shouldn't this
	really be `hbool_t'?

./src/H5Odtype.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./test/dtypes.c
./doc/html/H5.format.html
	Added support for bitfields and opaque data types.
1999-06-02 08:59:35 -05:00
Robb Matzke
116491f0d6 [svn-r1112] Changes since 19990301
----------------------

./INSTALL
	Reorganized and added some additional examples.

./MANIFEST
./aclocal.m4			[NEW]
./configure.in
./configure			[REGENERATED]
./src/H5config.h.in		[REGENERATED]
./bin/ltconfig			[NEW]
./bin/ltmain.sh			[NEW]
	Added tests to determine how to compile shared libraries and
	how to link programs with them before the libraries are
	installed.  Also how to install and uninstall shared
	libraries. The configure step also prints the names of the
	config files it's trying to load for easier debugging.

./bin/config.guess
./bin/config.sub
	Replaced with a newer version from GNU.  The changes we made
	to that file to report `irix6.x' and `FreeBSD' without version
	numbers have been incorporated into configure.in instead.  In
	the future, do not change these two files (see the top of
	configure.in instead). By the way, this update was required to
	get shared libraries working.

./config/linux			[REMOVED]
./config/linux-gnulibc1		[NEW]
./config/linux-gnu		[NEW]
./config/alpha-dec		[REMOVED]
./config/alpha-dec-osf4.0	[REMOVED]
./config/dec-osf4.x		[NEW]
./config/irix5.3		[REMOVED]
./config/irix5.x		[NEW]
./config/irix64			[REMOVED]
./config/freebsd
	Moved config files around to agree with output from the new
	config.guess.  The linux file was split into gnu (RedHat),
	gnulibc1, and gnulibc2 versions. The alpha-dec file was
	removed (I think it was unused) and the alpha-dec-osf4.0 was
	changed to dec-osf4.x. The irix5.3 file renamed to irix5.x and
	the irix64 file was renamed to irix6.x. The freebsd file was
	changed to point to linux-gnulibc1. These changes were tested
	on:

		Linux 2.0
		Linux 2.1
		FreeBSD 3.2
		Irix 5.3
		Irix64 6.2
		Irix64 6.4
		HP/UX 10.20
		OSF1 4.0

./config/alphaev56-dec-osf4.x
./config/irix64
	Added warnings similar to linux/freebsd about using compilers
	with known bugs.

./config/commence.in
./config/conclude.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
	Added definitions for shared libraries. This has been tested
	on the following systems:

		Linux 2.0
		Linux 2.1
		FreeBSD 3.2
		Irix 5.3
		Irix64 6.2
		Irix64 6.4
		HP/UX 10.20		static only
		OSF1 4.0

	If you want to disable use of shared libraries (you probably
	do for development purposes since it takes a lot longer to
	compile and because you have to run dynamically linked
	programs in a special way if the library hasn't been
	installed) then add `--disable-shared' to the configure
	command line.  This is all documented in the INSTALL file.

./bin/release
	Temprarily commented out the MANIFEST checking when running
	under svf since svf is about to be replaced by a newer
	version.  This change only affects error checking during the
	release process.

./Makefile.dist
./Makefile.in
	Added `make check' which does the same thing as `make _test'
	since the former is endorsed by the GNU coding style and
	people are used to it.  The old `make _test' still works too
	(and so does `make test' if you use GNU make).
1999-03-02 12:15:35 -05:00
Robb Matzke
04bec43fa2 [svn-r1009] *** empty log message *** 1999-01-07 06:37:42 -05:00
Robb Matzke
75551aae9d [svn-r874] merged bug fix from hdf5-1_0 branch 1998-11-04 21:09:57 -05:00
Robb Matzke
ba9581e64c [svn-r678] ./bin/h5vers
./bin/release
	Fixed some minor things to make them work better.
1998-09-09 13:19:59 -05:00
Robb Matzke
fbacf0337a [svn-r671] Changes since 19980904
----------------------

./MANIFEST
./bin/release
./bin/snapshot
	The format of the MANIFEST file has been relaxed -- comments
	and blank lines should no longer confuse the tools that use
	it.

	As before, this file should contain a list of *all* files that
	are part of HDF5, which means all files which are managed by
	CVS/SVF.  However, files can be marked so they're not part of
	a release by adding _DO_NOT_DISTRIBUTE_ after the file name.

	I've removed all the *.obj files from the distribution by
	adding _DO_NOT_DISTRIBUTE_ after their names.  I also removed
	the old white-papers that might not apply to the current
	version of the library and documentation about chunking
	performance since it's wrong now that chunk caching is
	implemented. Everyone please check the files you're
	responsible for to make sure that they should really be part
	of a release.

	To get a list of all files use
	   grep '^\.' MANIFEST | cut -f1

	To get a list of files for distribution use:
	   grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_

	(These commands assume tabs in the MANIFEST file.  If the file
	might contain spaces then run it through `unexpand' or `tr'
	first).

./configure.in
./configure
./test/ragged.c
	Check for sigaction().

./test/Makefile.in
	The `clean' target removes the timing tests.
1998-09-08 08:38:29 -05:00
Robb Matzke
1e38c13785 [svn-r633] Changes since 19980828
----------------------

./RELEASE
	Updated with important changes I made since the second beta.

./src/H5A.c
./src/H5D.c
./src/H5Dprivate.h
./src/H5G.c
./src/H5Gprivate.h
./src/H5R.c
./src/H5Rprivate.h
./src/H5T.c
./src/H5Tprivate.h
	Any API function that used to take an `hid_t loc_id' followed
	by a `const char *name' can now take any type of object for
	the loc_id as long as the object is somehow associated with a
	file. Internally, H5G_loc() was modified to return an
	H5G_entry_t* instead of an H5G_t* so it's more general.

	Among other things, this allows one to retrieve information
	about an object like a named type or dataset without knowing
	the name of the type or dataset:

	    int
	    get_nlinks (hid_t obj)
	    {
	        H5G_stat_t	sb;
		if (H5Gstat(obj, ".", TRUE, &sb)<0) return -1;
		return sb.nlink;
	    }

./test/gheap.c
./test/istore.c
	These files needed a couple of changes because they call some
	of the internal functions whose H5G_t arguments changed to
	H5G_entry_t.

./src/H5A.c
	Got rid of all the switch statements for getting symbol table
	entries for varous objects and replaced them with a call to
	H5G_loc() allowing attributes to automatically apply to any
	type of object that belongs to a file.

./test/Makefile.in
	Moved the ragged array tests from the normal list of tests to
	the `make timings' target.

./test/ragged.c
	Added rewrite tests -- rewrite the rows of a dataset changing
	the number of rows and the length of each row.

./test/mtime.c
	Added a test that checks that H5Gstat() can be called with a
	dataset as the first argument.

./src/H5S.c
	Added #ifdef HAVE_PARALLEL around code to check for the
	HDF5_MPI_OPT_TYPES environment variable because the global
	variable that gets set is #ifdef'd.

./bin/release
	bzip2 uses .bz2 as the file extension.
1998-08-31 08:46:47 -05:00
Robb Matzke
eb5e01d37c [svn-r620] Changes since 19980825
----------------------

./MANIFEST
./src/H5R.c		[NEW]
./src/H5Rprivate.h	[NEW]
./src/H5Rpublic.h	[NEW]
./src/Makefile.in
./src/hdf5.h
./test/ragged.c		[NEW]
	Preliminary support for 2d ragged arrays for Mark Miller and
	Jim Reus.  Not fully implemented yet. The test is not actually
	part of `make test' because we still have some memory problems.

./src/H5E.c
./src/H5Epublic.h
	Added H5E_RAGGED as a major error number.

./bin/release
	Checks the MANIFEST file against `svf ls' on systems that have
	it.

./bin/trace
	Fixed a bug that caused arguments of type `void *x[]' to not
	be handled.

./src/H5.c
	Removed unused variables and changed a couple types to
	fix compiler warnings.

	Added tracing support for ragged array object ID's and arrays
	of pointers.

./src/H5D.c
	H5Dcreate() will complain if either of the property lists are
	invalid (instead of using the default).

./src/H5D.c
./src/H5Dprivate.h
	Split H5Dget_space() into an API and internal function so it
	can be called from the new ragged array layer.

./src/H5Fistore.c
	Fixed warnings about unsigned vs. signed comparisons.

./src/H5Flow.c
	Fixed a warning about a variable being shadowed in the MPI-IO
	stuff.

./src/H5Iprivate.h
./src/H5Ipublic.h
	Added the H5_RAGGED atom group.

./src/H5Shyper.c
	Fixed some freeing-free-memory errors that resulted when
	certain arrays were freed but the pointers were left in the
	data structures.  I simply set the pointers to null after they
	were freed.

./src/H5Sprivate.h
./src/H5Sselect.c
	Split the H5Sselect_hyperslab() function into an API and a
	private function so it could be called from the ragged array
	layer.

	Added H5S_SEL_ERROR and H5S_SEL_N to the switch statements to
	get rid or compiler warnings.

./src/H5Tconv.c
	Removed a misleading comment.

./test/bittests.c
	Fixed a warning about a printf().

./test/cmpd_dset.c
	Fixed warnings about unused variables because of test #11
	being commented out.

./bin/trace
	Shortened the right margin for the output to allow room for
	the `);' at the end of the TRACE() macros.
1998-08-27 11:48:50 -05:00
Robb Matzke
002b1494b7 [svn-r569] Changes since 19980731
----------------------

./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().
1998-08-05 17:22:59 -05:00
Robb Matzke
a78d6c70ab [svn-r559] Modifies first line of README again. 1998-07-30 15:55:00 -05:00
Robb Matzke
e4aae4fd9b [svn-r549] ./bin/h5vers
Fixed a bug that caused `h5vers -i' to fail with a usage
	message.  The new behavior is the same as `h5vers -i release'
	which increments the release number.

./bin/snapshot
	A shell script intended to be run nightly from cron which
	compares the current version of hdf5 against the previous
	version.  If there are differences it creates a tar file in an
	ftp directory, increments the hdf5 release number, and commits
	the changes back into the cvs repository.  The name of the ftp
	directory in which to place the release can be given on the
	command line (default /hdf3/ftp/pub/outgoing/hdf5/snapshots).
	The CVSROOT environment variable must be set.
1998-07-30 14:48:20 -05:00