Releases: acdh-oeaw/arche-lib-ingest
Minor fixes
Prolong the repository transaction during the acdhOeaw\acdhRepoIngest\MetadataCollection::filterResources()
MetadataCollection enchantments
acdhOeaw\acdhRepoIngest\MetadataCollection::preprocess()
extracted fromacdhOeaw\acdhRepoIngest\MetadataCollection::index()
which allows to solve an issue with preprocessing taking longer than repository's transaction timeout. To assure backward compatibilityindex()
callspreprocess()
when needed (if it wasn't called before).acdhOeaw\acdhRepoIngest\MetadataCollection::setAddTitle()
added allowing to adjust the automatic title creation behaviour.- Automatic title creation for resources missing it turned off by default.
- Obsolete code removed from the
acdhOeaw\acdhRepoIngest\MetadataCollection
class.
URI normalization rules from package instead of a config
Instead of providing URI normalization rules for resource identifiers from the config file they are now read from the require acdh-oeaw/uri-norm-rules composer package.
Added support for AmbiguousMatch errors to MetadataCollection::index()
1.3.1 Added support for AmbiguousMatch errors to MetadataCollection::index()
MetadataIndexer error mode added
acdhOeaw\acdhRepoIngest\MetadataIndexer::index()
now takes an optional third parameter allowing to set the error mode:
MetadataIndexer::ERRMODE_FAIL
the default mode in which a first HTTP 400 response generated on a repository resource creation/update breaks the import.MetadataIndexer::ERRMODE_PASS
in this mode HTTP 400 responses don't break the import but turn of the autocommit and cause an error to be thrown at the end of import. This mode allows to collect metadata problems with all resources speeding up the curation process.
Indexer::setParent() strictLocations parameter added
An additional bool $strictLocations
parameter added to the acdhOeaw\acdhRepoIngest\Indexer::setParent()
method allowing to choose how strictly contained paths described in the parent resource's metadata should be checked.
Bugfixes
Bugfixes
Indexer class API adjusted
The containerDir
and the containerToUriPrefix
configuration properties were removed.
As they are different for every ingestion it made no sense to store them in a common configuartion file.
They are now taken by the acdhOeaw\acdhRepoIngest\Indexer
class constructor instead.
Initial release
1.0.0 Composer.json updated