mjordan/islandora_repository_reports

Provide ability to pass options to drush 'build' command

mjordan opened this issue · 2 comments

Currently, the Drush command that generates cached report data uses the options that the user most recently selected via the report selection form at admin/reports/islandora_repository_reports. This means that for reports like disk usage, you can only pregenerate one of 'collection', 'MIME type', or 'filesystem'.

It should be possible to pass options to the drush command. Maybe as an option that takes a serialized JSON dictionary of the options?

Islandora Bagger uses --extra='{"serialize": "tar", "hash_algorithm": "md5"} to pass data to a Symfony console command.

If we do this, we should allow for pregenerating data using multiple combinations options. Maybe an implementation of a profile or preset configuration?