kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
58 stars 64 forks source link

Use named IDs again when writing METS files #6088

Open matthias-ronge opened 1 month ago

matthias-ronge commented 1 month ago

In the 2.x versions, named identifiers were written to the METS files, so FileSec entries got IDs FILE_0001, FILE_0002, FILE_0003, ..., DmdSec entries got IDs DMD_0001, DMD_0002, DMD_0003, ..., and that for all IDs assigned in METS files. This behavior has been replaced by the use of UUID strings (cf. https://github.com/kitodo/kitodo-production/commit/ca030766d9d0770a5eba8b0fada3163686c1f06c), but in practice this is confusing when you look at a METS file in a text editor for debugging purposes. So I would like to reinstate the original behavior. The PR is also for a discussion about whether there are pros and cons to this, and which ones.

andre-hohmann commented 7 hours ago

If this issue will be solved, the persistence of the ID should be regarded!

Although i wanted the "name Identifiers" instead of the UUID, i am not sure, if it is a good idea to reinstate the original behavior. Meanwhile, there are many objects with UUID and with regard to the persistence of ID, they should not be changed. I tried to explain it in the following discussion:

I understand your motivation, as I also analyse many METS files myself. Nevertheless, we should take a good look at how the desired goal can be achieved without causing further effort.