Tar will hard-error with the message:
tar: ./include/**.h: Not found in archive
tar: Exiting with failure status due to previous errors
if the temppack.tar does not contain a match. We have to use a special
module to silence this match for several reasons.
- There is no way to ignore this error (even though it has been
requested on the GNU tar mailing list).
- We cannot redirect the output of tar to /dev/null easily. We have to
use the LIST form of system which does not allow for redirection.
Instead of writing directly to /tmp, create our own temporary directory
via File::Temp. There is no need for dedicated cleanup. The directory
will be removed as soon as the tempdir object goes out of scope.
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
=============
- Add an option '-c' that triggers the use of "candidate packages" that can
be added to trunk, or overriding packages in trunk.
- Now the created releases have a file named .scm-urls in all
directories. Those files list the SVN URL of the packages that were used
to create the files in that directories (including sub-directories). In
particular, the .scm-urls file of the root of the tarball lists all
packages that were used.
Minor changes:
=============
- The script now runs with "use warning" without any warning. It really
found errors, such as:
- Fix $SIG{QUIT} -> $SIG{EXIT} (the former does not exists)
- Small simplification of the tar command line, now that the
global_dont_submit file exists.
by email (sended by crond) the warnings about conflicting files."
- Copy demo/icons and demo/resources in test/ (during internal release
creation), so that demos can find the resources.
incorrect syntax to check the equality of two string.
Revision 45484 was:
"Mix my previous commit (revision 45481): that script is perl, and not sh!"
Revision 45481 was:
"Blacklist "icons" and "resources" in create_internal_release, so that
icons_Demos and resources_Demos are not created in internal releases."
Tar::Archive
Tar::Archive::File
File::Copy
File::Copy::Recursive
- Conflicts between two CGAL packages (two files with same names) are
now checked (using CPAN packages "Archive::Tar" and
"Archive::Tar::File" and a hash table of all files).
- Use the -C option of GNU/tar, instead of several 'mv' and 'cp -r'.
- Use commands 'move' and 'dircopy' from File::Copy and
File::Copy::Recursive, instead of using system with 'mv' and 'cp -r'.