Henning Makholm
21830ef0c1
Merge pull request #503 from github/hmakholm/pr/warn-magic-names
...
Add warnings about CLI hack to codeql.ts
codeql-bundle-20210517
2021-05-14 21:57:44 +02:00
Henning Makholm
e7d4215894
Add warnings about CLI hack to codeql.ts
...
These warnings refer to a hack that was added to the CLI in
https://github.com/github/semmle-code/pull/39335
They can be removed again once the CLI has a more principled way for
the CLI to recognize that it's being invoked by the runner/action.
2021-05-14 21:23:13 +02:00
Andrew Eisenberg
97887fe996
Merge pull request #501 from github/aeisenberg/add-task
...
Add a tasks.json
2021-05-13 12:35:33 -07:00
Andrew Eisenberg
da06f4f01b
Merge branch 'main' into aeisenberg/add-task
2021-05-13 12:25:54 -07:00
Andrew Eisenberg
6a0bd27159
Merge pull request #500 from github/aeisenberg/paths-include
...
Change include path for lines of code counting
2021-05-13 12:25:42 -07:00
Andrew Eisenberg
8e61fc214a
Change include path for lines of code counting
...
Previously, we were always using `**` in the include path. the
effect of this was to always count lines in the entire
repository unless explicitly added to the paths-ignore. This
was incorrect behaviour. Now we only using `**` if the include
path is otherwise empty.
2021-05-13 12:05:01 -07:00
Andrew Eisenberg
a77f6b0a58
Merge pull request #502 from github/aeisenberg/metric-id
...
Use the prefix id for keying into metrics rules
2021-05-13 12:03:01 -07:00
Andrew Eisenberg
8c963ea445
Merge branch 'main' into aeisenberg/metric-id
2021-05-13 11:12:15 -07:00
Andrew Eisenberg
e8b2a9884b
Use the prefix id for keying into metrics rules
...
Fixes a bug where we were looking for incorrect keys for metrics rules.
Previously, we were using full language names in the keys. Now, we use
the short language names in the metric ids. This is done through a
simplification of the code.
Also, this change does two smaller things:
1. Prints out the baseline count to the logs
2. Adds the `assertNever` function to ensure we never miss a case in
a switch statement. This function is borrowed from vscode-codeql.
2021-05-13 11:11:13 -07:00
Andrew Eisenberg
a924f03118
Merge pull request #499 from github/aeisenberg/non-parallel-loc
...
Update loc count library
2021-05-13 10:10:39 -07:00
Andrew Eisenberg
38c131a270
Add a tasks.json
...
This is just a helpful way to ensure you can run `tsc --watch` from
inside vscode.
2021-05-13 16:40:19 +00:00
Andrew Eisenberg
ddcb299283
Update loc count library
...
This version will count lines of code in each file serially. It still
runs all file system operations asynchronously. The only difference now
is that it will only count one file at a time. It is slower, but it
is able to count large repositories without running out of memory.
2021-05-12 16:33:05 -07:00
Aditya Sharad
4c0671c518
Merge pull request #495 from edoardopirovano/windows-env-file
...
Output environment file for Windows
2021-05-10 14:01:50 -07:00
Edoardo Pirovano
84b6ff05df
Merge branch 'main' into windows-env-file
2021-05-10 21:24:44 +01:00
Andrew Eisenberg
458b7913fc
Merge pull request #494 from github/aeisenberg/audit-fix
...
Fix security vulnerabilities
2021-05-10 12:56:41 -07:00
Edoardo Pirovano
a5506d82e4
Output environment file for Windows
2021-05-10 20:43:49 +01:00
Andrew Eisenberg
22d1f7f619
Merge branch 'main' into aeisenberg/audit-fix
2021-05-10 11:49:23 -07:00
Andrew Eisenberg
ef38c532f3
Merge pull request #493 from github/aeisenberg/contributing2
...
Fix information about `npm ci`
2021-05-10 11:49:07 -07:00
Andrew Eisenberg
22d495fd60
Merge branch 'main' into aeisenberg/contributing2
2021-05-10 10:25:42 -07:00
Andrew Eisenberg
a9cdff830d
Remove confusing words
...
Co-authored-by: Robert <robertbrignull@github.com >
2021-05-10 10:25:31 -07:00
Aditya Sharad
a56e777fe4
Merge pull request #482 from github/robertbrignull/python-deps-test
...
Make matrix run all cases of the python-deps tests
2021-05-10 10:19:38 -07:00
Andrew Eisenberg
489dbb0e02
Fix security vulnerabilities
...
Ran `npm audit fix`.
Even though this fixes a "high" severity vulnerability, all affected
packages are dev packages only.
2021-05-10 10:14:48 -07:00
Andrew Eisenberg
793b3772ec
Fix information about npm ci
2021-05-10 10:05:30 -07:00
Aditya Sharad
d2ef04e4b0
Merge branch 'main' into robertbrignull/python-deps-test
2021-05-10 09:48:56 -07:00
Andrew Eisenberg
224195bd22
Merge pull request #492 from github/aeisenberg/contributing
...
Update contributing guide
2021-05-10 09:20:03 -07:00
Andrew Eisenberg
3280a85376
Update contributing guide
...
This adds a section on checking in compiled artifacts.
2021-05-10 09:04:59 -07:00
Robert
3c96019556
fix windows hopefully
2021-05-10 16:24:52 +01:00
Robert
f742f910aa
put matrix vars in env vars for whitespace safety
2021-05-10 16:19:38 +01:00
David Verdeguer
cf682cf1c2
Merge pull request #463 from github/daverlo/categoryInput
...
Add category input
2021-05-10 15:35:35 +02:00
David Verdeguer
ea18d47a2b
Merge branch 'main' into daverlo/categoryInput
2021-05-10 14:54:09 +02:00
Andrew Eisenberg
f00bafbde1
Merge pull request #483 from github/aeisenberg/fix-language
...
Fix lines of code mapping
codeql-bundle-20210507
codeql-bundle-20210509
2021-05-07 11:02:25 -07:00
Andrew Eisenberg
b6ae33fbe6
Fix lines of code mapping
...
We were inadvertently using codeql language ids instead of the action's
language ids. There is now a 3-way mapping between the ids used by
the lines counter library, the action, and codeql.
2021-05-07 10:46:21 -07:00
Robert
603c47cb50
make matrix run all cases
2021-05-07 10:21:05 +01:00
Andrew Eisenberg
35a83b92ca
Merge pull request #477 from github/hmakholm/pr/fix-escaping
...
fix value escaping in codeql-env.sh
2021-05-06 09:09:01 -07:00
Henning Makholm
ad98dc69ff
Merge branch 'main' into hmakholm/pr/fix-escaping
2021-05-06 17:08:10 +02:00
Robert
418fcd5826
Merge pull request #480 from github/robertbrignull/logging_typo
...
Fix typos in logging
2021-05-06 13:56:08 +01:00
Robert
031dc506df
fix typos in logging
2021-05-06 09:26:42 +01:00
Henning Makholm
ee062d3e85
Merge branch 'main' into hmakholm/pr/fix-escaping
2021-05-06 02:25:37 +02:00
Andrew Eisenberg
a7d3945ab4
Merge pull request #479 from github/aeisenberg/directory-fingerprint
...
Avoid fingerprinting directories
2021-05-05 13:54:11 -07:00
Andrew Eisenberg
f584f94f3d
Avoid fingerprinting directories
2021-05-05 13:37:17 -07:00
Andrew Eisenberg
b477190a33
Merge branch 'main' into hmakholm/pr/fix-escaping
2021-05-05 12:09:07 -07:00
Henning Makholm
a6ebb19b5b
Update src/runner.ts
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2021-05-05 11:50:51 -07:00
Andrew Eisenberg
53210459f6
Merge pull request #475 from github/aeisenberg/warning-message
...
Clarify the missing baseline lines of code warning message
2021-05-05 11:20:13 -07:00
Henning Makholm
e7e64d59be
fix value escaping in codeql-env.sh
2021-05-05 19:57:44 +02:00
Henry Mercer
c2ec5a225a
Merge branch 'main' into aeisenberg/warning-message
2021-05-05 18:32:29 +01:00
Henry Mercer
46d0d277ef
Merge pull request #476 from github/henrymercer/log-queries-during-interpretation
...
Log each query as it's interpreted when calling codeql database analyze
2021-05-05 18:30:32 +01:00
Henry Mercer
2c0a85753e
Log each query as it's interpreted when calling codeql database analyze
2021-05-05 18:12:16 +01:00
Andrew Eisenberg
e04c62bb3c
Clarify the missing baseline lines of code warning message
2021-05-05 09:29:20 -07:00
David Verdeguer
0c0bc0e6c6
Fix undefined environment
2021-05-05 15:46:49 +02:00
David Verdeguer
a1176686f1
Merge branch 'main' into daverlo/categoryInput
2021-05-05 12:31:11 +02:00