Peter,
This feature is on Islandora BagIt's roadmap:
https://github.com/mjordan/islandora_bagit/wiki/Use-cases-and-roadmap
Thanks for the use case. I would also add the case where a library already had their content in non-Islandora Bags and they didn't want to preprocess them into unbagged zips for importing.
The gotcha with importing Bags is that they don't impose or assume any structure on the content in the /data directory, they only provide useful metadata about the content (specifically, checksums) and a specific location for it to be sitting in (the /data directory). In your use case, the Bag importer would need to know (or be able to reliably detect) that each of the datastream files should be imported to datastreams on the target Islandora with the same datastream IDs. Inspecting the target collection's collection policy and then all the content models associated with that collection is one way of doing this (and the way that the current Zip importer does it). That importer assumes that the content in the Bag is structured in a specific way so it can map from it to whatever the target collection expects. If we were importing objects that already used Islandora datastream IDs for filenames, we'd need to make that explicit to the importer so it could do the required mapping.
The larger gotcha would be to provide a way to make the BagIt importer handle all sorts of different arrangements of the content in the incoming Bags. We could start off with your use case, where the datastream-to-datastream mapping would be pretty easy, and then move on to a more general use case.
Mark
----- Original Message -----
>
>
> Jordan:
>
>
> Can Islandora ingest bags that have been created by the Islandora
> BagIt module?
>
>
> Use case: I'd like to share complete objects (all datastreams) from
> my instance of Islandora with someone else running their own
> instance of Islandora?
>
>
> If possible, but not easy, what are the gotchas?
>
>
> Peter
>
>
>
>
> On Wed, Feb 19, 2014 at 1:33 AM, Mark Jordan <
mjo...@sfu.ca >
> wrote:
>
>
> Community,
>
> I would like to offer the Islandora BagIt module (
>
https://github.com/mjordan/islandora_bagit ) for inclusion in