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

Merge metafacture-fix. #586

Draft
wants to merge 1,080 commits into
base: master
Choose a base branch
from
Draft

Merge metafacture-fix. #586

wants to merge 1,080 commits into from

Conversation

blackwinter
Copy link
Member

@blackwinter blackwinter commented Dec 13, 2024

Imported metafacture/metafacture-fix@b254549.

Resolves #577 (details outlined here).

dr0i and others added 30 commits December 13, 2022 11:24
Co-authored-by: Jens Wille <jens.wille@hbz-nrw.de>
- add tests
- add to README
This was overriding every defaultValue, but maps should have the possibility
to have different default values.
Fixes the "Failed to load class org.slf4j.impl.StaticLoggerBinder" message
when building.
Implementation against further tests from
#415 (comment).

- adapt some falsely Fix
- reuse test file "hcrt.ttl"
- one test tagged as "todo" because it needs introduction of new parameter
- reformat hcrt.ttl
- enable integration test
- add test

See #415.
- update README
- integrate lookup_rdf() into lookup()
- rename target_language to select_language (complements b49445d)
- remove comments in integrations test.fix for these are accounted to
This tests a redirected URL handled in org.metafacture.metafix.maps.RdfMap#read.
Tweak test: add blank inserted by `paste` as default `join_char`
…ogrammaticallyAddedValues

Fix issues caused by incomplete value paths
TobiasNx and others added 25 commits October 29, 2024 11:02
The generated start script for Windows consists of a huge classpath.
This classpath was too long, resulting in an error when executing the start
script. Using wildcard to include libraries shortens the classpath so that now
error occurs when executing the start script.
Co-authored-by: Jens Wille <jens.wille@hbz-nrw.de>
Gradle would produce the following error on Windows (while Linux is not affected):

"Cannot access input property 'classpath' of task ':metafix-runner:startScripts'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to https://docs.gradle.org/8.10.2/userguide/incremental_build.html#sec:disable-state-tracking in the Gradle documentation."
Co-authored-by: Jens Wille <jens.wille@hbz-nrw.de>
Co-authored-by: Jens Wille <jens.wille@hbz-nrw.de>
Ignore old value's path in `copy_field` Fix function.
Enables java logging. The log level can be changed by setting a variable.
Set and run like this:

export JAVA_OPTS="-Dorg.metafacture.metafix.logLevel=DEBUG"; ./gradlew installDist;  cd metafix-runner/build/install/metafix-runner; bin/metafix-runner $pathTo.flux

Note that you cannot use `./gradlew :metafix-runner:run ...` as setting
the log level only works within the distribution.

Co-authored-by: Jens Wille <jens.wille@hbz-nrw.de>
Optionally specify limit for number of entities in a record.
@blackwinter blackwinter requested review from fsteeg and dr0i December 13, 2024 15:48
@blackwinter blackwinter mentioned this pull request Dec 13, 2024
37 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Working
Development

Successfully merging this pull request may close these issues.

Include metafacture-fix
5 participants