Andrew Eisenberg
903f5db707
Avoid running remote queries on v2.6.3 cli or earlier
...
Also:
- Fix the count of copied files
- A few typos
- Ensure the correct settings are applied for remote queries before
running tests.
2021-10-28 16:08:43 -07:00
Andrew Eisenberg
42051f1620
Remote Queries: Create packs for remote queries
...
This is still a bit rough, but handles two cases:
1. There is a qlpack.yml or codeql-pack.yml file in the same directory
as the query to run remotely. In this case, run `codeql pack
packlist` to determine what files to include (and also always include
the lock file and the query itself. Copy to a temp folder and run
`pack install`, then `pack bundle`. Finally upload.
2. There is no qlpack in the current directory. Just copy the single
file to the temp folder and generate a synthetic qlpack before
installing, bundling and uploading.
Two cases that are not handled:
1. The query file is part of a workspace. Peer dependencies will not be
found.
2. The query file and its qlpack file are not in the same directory.
These should be possible to handle later. Also, need to create some
unit and integration tests for this.
2021-10-27 21:09:34 -07:00
shati-patel
b2a6263431
Send a query pack
2021-10-20 15:06:33 +01:00
Andrew Eisenberg
20cdca77a3
Merge pull request #977 from marcnjaramillo/fix-changelog-entries
...
Update CHANGELOG.md entries for most recent changes
2021-10-19 11:25:46 -07:00
marcnjaramillo
98d48a3709
Update CHANGELOG.md entries for most recent changes
2021-10-19 11:14:19 -07:00
Andrew Eisenberg
6b57993b2a
Merge pull request #976 from marcnjaramillo/selected-database-view
...
Fix issue where 'Set current database' shows on selected database in …
2021-10-19 11:04:22 -07:00
marcnjaramillo
34ac30e403
Fix issue where 'Set current database' shows on selected database in the database view
2021-10-19 10:52:06 -07:00
Andrew Eisenberg
b8618aa87e
Merge pull request #971 from marcnjaramillo/integrate-codeql-database-unbundle
...
Integrate codeql database unbundle
2021-10-19 10:01:40 -07:00
marcnjaramillo
7d8e63c1d1
Make changes requested by @aeisenberg
...
Co-authored by: Marc Jaramillo mnj.webdeveloper@gmail.com
Co-authored by: Musab Guma'a mgsium@github.com
2021-10-18 18:38:25 -07:00
marcnjaramillo
b22a8692c8
Integrated CLI database unbundle command for archive download
...
Co-authored by: Marc Jaramillo mnj.webdeveloper@gmail.comm
Co-authored by: Musab Guma'a mgsium@github.com
2021-10-18 14:55:17 -07:00
Marc Jaramillo
b5cdd833e2
Merge branch 'github:main' into main
2021-10-14 10:41:05 -07:00
Andrew Eisenberg
81a2f9c428
Merge pull request #963 from marcnjaramillo/handle-nonprint-chars
...
Handle nonprint chars
2021-10-08 14:35:24 -07:00
Marc Jaramillo
b43b824da6
Simplify changelog entry
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2021-10-08 13:52:07 -07:00
marcnjaramillo
22616c5582
Add changes to changelog
2021-10-08 13:05:48 -07:00
Marc Jaramillo
2570d179bc
Merge branch 'github:main' into handle-nonprint-chars
2021-10-08 13:00:10 -07:00
Marc Jaramillo
1980f862c6
Merge branch 'github:main' into main
2021-10-08 12:57:36 -07:00
marcnjaramillo
d1eb31e231
Finish creating check for non-printing characters
2021-10-08 12:56:56 -07:00
shati-patel
68863e3b90
Bump version to v1.5.7
2021-10-07 18:47:29 +01:00
shati-patel
b38b884715
Add 1.5.6 header
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.5.6
2021-10-07 18:31:36 +01:00
shati-patel
cc6f2d8886
Prepare release
2021-10-07 18:31:36 +01:00
marcnjaramillo
245db7ca28
Add a check for strings with only new line chars
2021-10-07 09:09:48 -07:00
Andrew Eisenberg
197ab99db8
Merge pull request #959 from alexet/fix-db-remove
...
Delete database after removing it from query server control.
2021-10-07 08:50:22 -07:00
Andrew Eisenberg
6292adf491
Merge branch 'main' into fix-db-remove
2021-10-07 08:17:24 -07:00
Andrew Eisenberg
112d40ff1c
Update CHANGELOG.md
2021-10-07 08:15:35 -07:00
Andrew Eisenberg
b92d6bab7c
Merge pull request #965 from github/aeisenberg/logo-update
...
Update CodeQL logo
2021-10-07 08:08:51 -07:00
Andrew Eisenberg
0a4879c9a8
Merge branch 'main' into aeisenberg/logo-update
2021-10-07 08:01:05 -07:00
shati-patel
7d4d57104a
Update integration test version
2021-10-07 10:13:53 +01:00
Andrew Eisenberg
f06c9abb35
Update integration test versions
2021-10-07 10:13:53 +01:00
marcnjaramillo
2f7d175a76
Make edits per feedback
2021-10-06 14:01:39 -07:00
Andrew Eisenberg
85eaa8b275
Update CodeQL logo
...
Both the marketplace icon and the sideview svg
2021-10-06 11:12:53 -07:00
marcnjaramillo
4783ad6bff
Create rough solution for handling non-printing characters in results
2021-10-05 19:37:14 -07:00
Marc Jaramillo
9f0a975a0c
Merge pull request #1 from github/main
...
Add progress messages to LGTM download option. (#960 )
2021-10-05 19:22:49 -07:00
Marc Jaramillo
21dda65871
Add progress messages to LGTM download option. ( #960 )
...
* Add progress messages to LGTM download option.
* Add additional argument to get test passing again.
* Make edits requested by @aeisenerg
* Fix assertion in test case
* Update extensions/ql-vscode/CHANGELOG.md
2021-10-04 17:22:11 +01:00
Andrew Eisenberg
39fdd0cad5
Merge pull request #957 from marcnjaramillo/fix-lgtm-download-message
...
Remove line about selecting a language from the dropdown.
2021-10-01 12:07:46 -07:00
Marc Jaramillo
3fb2c71390
Merge branch 'main' into fix-lgtm-download-message
2021-10-01 11:19:57 -07:00
marcnjaramillo
b40f648a87
Remove line about selecting a language from the dropdown.
2021-10-01 11:07:37 -07:00
alexet
57216249c2
Delete database after removing it from query server control.
2021-10-01 18:40:07 +01:00
shati-patel
fbadc15ae9
Also prompt user if the repo in the config is invalid
2021-10-01 18:11:53 +01:00
shati-patel
89b00eaef8
Show input box if there's no controller repo defined in settings
2021-10-01 18:11:53 +01:00
shati-patel
4bc5086cfb
Update test
2021-10-01 18:11:53 +01:00
shati-patel
7a79d39e23
Add new setting to specify controller repo
2021-10-01 18:11:53 +01:00
shati-patel
41ae5a4b5f
Create new "remoteQueries" setting
2021-10-01 18:11:53 +01:00
Musab Guma'a
0493e316c0
Update extensions/ql-vscode/CHANGELOG.md
...
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com >
2021-10-01 17:37:54 +01:00
Musab Guma'a
137e17c2e1
Add fix entry to CHANGELOG.md
2021-10-01 17:37:54 +01:00
Musab Guma'a
31db2ffb82
Fix version copy for missing cli
2021-10-01 17:37:54 +01:00
Aditya Sharad
df18ff3052
Update CLI tests to use 2.6.2 ( #955 )
...
* Actions: Update tests to use CLI 2.6.2
* Integration tests: Update to CLI 2.6.2
2021-09-21 22:44:01 +00:00
Benjamin Muskalla
74555510b4
Fix formatting for history format preference
...
There was a space missing for one of the items, making it not rendered as part of the list
2021-09-16 07:53:23 -07:00
shati-patel
a2b8e7d193
Rename function
2021-09-15 10:52:47 +01:00
shati-patel
b59638bd2e
Test the regex for "getRepositories"
2021-09-15 10:52:47 +01:00
shati-patel
b0e19926da
Tests for "validateRepositories"
2021-09-15 10:52:47 +01:00