Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to pass options to drush 'build' command #29

Open
mjordan opened this issue May 19, 2020 · 2 comments
Open

Provide ability to pass options to drush 'build' command #29

mjordan opened this issue May 19, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@mjordan
Copy link
Owner

mjordan commented May 19, 2020

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?

@mjordan mjordan added the enhancement New feature or request label May 19, 2020
@mjordan
Copy link
Owner Author

mjordan commented Sep 13, 2020

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

@mjordan
Copy link
Owner Author

mjordan commented Sep 13, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant