You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/releasing.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@
52
52
or look at the sourceif there's any doubt the right code is being shipped.
53
53
1. Install the `.vsix` file into your vscode IDE and ensure the extension can load properly. Run a single command (like run query, or add database).
54
54
1. Approve the deployments of the [Release](https://github.com/github/vscode-codeql/actions?query=workflow%3ARelease) workflow run. This will automatically publish to Open VSX and VS Code Marketplace.
55
+
- Note that in order to approve publishing to the extension marketplaces, you need to be part of *codeql-vscode-reviewers*.
55
56
- If there is an authentication failure when publishing, be sure to check that the authentication keys haven't expired. See below.
56
57
1. Go to the draft GitHub release in [the releases page](https://github.com/github/vscode-codeql/releases), click 'Edit', add some summary description, and publish it.
57
58
1. Confirm the new release is marked as the latest release.
Copy file name to clipboardExpand all lines: docs/test-plan.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ choose to go through some of the Optional Test Cases.
87
87
}
88
88
```
89
89
90
+
More concretely, in the Variant Analysis Repositories pane of the CodeQL extension, click the "Open database configuration" (`{}`) button, and insert the JSON snippet above into the `.databases.variantAnalysis.repositoryLists[]` array. Alternatively, use the folder icon to create a new list, and add the abovementioned repos into the list using the "Add new database" (`+`) button.
91
+
90
92
3. Check that a notification message pops up and the results view is opened.
91
93
4. Check the query history. It should:
92
94
- Show that an item has been added to the query history
@@ -148,8 +150,9 @@ Run one of the above MRVAs, but cancel it from within VS Code:
148
150
#### Test Case 6: Using model packs in MRVA
149
151
150
152
1. Create a model pack with mock data
151
-
1. Create a new directory `test-model-pack`
152
-
2. Create a `qlpack.yml` file in that directory with the following contents:
153
+
1. Make sure you have `"codeQL.runningQueries.useExtensionPacks": "all"` enabled in the VSCode settings.
154
+
1. Create a new directory `test-model-pack` anywhere in the workspace.
155
+
1. Create a `qlpack.yml` file in that directory with the following contents:
153
156
154
157
```yaml
155
158
name: github/test-model-pack
@@ -161,7 +164,7 @@ Run one of the above MRVAs, but cancel it from within VS Code:
161
164
- extension.yml
162
165
```
163
166
164
-
3. Create an `extension.yml` in the same directory with the following contents:
167
+
1. Create an `extension.yml` in the same directory with the following contents:
165
168
166
169
```yaml
167
170
extensions:
@@ -172,7 +175,7 @@ Run one of the above MRVAs, but cancel it from within VS Code:
0 commit comments