The publish gate: a release owns pointers, never files
Source:R/asset_store.R
store_publish_gate.RdStops unless every pointer URL names a catalogued store object, and - when a bucket
listing of the release's own prefix is given - nothing bulk (.tif, .tiff, .pmtiles)
lives under {ver}/. A pointer at a VM host (the file-host PMTiles mirror included) or at a
versioned path ({ver}/native/...) fails the first check (url_audit() class store AND
asset_key_from_url() not NA); a key the catalog does not list fails the second: an object
must be uploaded and catalogued before any pointer names it.
Arguments
- urls
pointer URLs (
native_asset$asset_url;NAignored)- catalog
the store catalog (
asset_catalog_read()), already holding this run's objects- ver
release id (
^v[0-9]+[a-z]?$)- listed
object keys under the atlas root (a recursive listing of
{ver}/, with or without themarine-atlas/prefix), orNULLto skip the prefix check- legacy_ok
warn instead of stopping on bulk files under
{ver}/