Skip to content

Auto-zip the src location when installing databases from LGTM #479

@aeisenberg

Description

@aeisenberg

Unzipped source locations are deprecated. The codeql cli produces source locations in a src.zip file. The deprecated odasa tool does not zip and creates an src folder. The extension has a few code paths that only work in the case of a zipped source location.

When adding a database from a zip file (either locally, LGTM, or anywhere on the internet), the extension should automatically zip the source location so that the database is more compatible with the extension.

Note that if a database is added from a local directory, the extension should not perform the zipping. This is because this action is destructive, databases are meant to be read-only, and we don't know what other purposes the database is being used for.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions