From 6fd68ba47ec68a9e2ffb52b7d4cf6b1030e910a3 Mon Sep 17 00:00:00 2001 From: klea Date: Tue, 2 Dec 2025 00:54:55 +0100 Subject: samples: mv and ln better store item id --- samples/fossil-bundle.dir-to-ia.config | 25 +--------------------- ...inghorse.net__bundles_20251201.dir-to-ia.config | 24 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 24 deletions(-) mode change 100644 => 120000 samples/fossil-bundle.dir-to-ia.config create mode 100644 samples/fossil.wanderinghorse.net__bundles_20251201.dir-to-ia.config diff --git a/samples/fossil-bundle.dir-to-ia.config b/samples/fossil-bundle.dir-to-ia.config deleted file mode 100644 index c54d4f2..0000000 --- a/samples/fossil-bundle.dir-to-ia.config +++ /dev/null @@ -1,24 +0,0 @@ -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 USER=archiveteam-codearchiver-runner fossil clone --unversioned -v --once --no-open $REPOURL $LOCALPATH" 'mediatype:software' 'title:Fossil wanderinghorse.net repository clones (2025-12-01)') diff --git a/samples/fossil-bundle.dir-to-ia.config b/samples/fossil-bundle.dir-to-ia.config new file mode 120000 index 0000000..89d443b --- /dev/null +++ b/samples/fossil-bundle.dir-to-ia.config @@ -0,0 +1 @@ +fossil.wanderinghorse.net__bundles_20251201.dir-to-ia.config \ No newline at end of file diff --git a/samples/fossil.wanderinghorse.net__bundles_20251201.dir-to-ia.config b/samples/fossil.wanderinghorse.net__bundles_20251201.dir-to-ia.config new file mode 100644 index 0000000..c54d4f2 --- /dev/null +++ b/samples/fossil.wanderinghorse.net__bundles_20251201.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 USER=archiveteam-codearchiver-runner fossil clone --unversioned -v --once --no-open $REPOURL $LOCALPATH" 'mediatype:software' 'title:Fossil wanderinghorse.net repository clones (2025-12-01)') -- cgit v1.3.1-10-gc9f91