Skip to content

Releases: acdh-oeaw/repo-file-checker

arche-lib-ingest bumped to 4

13 Feb 19:06
Compare
Choose a tag to compare
3.1.4

composer.json: arche-lib-ingest bumped to 4

Bugfixes

10 Jan 10:50
Compare
Choose a tag to compare

Default parameters of the Dockerfile entrypoint fixed

zenodoDOI

10 Aug 09:16
Compare
Choose a tag to compare

A release to track this repository with Zenodo and allow academic referencing.

Bugfixes

13 Jun 10:05
Compare
Choose a tag to compare
3.1.1

index.php: fix the --redmineAppend parameter definition

option of the Redmine update issue added

15 Feb 13:45
Compare
Choose a tag to compare

The CLI now accepts --redmineIssueId, --redmineUser, --redminePswd, --redmineToken, --redmineDone, --redmineMessage and --redmineAppend (and also --redmineApiUrl) parameters allowing to update a corresponding redmine issue with the results of the check.

The minimum set of parameters is --redmineIssueId {id} and --redmineUser {user} --redminePswd {pswd} or --redmineToken {token}. The redmine issued id can be either a top-level curation issue id or the "run repo-file-checker" issue id.

v3.0.0

15 Feb 08:30
Compare
Choose a tag to compare

A complete rewrite of the code:

  • CLI enhancements
    • it's now enough to specify the dir to test and the dir to write reports into
    • --match {regex} parameter added for checking only selected files
  • More flexible reports:
    • choose from JSON, CSV and HTML or just generate all of them
    • HTML report provides all previous formats at once
  • Better checks:
    • bagit format recognized by presence (and content) of a bagit.txt, also if it's stored as a zip, tar gz or tar bz2 archive
      (instead of being stored in a subdirectory of a bagit directory)
    • file duplication recognized by file hashes (instead of file names and size)
    • byte order mark check added
    • password protection recognition in ods and odt added
    • more reliable file content vs file extension checks
    • XML schema validation added
    • check for corrupted image files added
    • arche-assets-based check for formats not accepted by ARCHE added
  • Global progress bar.
  • Tons of technicalities tuning:
    • Performance optimizations
    • Checking zip files without uncompressing their whole content
    • Switched to maintained bagit library
    • HTML report is self-embedded and doesn't suffer from CORS issues
    • Various views in the HTML report are now generated with the JavaScript code when the report is being viewed

Bugfixes in the docker image

28 Nov 10:30
Compare
Choose a tag to compare
2.1.1

dockerinit.sh: return non-zero exit code on error

Register as composer's vendor/bin app and add a docker image

21 Nov 14:46
Compare
Choose a tag to compare

The filechecker script is now registered under vendor/bin and it's also possible to run it using a dedicated docker image.
See the README.md for details.

2.0.0

25 Jan 14:56
Compare
Choose a tag to compare
  • Get rid of config.ini file. Pass runtime parameters to the index.php instead.
  • Make index.php exit with a non-zero code on errors:
    • Introduce die2() function which not only exits displaying a given message but also sets the exit code to 1 and replace all die() calls witht it.
    • Add a quick and dirty solution for tracking if there was an error during the checks (the JsonHandler::writeDataToJsonFile() method checks if there was a call with the $type === 'error')
  • Fix PSR-4 autoloading in composer.json and remove manual class file imports (despite the scholarslab/bagit package which doesn't provide autoloading).
  • Add composer vendor dir autodetection to index.php in case the package is installed using composer.
  • Fix relative paths usage.

Initial release

25 Jan 11:47
Compare
Choose a tag to compare
1.0.0

composer.json: prepare to publish as a composer package