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: CONTRIBUTING.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,14 +114,32 @@ Alternatively, you can run the tests inside of vscode. There are several vscode
114
114
1. Download the VSIX from the draft GitHub release at the top of [the releases page](https://github.com/github/vscode-codeql/releases) that is created when the release build finishes.
115
115
1. Unzip the `.vsix` and inspect its `package.json` to make sure the version is what you expect,
116
116
or look at the sourceif there's any doubt the right code is being shipped.
117
-
1. Log into the [Visual Studio Marketplace](https://marketplace.visualstudio.com/manage/publishers/github).
118
-
1. Click the `...` menu in the CodeQL row and click **Update**.
119
-
1. Drag the `.vsix` file you downloaded from the GitHub release into the Marketplace and click **Upload**.
120
-
1. Go to the draft GitHub release, click 'Edit', add some summary description, and publish it.
117
+
1. Go to the actions tab of the vscode-codeql repository and select the [Release workflow](https://github.com/github/vscode-codeql/actions?query=workflow%3ARelease).
118
+
- If there is an authentication failure when publishing, be sure to check that the authentication keys haven't expired. See below.
119
+
1. Approve the deployments of the correct Release workflow. This will automatically publish to Open VSX and VS Code Marketplace.
120
+
1. Go to the draft GitHub releasein [the releases tab of the repository](https://github.com/github/vscode-codeql/releases), click 'Edit', add some summary description, and publish it.
121
121
1. Confirm the new release is marked as the latest release at <https://github.com/github/vscode-codeql/releases>.
122
122
1. If documentation changes need to be published, notify documentation team that release has been made.
123
123
1. Review and merge the version bump PR that is automatically created by Actions.
124
124
125
+
## Secrets and authentication for publishing
126
+
127
+
Repository administrators, will need to manage the authentication keys for publishing to the VS Code marketplace and Open VSX. Each requires an authentication token. The VS Code marketplace token expires yearly.
128
+
129
+
To regenerate the Open VSX token:
130
+
131
+
1. Log in to the [user settings page on Open VSX](https://open-vsx.org/user-settings/namespaces).
132
+
1. Make sure you are a member of the GitHub namespace.
133
+
1. Go to the [Access Tokens](https://open-vsx.org/user-settings/tokens) page and generate a new token.
134
+
1. Update the secret in the `publish-open-vsx` environment in the project settings.
135
+
136
+
To regenerate the VSCode Marketplace token:
137
+
138
+
1. Follow the instructions on [getting a PAT for Azure DevOps](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token).
139
+
1. Update the secret in the `publish-vscode-marketplace` environment in the project settings.
140
+
141
+
Not that Azure DevOps PATs expire yearly and must be regenerated.
142
+
125
143
## Resources
126
144
127
145
* [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
Copy file name to clipboardExpand all lines: extensions/ql-vscode/CHANGELOG.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,19 @@
2
2
3
3
## [UNRELEASED]
4
4
5
-
- Ensure databases are unlocked when removing them from the workspace. This will ensure that after a database is removed from VS Code, queries can be run on it from the command line without restarting VS Code. Requires CodeQL CLI 2.4.1 or later. [#681](https://github.com/github/vscode-codeql/pull/681)
6
-
- Fix bug when removing databases where sometimes the source folder would not be removed from the workspace or the database files would not be removed from the workspace storage location. [#692](https://github.com/github/vscode-codeql/pull/692)
5
+
## 1.3.8 - 17 December 2020
6
+
7
+
- Ensure databases are unlocked when removing them from the workspace. This will ensure that after a database is removed from VS Code, queries can be run on it from the command line without restarting the IDE. Requires CodeQL CLI 2.4.1 or later. [#681](https://github.com/github/vscode-codeql/pull/681)
8
+
- Fix bug when removing databases where sometimes the source folder would not also be removed from the workspace or the database files would not be deleted from the workspace storage location. [#692](https://github.com/github/vscode-codeql/pull/692)
7
9
- Query results with no string representation will now be displayed with placeholder text in query results. Previously, they were omitted. [#694](https://github.com/github/vscode-codeql/pull/694)
8
10
- Add a label for the language of a database in the databases view. This will only take effect for new databases created with the CodeQL CLI v2.4.1 or later. [#697](https://github.com/github/vscode-codeql/pull/697)
9
11
- Add clearer error message when running a query using a missing or invalid qlpack. [#702](https://github.com/github/vscode-codeql/pull/702)
10
12
- Add clearer error message when trying to run a command from the query history view if no item in the history is selected. [#702](https://github.com/github/vscode-codeql/pull/702)
11
13
- Fix a bug where it is not possible to download some database archives. This fix specifically addresses large archives and archives whose central directories do not align with file headers. [#700](https://github.com/github/vscode-codeql/pull/700)
14
+
- Avoid error dialogs when QL test discovery or database cleanup encounters a missing directory. [#706](https://github.com/github/vscode-codeql/pull/706)
15
+
- Add descriptive text and a link in the results view. [#711](https://github.com/github/vscode-codeql/pull/711)
16
+
- Fix the _Set Label_ command in the query history view. [#710](https://github.com/github/vscode-codeql/pull/710)
17
+
- Add the _CodeQL: View AST_ command to the right-click context menu when a source file in a database source archive is open in the editor. [#712](https://github.com/github/vscode-codeql/pull/712)
0 commit comments