Skip to content

Tools for upgrading from one major version of a Fedora repository to the next

Notifications You must be signed in to change notification settings

whikloj/fcrepo-upgrade-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fedora 4 Utilities

Utilities for maintaining the Fedora Commons repository.

  • TechnicalMetadataMigrator: migrate technical metadata properties based on changes made in May 2015:
    • fedora:digest => premis:hasMessageDigest
    • fedora:mimeType => ebucore:hasMimeType
    • premis:hasOriginalName => ebucore:filename

Building

To build the JAR file

mvn package

Running

Before running the migration utility, stop the repository by shutting down the servlet container (Tomcat, Jetty, etc.) or removing the Fedora 4 webapp. Then run the migration utility by executing the JAR file and provide the fcrepo.home system property to set the location of Fedora 4's fcrepo4-data directory.

java -Dfcrepo.home=/path/to/fcrepo4-data -jar /path/to/fcrepo4-upgrade-utils/target/fcrepo-upgrade-utils-4.3.1-SNAPSHOT.jar

To run the migration utility in "dry-run" mode where it will output a summary of the migration it would perform, but not actually change the repository:

java -Dfcrepo.home=/path/to/fcrepo4-data -jar /path/to/fcrepo4-upgrade-utils/target/fcrepo-upgrade-utils-4.3.1-SNAPSHOT.jar dryrun

About

Tools for upgrading from one major version of a Fedora repository to the next

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%