LibreCat / Catmandu

Catmandu - a data processing toolkit
https://librecat.org
177 stars 31 forks source link

New module: BagIt Creator/Exporter #105

Closed vpeil closed 10 years ago

vpeil commented 10 years ago

The plan: Create bag-it for long-term preservation as planned for SAFE PLN. It would be nice to have a Bagit-Creation-module (also for people in other contexts). Maybe a a validator could also be added here (as planned by @phochste).

There already are some modules:

Both use Moose, but maybe we can optimize it by switching to Moo if possible and make more things configurable.

What do you think?

phochste commented 10 years ago

+1

nichtich commented 10 years ago

Catmandu::BagIt should be a thin layer on top of a new release of Archive::BagIt. Do you plan to have one Catmandu item exported as BagIt (there is only one set of metadata tags) or multiple items aggregated?

phochste commented 10 years ago

I volunteer to look into this. Already created for Ghent a module based on Catmandu::FedoraCommons. I think it should be one Catmandu item as Bagit. It is your task to construct this item.

I fear I don't think there is much hope for a generic exporter of these type of things, e.g allow for different kind of DIP (in OAIS terms) packages based on a common datamodel.

nicolasfranck commented 10 years ago

@phochste : As I remember, Archive::Bagit was your module ;-). I just included it.

I think it's better to rename this module, so we can upload our own module on CPAN. The existing one on CPAN is too limited.

nichtich commented 10 years ago

please don't contribute to the many duplicated CPAN modules but contact the author whethet he is still engaged in his version or it is ok to take over!

vpeil commented 10 years ago

+1 for @nichtich 's suggestion. Duplicate cpan modules are not good.

phochste commented 10 years ago

I had already contact with the authors in the past they are very responsive and willing to add new features.

vpeil commented 10 years ago

maybe they'll share the sources on github? So, we can contribute.

vpeil commented 10 years ago

further discussion will be here: https://github.com/LibreCat/Catmandu-BagIt/issues