Revise archive procedure in gatekeeper
authorJacob Bachmeyer <jcb@gnu.org>
Sat, 5 Nov 2022 04:20:08 +0000 (23:20 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Sat, 5 Nov 2022 04:20:08 +0000 (23:20 -0500)
commit8ed32fd895ad0735c404731b8b9aa2227595daae
treedb9a37121b2789a83196b4a69346332505b30929
parenteef059ae5ff0e743684d9502448ce543eeefa4ef
Revise archive procedure in gatekeeper

 - a structured exception for general processing errors is added
 - the archive sub is renamed to archive_filepair
 - a file and its detached signature are now archived together
 - the archived filename now contains an extra number beyond the timestamp
   only if actually needed for uniqueness
   - the extra number, if used, matches between a file and its signature
   - the archived filename is claimed by creating an "archive stamp" file
 - the option to archive and overwrite a file using "replace" now handles
   the file and its signature as a pair
 - the system mkdir(1) and mv(1) commands are no longer invoked here
 - the testsuite is adjusted accordingly
gatekeeper.pl
testsuite/gatekeeper.all/03_triplet.exp
testsuite/lib/gatekeeper.exp