Refactor EnhancerScripts ItemEnhancerEntityType ItemEnhancerByDate #440
+2,500
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
References
Add references/links to any related issues or PRs. These may include:
This is based on the Enhancement tools #312 PR only using the scripts for better overview over the PR and the changes in the last year.
Description
Enhancer Scripts:
ItemEnhancerEntityType
item-enhancer-type
-c --collection
: restrict enhancement to all Items of a collection-e --entitytype
: restrict enhancement to all Items of a given type-m --max
: only enhance a maximum number of items (e.g. test result or effect on new enhancer)-m && -e
: restrict enhancement to limited number of Items of a given type of all collections-l --limit
: use some limit after which some commit is made (avoid long time processes and one single commit on all entities)-o --offset
: enhance skipping the first items. Usable together with max for pagination.Options:
item-enhancer-date
-c --collection
restrict enhancement to all Items of a collection-e --entity
: restrict enhancement to all Items of a given entity type-m --max
: only enhance a maximum number of items (e.g. test result or effect on new enhancer)-l --limit
: use some limit after which some commit is made (avoid long time processes and one single commit on all entities)-s --datelower
-d --dateupper
: apply some solr daterange filter on the lastModified date (enhance all items modified between x and y || enhance all items modified before date z)-q --query
apply some general solr-filter (e.g. enhance all items matching some criteria, e.g. not enhanced by some cris.virtual.* field or some other criteria yet)Include guidance for how to test or review your PR.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
pom.xml
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.