bondjimbond / islandora_westvault

Automated preservation for Islandora objects
GNU General Public License v3.0
1 stars 1 forks source link

Add maximum filesize check #46

Closed bondjimbond closed 5 years ago

bondjimbond commented 5 years ago

Deals with #45

New menu option: Maximum filesize in Westvault (defaults to 2 GB)

New check: compares Bag size to size limit, declared invalid if over the limit.

Thoughts, @mjordan?

bondjimbond commented 5 years ago

@mjordan Travis failures are only on PHP 5.4 and 5.5, and this is because Travis is no longer able to download those versions when creating a new test machine. This is passing.

Might you be able to review?

mjordan commented 5 years ago

Yes, I can, but not until this evening.

mjordan commented 5 years ago

Runnin drush -u 1 westvault-bagit dd()ed the config value. I didn't test this with a real file over the limit but the logic looks sound to me.