Fix Version/s: None
If the output directory for serialized bags is a versioned filesystem, islandora_bagit creates unnecessary versions while conducting temporary file operations.
If using existing 'Temporary directory for unserialized Bags' path is undesirable, I suggest a new 'Temporary directory for serialized Bags' setting, or just employ one temporary work directory setting for both kinds of bags and be done with it.
Regardless, the desired effect is: conduct temporary file operations related to serialized bags in well defined temporary path, then write final output to defined serialized bag output directory.
Subsequently, when 'Create Bag on object modification' setting is employed, bag modification temporary tasks should also be conducted in defined temporary path, not final output path, again to reduce unnecessary versions when using a versioned filesystem.
The attached screenshot shows the versioning result of only two bagit operations:
1. initial bag creation
2. bag update after metadata update