samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
182 stars 122 forks source link

Lazy migrate all derivatives #6807

Closed laritakr closed 1 month ago

laritakr commented 1 month ago

Fixes

Refs https://github.com/samvera/hyrax/issues/6791

Summary

The existing double_combo branch has a lazy migration for filesets and thumbnails. However it skipped all other derivatives. This change replaces the migrate_thumbnails! method with a more generic migrate_derivatives! method.

Guidance for testing, such as acceptance criteria or new user interface behaviors:

Type of change (for release notes)