- assigned_to: nobody --> terryoneill
Currently, the first thing that Manifest maker does (after entering the barcode numbers, etc) is that it sorts files by size, to ensure that maximum use is made of the output media. After this initial sort is done, the checksums are generated and the manifest is written. I assume that there is a 'sanity check' in there somewhere, so that you do not try to, for example, write a 1GB file to a CD medium.
There is no need to sort the files by size if you are not going to copy those files to an output medium. There is also no real need to sort the files if the output medium is larger than the input directory filled with files (eg, 200MB of files will fit nicely onto one CD)
This is not a problem when you have a handful of files, but when you are trying to process 10s of thousands of data objects, the time it takes to do the sort is a waste.
Can the process be modified so that:
a) if the user does not select the copy files option, OR
b) the media size is larger than the input directory size, then
no sorting of the files sizes should occur.