Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

29_record_deposit_size.sh - Record the deposit size for the big-ingest decision

Description

Writes the ZIP size and the unzipped size of the deposit to generated/deposit-size.csv, using tools/big_ingest.py record-size. The “Download” step of both the regular and the big ingest pipeline calls it, so the information is available to the “Check downloads” step and, being part of generated/, is committed to the deposit together with the other generated files.

Usage

./automations/29_record_deposit_size.sh <project-dir>

The ZIP is looked for as <project-dir>.zip and cache/<project-dir>.zip. See big_ingest.py - Helpers for handing a deposit to the big ingest.