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.
Unzipped source locations are deprecated. The codeql cli produces source locations in a
src.zipfile. The deprecated odasa tool does not zip and creates ansrcfolder. 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.