Handle updater as management command
It would be nice to provide a management command that iterates over all digital objects and updates their handles. This would be useful e.g. when a HELIPORT instance is moved to a different domain.
I know @mv141575 wrote some code for this already. So this shouldn't be too much work.
Might be easy to do when dealing with #545.
Considerations:
- Update only
generated_persistent_id
becausepersistent_id
could be assigned by a user. - Handle records might have existing values, so the process should be:
- download handle record
- delete all
URL
items - create new
URL
item (in first available index) - upload handle record