Replace 'parsefunc' (cf_opt_foo) function arguments in schema
declarations with 'repr' (foo) names, which are used to declare
cf_opt_foo and cf_fmt_foo.
To be used as the --exec-on-unpack option to rhizome_mirrord
Rsyncs all the unpacked zip files to the Serval Maps testing server and fetches
the Serval Maps re-scan URL
Is invoked with arg1 = path of unpack directory, args2..N = names of newly
unpacked directories within arg1
If the RHIZOME_MIRRORD_LOG_STDOUT env var is set, then enables shell execution
tracing
Now only affects when a blob is written, but reading will attempt the
database first, and look for an external blob file if that fails
Test case recently added in b20e714ffb now
passes
New options: --unpack-dir --exec-on-unpack --log-to-stdout
Unpacks Zip and Tar files after they are extracted from Rhizome
Runs a given command (executable) after unpacking any Zip or Tar files
OUT()s or where return() is used instead of RETURN().
Added OUT() to end of all functions using IN() that lacked it to
make it easier to statically analyse this invariant.
Fixed several return instead of RETURNs detected through use of
this tool. #49
sqlite_void_exec() and its ilk now return the count of changed rows, not
just zero, on success
sqlite_exec_prepared() and its ilk now return the count of rows (number
of step results SQLITE_ROW), instead of just zero, on success
rhizome_clean() function now produces an optional report of its changes
rhizome_fail_write() and rhizome_finish_write() now log WARNings not
ERRORs if the SQL DELETE FROM FILES or DELETE FROM FILEBLOBS statements
fail
Refactor rhizome_open_read() to use sqlite_exec_int64()
Ensure that 'rhizome extract' and 'rhizome dump' commands return exit
status of 1 in "not found" conditions, not 255, which is reserved for
errors
Test cases for four new commands: 'rhizome delete bundle', 'rhizome
delete manifest', 'rhizome delete payload' and 'rhizome delete file'
(no test case for 'rhizome clean' yet)
- made some debug output conditional.
- make it possible to debug slip decoding without getting swamped by other output.
- Improve reporting of unnamed schedule() calls.
- always collect performance statistics, and report on any excess
use (>1sec in every 3), even if debug.timing is not enabled.
- include file size information in Rhizome transfer messages.
- reduce output when debug.rhizome_rx is set.