Skip to content

Releases: acdh-oeaw/arche-lib-ingest

Minor fixes

27 Jul 09:34
Compare
Choose a tag to compare

Prolong the repository transaction during the acdhOeaw\acdhRepoIngest\MetadataCollection::filterResources()

MetadataCollection enchantments

14 Jul 15:15
Compare
Choose a tag to compare
  • acdhOeaw\acdhRepoIngest\MetadataCollection::preprocess() extracted from acdhOeaw\acdhRepoIngest\MetadataCollection::index() which allows to solve an issue with preprocessing taking longer than repository's transaction timeout. To assure backward compatibility index() calls preprocess() 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

18 Jun 19:30
Compare
Choose a tag to compare

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()

27 Apr 20:30
Compare
Choose a tag to compare
1.3.1

Added support for AmbiguousMatch errors to MetadataCollection::index()

MetadataIndexer error mode added

09 Apr 18:31
Compare
Choose a tag to compare

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

01 Apr 16:54
Compare
Choose a tag to compare

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

19 Mar 18:49
Compare
Choose a tag to compare
1.1.2

Configuration property names adjusted in Indexer class code

Bugfixes

19 Mar 14:16
Compare
Choose a tag to compare
1.1.1

Silly use statement error fixed

Indexer class API adjusted

17 Mar 15:58
Compare
Choose a tag to compare

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

16 Mar 16:30
Compare
Choose a tag to compare
1.0.0

Composer.json updated