Commit Graph

17 Commits

Author SHA1 Message Date
Albert Cheng
f70640457b [svn-r11696] Purpose:
Improvement

Description:
The previous HTML files strategy was to expect the very first comment
block is the copyright notice. That did not work well as more and more
other comments appear now.

Solution:
Changed the strategy to look for the only the essential body of copyright
notice.  This no longer verifies this body of text is a comment block. But
the previous strategy is not really bullet-proof either.

Platforms tested:
tested in heping.
2005-11-09 17:23:58 -05:00
Albert Cheng
613faa7bc5 [svn-r11678] Purpose:
Bug fix, feature.

Description:
Fix a bug to recognize "#xyz..." is a comment in the init file.
Add more binary data file types.
Added prunepath command.

Platforms tested:
heping.
2005-11-03 13:46:34 -05:00
Albert Cheng
b28bbdc8e0 [svn-r11672] Purpose:
Added more Windows binary file types and exempted file.
2005-11-02 14:27:12 -05:00
Albert Cheng
8d74b8be52 [svn-r11664] Purpose:
Forgot to remove a debug echo statment.  Fixed.
2005-11-01 14:14:11 -05:00
Albert Cheng
ea9707ccdf [svn-r11652] Purpose:
Improvement

Description:
The copyright notice of some files may contain some white spaces such
as tabs, trailing blanks and \r (common in Windows files).  Diff will
flag them as not matching.  Could not just use -b or -w of diff because
it will ignore embedded spaces and could not handle \r anyway.

Solution:
Added a RINSE function will remove all \r and trailing spaces and
expand tabs to proper number of spaces.  Now, diff can compare without
worry of cosmetic white spaces.

Platforms tested:
heping, applying on a Windows/copy_hdf.bat file.
2005-11-01 11:59:59 -05:00
Albert Cheng
c931d25499 [svn-r11648] Purpose:
Feature

Description:
Added copyright detection for Windows files, *.dsw, *.dsp, *.zip (these
are ignored), and *.bat files.

Platforms tested:
heping.
2005-11-01 10:08:36 -05:00
Albert Cheng
599b91eb19 [svn-r11627] Purpose:
improvement.

Description:
It records passed files and reports numbers of both passed and failed files.
2005-10-30 01:00:50 -05:00
Albert Cheng
aacf40d541 [svn-r11624] Purpose:
Added *.jpg and *.hdf5 as binary data files to be ignored.

Platforms tested:
heping.
2005-10-29 17:05:10 -05:00
Albert Cheng
c8b3b907b6 [svn-r11622] Purpose:
Improvement.

Description:
Added knowledge to recognized an HTML file by its content by looking for <html> tag.

Platforms tested:
heping.
2005-10-29 16:32:19 -05:00
Albert Cheng
76c527a58e [svn-r11548] Purpose:
Added another case of shell-like style file--if lines leading by #'s
are found, treat it like a shell-like style file.

Platforms tested:
hand tested in heping.
2005-10-11 16:06:17 -05:00
Albert Cheng
414249dcea [svn-r11544] Purpose:
New feature.

Description:
Added code that try to guess what type of file it is by inspecting the
first 5 lines.  Then it tries to find the Copyright notice according
to the guess.
2005-10-11 14:40:43 -05:00
Albert Cheng
8304162ea2 [svn-r11535] Purpose:
Another revamp.

Description:
Now search the copyright notice within the beginning 60 lines only.
(This applies to source code.  For HTML files, it is still search
all the way through the file.)

Platforms tested:
Hand tested.
2005-10-11 10:49:16 -05:00
Albert Cheng
8cad61e8a6 [svn-r11526] Description:
A near total rewrite, added initialization feature, more flexible where
the copyright notice is.

Platforms tested:
Hand tested.
2005-10-11 00:03:43 -05:00
Albert Cheng
be9a23cac3 [svn-r11471] Purpose:
revision.

Description:
The copyright notice for Makefile(in) were fixed at the beginning of the files.
But they are now generated by automake and autoconf such that Gnu jams its
own copyright block at the beginning.

Solution:
Changed the rule such that the HDF5 copyright notice can be somewhere else
in the file as long as they are together as one paragraph.

Also added recognition of Makefile.am as a possible MAKEFILE type.

Platforms tested:
Tested by hand in heping.
2005-09-27 15:04:37 -05:00
Albert Cheng
779af14613 [svn-r7359] Purpose:
New features

Description:
Add options of verbose (-v, -v9) and -fname which limits to
checking file with the file name pattern.

Solution:

Platforms tested:
Did not h5committest which does not cover this command.
Verified it by hand.

Misc. update:
2003-08-13 16:41:34 -05:00
Albert Cheng
1c03bdd2ff [svn-r7344] Purpose:
feature

Description:
Added the checking for Makefile.
Skip checking CVS files.
Printed filename of unknown file types.

Platforms tested:
No h5committest.
Tested by hand on various files.

Misc. update:
2003-08-11 16:32:17 -05:00
Albert Cheng
11b2e43980 [svn-r7251] Purpose:
New Feature

Description:
A command script to check if the Copyright notice is included in
the files.

Platforms tested:
no h5committest since it does not apply.
Tested by hand.

Misc. update:
Updated MANIFEST
2003-07-22 20:28:43 -05:00