[postprocessor:metadata] implement archive options (#2421)

'archive', 'archive-format', and 'archive-prefix'
This commit is contained in:
Mike Fährmann
2022-03-20 21:16:46 +01:00
parent be3492776b
commit 9bd27b1b8d
4 changed files with 63 additions and 18 deletions

View File

@@ -599,7 +599,9 @@ Description
memory requirements are significantly lower when the
amount of stored IDs gets reasonably large.
Note: archive paths support regular `format string`_ replacements,
Note: Archive files that do not already exist get generated automatically.
Note: Archive paths support regular `format string`_ replacements,
but be aware that using external inputs for building local paths
may pose a security risk.
@@ -3139,6 +3141,19 @@ Description
Note: Only applies for ``"mode": "custom"``.
metadata.archive
----------------
Type
|Path|_
Description
File to store IDs of generated metadata files in,
similar to `extractor.*.archive`_.
``archive-format`` and ``archive-prefix`` options,
akin to `extractor.*.archive-format`_ and `extractor.*.archive-prefix`_,
are supported as well.
metadata.mtime
--------------
Type