Closed marcelomgarcia closed 7 months ago
If you create SIPs by hand, you still will not be able to preserve internal directory structure within the AIP. This limitation is due to the way Preservica stores the AIP, it is not due to a limitation with the Python library.
see:
If you need to change the default fixity you can use:
https://pypreservica.readthedocs.io/en/latest/upload.html#custom-fixity-generation
This is continuation of Preserve directory structure with complex_asset_package(). We have an ingest script (provided by Preservica),
ingest.py
, that works fine, but it uses SHA1, and we need SHA256.From PyPreservica documentation it seems that to use
Fixity
, we need to use it with*_asset_package,
but as discussed in issue #10, we loose the directory structure. Is there a way to generate the zip file "by hand," like in theingest.py
, and still useSha256FixityCallBack
to generate the SHA256?