whikloj / BagItTools

A PHP BagIt library
MIT License
11 stars 5 forks source link

Automatically set isExtended() #61

Closed whikloj closed 7 months ago

whikloj commented 10 months ago

Currently you need to $bag->setExtended(true); before using bag-info tags and adding fetch files.

Instead it would be nice to allow you to do any of:

Any of these would enable the extended mode (if not enabled) and cause the tag manifests to be created.

whikloj commented 7 months ago

Partially resolved with https://github.com/whikloj/BagItTools/commit/b831fc9e98478ae2e0385a4470f5bc0900122808

whikloj commented 7 months ago

Fully resolved with https://github.com/whikloj/BagItTools/commit/633ce0e12f4c6a3df03dbf9004097f1bc8304840