Skip to content

Support importing tar/gz databases #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aeisenberg opened this issue May 28, 2020 · 1 comment
Open

Support importing tar/gz databases #410

aeisenberg opened this issue May 28, 2020 · 1 comment
Labels
Complexity: Medium Requires a moderate level of detail in design or review. enhancement New feature or request VSCode

Comments

@aeisenberg
Copy link
Contributor

Currently, we are able to import databases that are zipped, but our current unzipper library does not support tar-ed databases. I'll have to look deeper to see if this is a limitation of the library or if we are just using it in the wrong way.

Generally most codeql dbs are zipped and so this isn't a problem, but some dbs created by third parties are in other formats. It would be great to be able to import them as well with no hassle. For example, see here: https://bug-bounty-codeql-databases.s3.us-east-2.amazonaws.com/index.html

@aeisenberg aeisenberg added the enhancement New feature or request label May 28, 2020
@aeisenberg
Copy link
Contributor Author

aeisenberg commented May 29, 2020

Looks like to get this working, we'll need to use a different library for extraction. This one could possibly work.

https://github.com/npm/node-tar

@adityasharad adityasharad added the Complexity: Medium Requires a moderate level of detail in design or review. label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium Requires a moderate level of detail in design or review. enhancement New feature or request VSCode
Projects
None yet
Development

No branches or pull requests

2 participants