[archive] implement 'archive-event' option (#5784)

With this, IDs of skipped files will no longer be written to an archive
by default. Use "archive-event": "file,skip" to restore the previous
behavior.
This commit is contained in:
Mike Fährmann
2024-06-27 22:00:59 +02:00
parent 51fdfbe6fc
commit ea81fa985f
2 changed files with 33 additions and 4 deletions

View File

@@ -865,6 +865,25 @@ Description
may pose a security risk.
extractor.*.archive-event
-------------------------
Type
+ ``string``
+ ``list`` of ``strings``
Default
``"file"``
Example
* ``"file,skip"``
* ``["file", "skip"]``
Description
`Event(s) <metadata.event_>`__
for which IDs get written to an
`archive <extractor.*.archive_>`__.
Available events are:
``file``, ``skip``
extractor.*.archive-format
--------------------------
Type