Skip to content

Commit 10eb355

Browse files
authored
Merge pull request #1467 from github/koesie10/deprecate-lgtm-download
Deprecate download from LGTM by hiding it behind canary flag
2 parents db5e743 + e95f8e8 commit 10eb355

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

extensions/ql-vscode/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## [UNRELEASED]
44

5+
- Remove ability to download databases from LGTM. [#1467](https://github.com/github/vscode-codeql/pull/1467)
56
- Removed the ability to manually upgrade databases from the context menu on databases. Databases are non-destructively upgraded automatically so
67
for most users this was not needed. For advanced users this is still available in the Command Palette. [#1501](https://github.com/github/vscode-codeql/pull/1501)
78

extensions/ql-vscode/package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@
673673
},
674674
{
675675
"command": "codeQLDatabases.chooseDatabaseLgtm",
676-
"when": "view == codeQLDatabases",
676+
"when": "config.codeQL.canary && view == codeQLDatabases",
677677
"group": "navigation"
678678
},
679679
{
@@ -929,6 +929,10 @@
929929
"command": "codeQL.viewCfg",
930930
"when": "resourceScheme == codeql-zip-archive && config.codeQL.canary"
931931
},
932+
{
933+
"command": "codeQL.chooseDatabaseLgtm",
934+
"when": "config.codeQL.canary"
935+
},
932936
{
933937
"command": "codeQLDatabases.setCurrentDatabase",
934938
"when": "false"
@@ -1174,7 +1178,7 @@
11741178
},
11751179
{
11761180
"view": "codeQLDatabases",
1177-
"contents": "Add a CodeQL database:\n[From a folder](command:codeQLDatabases.chooseDatabaseFolder)\n[From an archive](command:codeQLDatabases.chooseDatabaseArchive)\n[From a URL (as a zip file)](command:codeQLDatabases.chooseDatabaseInternet)\n[From GitHub](command:codeQLDatabases.chooseDatabaseGithub)\n[From LGTM](command:codeQLDatabases.chooseDatabaseLgtm)"
1181+
"contents": "Add a CodeQL database:\n[From a folder](command:codeQLDatabases.chooseDatabaseFolder)\n[From an archive](command:codeQLDatabases.chooseDatabaseArchive)\n[From a URL (as a zip file)](command:codeQLDatabases.chooseDatabaseInternet)\n[From GitHub](command:codeQLDatabases.chooseDatabaseGithub)"
11781182
},
11791183
{
11801184
"view": "codeQLEvalLogViewer",

0 commit comments

Comments
 (0)