Skip to content

Commit fcecfa1

Browse files
committed
Merge remote-tracking branch 'origin/main' into koesie10/restore-mrva-on-restart
2 parents d8fbc56 + ab9cf46 commit fcecfa1

File tree

52 files changed

+2929
-289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2929
-289
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
strategy:
140140
matrix:
141141
os: [ubuntu-latest, windows-latest]
142-
version: ['v2.6.3', 'v2.7.6', 'v2.8.5', 'v2.9.4', 'v2.10.5', 'nightly']
142+
version: ['v2.6.3', 'v2.7.6', 'v2.8.5', 'v2.9.4', 'v2.10.5', 'v2.11.0', 'nightly']
143143
env:
144144
CLI_VERSION: ${{ matrix.version }}
145145
NIGHTLY_URL: ${{ needs.find-nightly.outputs.url }}

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"name": "Launch Unit Tests - React (vscode-codeql)",
6060
"type": "node",
6161
"request": "launch",
62-
"program": "${workspaceFolder}/extensions/ql-vscode/node_modules/.bin/jest",
62+
"program": "${workspaceFolder}/extensions/ql-vscode/node_modules/jest/bin/jest.js",
6363
"showAsyncStacks": true,
6464
"cwd": "${workspaceFolder}/extensions/ql-vscode",
6565
"stopOnEntry": false,

extensions/ql-vscode/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [UNRELEASED]
44

5+
- Fix a bug where it was not possible to add a database folder if the folder name starts with `db-`. [#1565](https://github.com/github/vscode-codeql/pull/1565)
6+
57
## 1.7.0 - 20 September 2022
68

79
- Remove ability to download databases from LGTM. [#1467](https://github.com/github/vscode-codeql/pull/1467)

extensions/ql-vscode/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For information about other configurations, see the separate [CodeQL help](https
2222

2323
### Quick start: Using CodeQL
2424

25-
1. [Import a database from LGTM](#importing-a-database-from-lgtm).
25+
1. [Import a database from GitHub](#importing-a-database-from-github).
2626
1. [Run a query](#running-a-query).
2727

2828
---
@@ -73,18 +73,19 @@ If you're using your own clone of the CodeQL standard libraries, you can do a `g
7373

7474
You can find all the commands contributed by the extension in the Command Palette (**Ctrl+Shift+P** or **Cmd+Shift+P**) by typing `CodeQL`, many of them are also accessible through the interface, and via keyboard shortcuts.
7575

76-
### Importing a database from LGTM
76+
### Importing a database from GitHub
7777

78-
While you can use the [CodeQL CLI to create your own databases](https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/), the simplest way to start is by downloading a database from LGTM.com.
78+
While you can use the [CodeQL CLI to create your own databases](https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/), the simplest way to start is by downloading a database from GitHub.com.
7979

80-
1. Open [LGTM.com](https://lgtm.com/#explore) in your browser.
81-
1. Search for a project you're interested in, for example [Apache Kafka](https://lgtm.com/projects/g/apache/kafka).
82-
1. Copy the link to that project, for example `https://lgtm.com/projects/g/apache/kafka`.
83-
1. In VS Code, open the Command Palette and choose the **CodeQL: Download Database from LGTM** command.
80+
1. Find a project that you're interested in on GitHub.com, for example [Apache Kafka](https://github.com/apache/kafka).
81+
1. Copy the link to that project, for example `https://github.com/apache/kafka`.
82+
1. In VS Code, open the Command Palette and choose the **CodeQL: Download Database from GitHub** command.
8483
1. Paste the link you copied earlier.
8584
1. Select the language for the database you want to download (only required if the project has databases for multiple languages).
8685
1. Once the CodeQL database has been imported, it is displayed in the Databases view.
8786

87+
For more information, see [Choosing a database](https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects/#choosing-a-database) on codeql.github.com.
88+
8889
### Running a query
8990

9091
The instructions below assume that you're using the CodeQL starter workspace, or that you've added the CodeQL libraries and queries repository to your workspace.

0 commit comments

Comments
 (0)