summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/fossil-bundle.dir-to-ia.config24
1 files changed, 24 insertions, 0 deletions
diff --git a/samples/fossil-bundle.dir-to-ia.config b/samples/fossil-bundle.dir-to-ia.config
new file mode 100644
index 0000000..c54d4f2
--- /dev/null
+++ b/samples/fossil-bundle.dir-to-ia.config
@@ -0,0 +1,24 @@
+exit 1
+# Calculate SHA-256 hash of each file after uploading
+sha256=yes
+
+# Remove local file after successful upload; when disabled, only files without a filename match in the IA item get uploaded.
+rm=no
+
+# Delay removal until IA processed the upload
+rmwait=yes
+
+# Run an SHA-1 check against the local file after the upload using the hash calculated by IA; if rm and sha1check are enabled, rmwait must also be enabled.
+sha1check=yes
+
+# Clobber existing files in IA item (no = existing copy is moved to history/files/ by IA); only meaningful with rm=yes.
+clobber=no
+
+# Queue derive after upload (applied after every file!)
+derive=no
+
+# Custom options for ia-upload-stream, as an array of args; this can be used to choose the part size and concurrency, for example, using (--part-size 1G --concurrency 4).
+iauploadstreamopts=()
+
+# Item metadata (array with 'key:value' elements); the only mandatory variable with no default
+metadata=('collection:open_source_software' "date:2025-12-01" "description:Fossil repos for all non-empty code and wiki repositories under https://fossil.wanderinghorse.net/r/ as of 2025-12-01 22:10 UTC. Retrieved with fossil 2.27 ([99675884a9] 2025-09-30 11:03:45 UTC) using <code>USER=archiveteam-codearchiver-runner fossil clone --unversioned -v --once --no-open $REPOURL $LOCALPATH</code>" 'mediatype:software' 'title:Fossil wanderinghorse.net repository clones (2025-12-01)')