Add built in feature to generate SAF files #3758
Labels
help wanted
Needs a volunteer to claim to move forward
new feature
tools: packager
related to package or AIP importer/exporter
Is your feature request related to a problem? Please describe.
The 'Batch import (ZIP)' feature in the DSpace admin interface requires the user to upload a zipped SAF (Simple Archive Format) file.
Currently there are 4 GitHub repos that people have made available offering solutions for generating the SAF files:
These repos are not necessarily maintained, and some of them have not been updated in a long time, deeming them an unreliable and unsustainable solution.
Describe the solution you'd like
It would be nice if there was a built-in DSpace feature where either:
Describe alternatives or workarounds you've considered
We have tried using the SAFBuilder repo, however, it continually errored out for us. As it notes it is not being actively maintained it is hard to know if these errors are due to updates to the codebase being required:
:~/SAFBuilder$ ./safbuilder.sh -c src/sample_data/AAA_batch-metadata.csv -z Recompiling SAFBuilder, just a moment... Detected input CSV as:UTF-8 Opened CSV File:src/sample_data/AAA_batch-metadata.csv Output directory is: /home/<name>/SAFBuilder/src/sample_data/SimpleArchiveFormat [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.5.0:java (default-cli) on project safbuilder: An exception occurred while executing the Java class. org/apache/commons/io/file/attribute/FileTimes: org.apache.commons.io.file.attribute.FileTimes -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Additional information
Add any other information, related tickets or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: