Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Why: Due to Fedora's current web service API design, it can be tedious and time-consuming to make certain kinds of changes to a repository. This utility works at a lower level (but not too low) in order to allow efficient batch modifications that are either impossible or impractical when going through the public API.

...

Once you configure it to point to your repository's data (see conf/config.properties), you can do things like the belowfollowing. Note that by default there are two stores defined, 'legacy' and 'akubra', but you can define any number of them by adding a configuration file similar to the ones already found in conf/stores/.

Migrate from Fedora legacy storage to akubra-fs: (this can also be used to migrate from one akubra-based impl to another)

No Format
fcsu copy legacy akubra

...

Make a complete copy of the repository but omit all AUDIT datastreams:

No Format
fcsu modifycopy store1 store2 --filter=remoteremove-datastreams --remove-datastream-ids=AUDIT

Want to Try It?

You can download the latest test build here. The fcsu shell script can be found in the bin directory after unpacking. Note: It should work in Windows, but the .bat file isn't written for that yet.

See the various filters, stores, and commands for examples of how the utility can be used and extended.

Any questions or comments? Let me know here or via email. Thanks!