NASA-PDS / deep-archive

PDS Open Archival Information System (OAIS) utilities, including Submission Information Package (SIP) and Archive Information Package (AIP) generators
https://nasa-pds.github.io/deep-archive/
Other
7 stars 4 forks source link

Add timestamp to SIP / AIP product LIDs and filenames #63

Closed jordanpadams closed 4 years ago

jordanpadams commented 4 years ago

Is your feature request related to a problem? Please describe. Since people may be generating these products on bundles referencing collections by LID only, we need to add some other information to the product LIDs in order to ensure uniqueness. We could version the SIPs, but I think the best option is to add a timestamp (YYYYMMDD) to the logical_identifier and filename for the SIP / AIP products so that they are unique. Otherwise, the software will produce the same files when run for each data release.

e.g. :

insight_cameras_v1.0_20200601_aip_v1.0.xml

with a LID of:

urn:nasa:pds:system_bundle:product_aip:insight_cameras_v1.0_20200601

Open to other ideas?

Refs #24