support extracting zip archives
Some packages such as proactive-jupyter-kernel upload their source as a zip file which currently fails as the static analysis archive extraction expects a .tar.gz file.
We should do filetype detection using file (NOT the file extension) so that we can do static analysis on zip archives too
code to be updated seem to be at https://github.com/ossf/package-analysis/blob/c473e2d466d9a01425528ffdc2456246feb45c8c/internal/utils/archive_extract.go#L16
might you be open to introducing something like https://github.com/mholt/archiver?
Hi @gliptak, yes that's a good suggestion! I'd be open to introducing something like that. Please feel free to submit a PR.