Support importing tar/gz databases

Open
#410 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
devtools

Research direction

Start by tracing the existing zipped database import path and how the current unzipper library is used. Compare it with the tar/gz databases in the linked source; done means third-party CodeQL databases in those formats import without manual conversion.

Written by the indexing model from the issue text.

Description

Complexity: Medium enhancement VSCode

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

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.