oxinabox / DataDeps.jl

reproducible data setup for reproducible science
Other
150 stars 43 forks source link

Always fallback to 7zip even if don't know it will work #129

Closed oxinabox closed 3 years ago

oxinabox commented 3 years ago

Follow up to #116 / #127 / #123 closes #106 (tested locally as i don't know of any xz files online that can be used for testing and don't particularly want to bloat the repo with sample files, though perhaps I should.)

Basically 7zip is the most comprehensive compression tool around, if it can't decompress it then odds are nothing can. This changes the logic around so that we never fallback to throwing an error for an unrecognized type. We just try to use 7zip, and if that works then good. and if it doesn't then it will throw an error.