insights-core
insights-core copied to clipboard
Consider replacing current extraction code with https://github.com/wummel/patool
Today the extraction code we use is very Linux (and sub-process) dependent. This means that if your on a MAC trying to run rules against an archive; your version of tar
may not align to the options that we are using, or If we don't include an extraction type / extraction the extraction can't happen.
Thus I would like to propose that https://github.com/wummel/patool be used as a replacement to this current code; to help offload some/much of the responsibility of extraction / maintenance to a library that specialize in this one task; but to also expand the formats that can be extracted (and for those extractions to work across multiple platforms).