Commit Graph

19 Commits

Author SHA1 Message Date
Albert Cheng
9d72e487e3 [svn-r28388] HDFFV-9573: bin/chkmanifest did not like the missing generated file.
Changed bin/chkmanifest to generate the files if configure is missing.

Tested: jam
2015-11-18 12:31:51 -05:00
Dana Robinson
88ac8e8929 [svn-r26428] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly.

Tested: Manually on jam by modifying svn-controlled files
2015-03-11 01:40:54 -05:00
Dana Robinson
52607ae900 [svn-r26427] Revert of r26426
The repository wasn't clean when I made some changes so untested
code was committed.
2015-03-11 01:39:48 -05:00
Dana Robinson
3ed20376e0 [svn-r26426] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly.

Tested: Manually on jam by modifying svn-controlled files
2015-03-11 01:35:51 -05:00
Dana Robinson
6ee9ea656f [svn-r26348] Updates bin/chkmanifest to correctly handle the seven Subversion status
columns that are output by svn stat.

Previously, the script assumed that they would all be blank for newly-
added files. This is not always true when merging.

Part of: HDFFV-8895

Tested on: jam (bin/chkmanifest only)
2015-03-03 18:31:31 -05:00
Dana Robinson
a83b6d6651 [svn-r26311] Merged r26266-7 from features/autotools_rework
Updates the bin/chkmanifest script so that it parses the output
of svn commands instead of hacking at the .svn/entries file. This
will make the script more future-proof and allows it to work with
current Subversion repositories.

Tested on: jam (bin/chkmanifest only)
2015-02-26 09:02:48 -05:00
Albert Cheng
cf212aebf8 [svn-r17562] Fixed a syntax error that generates a file named 0.
Tested:
Jam as it is simple shell script change.
2009-09-30 22:44:43 -05:00
Larry Knox
7b93d00cd6 [svn-r17259] Comparison should write to dev/null instead of a file named 0. Tested on colonelk. 2009-07-28 16:45:35 -05:00
Larry Knox
39ad4fae0f [svn-r17173] Add simple perl script supplied by user to check for duplicate entries in MANIFEST. Duplicate entries will be reported along with any other MANIFEST errors and cause exit value to be 1.
Tested on jam, linew, smirom, and tg-login2.
2009-07-09 11:46:41 -05:00
Albert Cheng
47ab8fa29d [svn-r13902] Purpose:
Simple code improvement to have more unified code.

Tested:
in kagiso only since it is a simple script change.
2007-06-24 19:15:56 -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
Albert Cheng
6efb39a88e [svn-r13168] Purpose:
bug fix.

Problem:
1. The last fix using "svn --version" did not work since the source code
is shared between different machines which have different svn versions.
Changed the code to inspect the .svn/entries content to guess what version
of svn uses.  From that to decide which GETSVNENTRIES to use.

2. GETSVNENTRIES_14 had two errors:
2.a., % as 1,$ is actually not recognized by ed.  Changed that to "1,$s/..."
  but that got mixed up with $ being a shell meta-character.  Changed to use
  g command instead. (Could have use \ to escape $ but g is cleaner.)
2.b., Some directories have no files but sub-directories.  The ed script
  might end up with an empty file in some steps and ed does not like to
  run g command with an empty file.  Fixed it by adding a dummy blank line.

Platforms tested:
Osage and copper.
2007-01-22 16:36:33 -05:00
Albert Cheng
7d4e3a676b [svn-r13162] Purpose:
Upgrade.

Description:
svn version 1.4.x uses a different format of .svn/entries files as older
versions like 1.3.x.  chkmanifest could not parse the file correctly.

Solution:
Created different versions of entries file parsing according to svn version.
There is also a bug in grep that matches ./configure with ./fortran/configure.
Don't know how to or even possible to nullify the wildcard character effect
of '.'.  Added a ^ to mark beginning of line.  At least it makes it the same
length though it would still match with "X/configure".  Hopefully this sort
of error are easier to detect by human
2007-01-21 01:09:25 -05:00
Albert Cheng
a44487281d [svn-r12547] Added code to try harder to locate the MANIFEST file in more locations. 2006-08-06 02:45:52 -05:00
Albert Cheng
320a4f5e1f [svn-r12484] Purpose:
Upgrade

Description:
chnaged it from doing CVS-managed files to SVN-managed files.
(The use of ed, is real ugly, but ed exists in all Unix systems.
May want to consider using awk which is a more powerful and will have
a cleaner implementation.)
2006-07-20 14:02:14 -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
Albert Cheng
eb60599a77 [svn-r2362] Changed the file searching pattern to look for end of line to match
a complete file name.  This distinguish file ./config/unicos from
./config/unicosmk.
Tossed in a cleanup feature by removing the temporary file when finished.
2000-06-07 15:41:49 -05:00
Albert Cheng
0fc0c73054 [svn-r1938] Print a message when all is well. 2000-01-07 18:23:57 -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