artefactual-labs / mets-reader-writer

Library to parse and create METS files, especially for Archivematica.
https://mets-reader-writer.readthedocs.io
GNU Affero General Public License v3.0
20 stars 13 forks source link

Ensure FILEID is updated in all places #72

Closed ross-spencer closed 5 years ago

ross-spencer commented 5 years ago

Custom file ids must be updated across the code. When a METS file is being updated, as an example, the existing FILEID should be read and passed back into the FSEntry constructor as required. The FSEntry repr method has been updated to provide more comprehensive class debugging information when called.

Required by https://github.com/artefactual/archivematica-storage-service/pull/473 Connected to archivematica/Issues#660

NB. Will become 0.3.10 once reviewed, and I will rebase the three commits into a single feature commit.