github-actions[bot]
100166fa53
Release preparation for version 2.17.3
2024-05-14 19:23:18 +00:00
Chuan-kai Lin
9456eaf5d3
Merge pull request #16420 from github/cklin/go-entities-reorder
...
Go: Use entities in reorder directives
2024-05-13 10:26:04 -07:00
Paolo Tranquilli
c30ca4d9f6
Merge pull request #16398 from github/redsun82/go-make
...
Go: update `make` and CI to use `bazel`
2024-05-13 08:37:52 +02:00
Erik Krogh Kristensen
0d814e0e20
Merge pull request #16220 from erik-krogh/domainAnc
...
Go: Add an example specific to domain names in missing-regexp-anchor
2024-05-11 07:52:13 +02:00
Erik Krogh Kristensen
462e564c19
apply suggestion from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2024-05-10 18:59:55 +02:00
Owen Mansel-Chan
674e65e134
Fix test expectations
2024-05-09 16:26:30 +01:00
Owen Mansel-Chan
526204dc43
Merge pull request #16458 from owen-mc/go/fix-mad-for-builtin-functions
...
Go: fix `hasQualifiedName` and models-as-data for built-in functions
2024-05-09 15:06:07 +01:00
Sarita Iyer
aab5da0435
Merge pull request #16320 from github/subatoi/deprecate-codeql-for-vs-code
...
[8th May 2024] Add deprecation notices to CodeQL for VS Code documentation
2024-05-08 17:00:42 -04:00
Owen Mansel-Chan
279b2c7a95
Merge pull request #16457 from owen-mc/go/fix-implicitvarargsslice-type
...
Go: Fix `getType` on `ImplicitVarArgsSlice`
2024-05-08 20:52:01 +01:00
erik-krogh
811c175556
add example for domain names with sub-domains to missing-regexp-anchor
2024-05-08 20:50:43 +02:00
Owen Mansel-Chan
4f10cb5fa0
Local flow tests: do not list summary models
...
This is so that when we don't change the test results every time we add
a summary model for a built-in function.
2024-05-08 16:13:37 +01:00
Owen Mansel-Chan
57ff30c5f3
Update tests: built-in models now work
2024-05-08 16:07:02 +01:00
Owen Mansel-Chan
1ccea884ff
Add change note
2024-05-08 15:37:25 +01:00
Owen Mansel-Chan
f6f594e4b5
parse empty string as package name
2024-05-08 15:33:19 +01:00
Owen Mansel-Chan
fb74a2a170
Use "" in qualified name for entities without a package
2024-05-08 15:33:19 +01:00
Owen Mansel-Chan
4d42a88c3c
Add change note
2024-05-08 15:31:22 +01:00
Owen Mansel-Chan
9842445b52
Fix getType on ImplicitVarArgsSlice
...
It was not defined for built-in functions or for functions called via
a function variable.
2024-05-08 15:22:27 +01:00
Paolo Tranquilli
e359744b8b
Go: bring back qhelp in action
2024-05-08 14:31:00 +02:00
Michael B. Gale
896fb87d1d
Go: Fix err being shadowed in RunListWithEnv
2024-05-08 13:29:28 +01:00
Michael B. Gale
724d026238
Go: Move go list functions to toolchain package
2024-05-08 13:29:28 +01:00
Paolo Tranquilli
12c28f3f68
Go: reorganize CI steps
2024-05-08 12:32:57 +02:00
Paolo Tranquilli
5b1b30a171
Apply suggestions from code review
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2024-05-08 12:23:16 +02:00
Paolo Tranquilli
e71d038d7f
Go: specify Go runtime version in actions
2024-05-06 14:57:24 +02:00
Paolo Tranquilli
c123513311
Go: bring back test action
...
This reverts commit 9055d9567a .
2024-05-06 14:56:57 +02:00
Paolo Tranquilli
bab2dd4427
Go: bring back make and CI changes
...
This reverts commit 12b9b805e2 .
2024-05-06 14:56:21 +02:00
Paolo Tranquilli
73df4fa920
Go: fix Windows installation
2024-05-06 14:55:35 +02:00
Paolo Tranquilli
5b184c179a
Bazel/Go: add some comments
2024-05-06 12:48:01 +02:00
Chuan-kai Lin
1dd3a0fd76
Go: Use entities in reorder directives
2024-05-03 11:16:08 -07:00
Paolo Tranquilli
77128de105
Bazel/Go: make installer work from internal repo and on windows
...
It turns out everything that is needed for the installer to work on
windows is enabling runfiles. This also requires symlinks to avoid
excessive copying of files.
2024-05-03 17:45:57 +02:00
Paolo Tranquilli
17990da205
Update go/extractor/BUILD.bazel
...
Co-authored-by: Cornelius Riemenschneider <cornelius@github.com >
2024-05-03 15:58:43 +02:00
Paolo Tranquilli
2132c7bf96
Bazel/Go: make @codeql//go:gen runnable from internal repo
2024-05-03 14:52:17 +02:00
Paolo Tranquilli
8f0b88497a
Bazel/Go: be more specific in go/extractor/BUILD.bazel comments
2024-05-03 13:15:08 +02:00
Paolo Tranquilli
31c427e64c
Bazel/Go: add more explanation in gen.py
2024-05-03 13:15:08 +02:00
Paolo Tranquilli
00baccbc15
Go: autoformat
2024-05-02 17:08:23 +02:00
Paolo Tranquilli
76067cb12d
Go: skip X:nocoverageredesign printing by autobuilder built with bazel
2024-05-02 17:02:48 +02:00
Paolo Tranquilli
1aafc377ad
Revert "Go: write test go runtime version in a specific file"
...
This reverts commit abcd9165b4 .
2024-05-02 16:22:24 +02:00
Paolo Tranquilli
abcd9165b4
Go: write test go runtime version in a specific file
2024-05-02 16:09:11 +02:00
Paolo Tranquilli
0bc6934bfc
Go: rename pkg_files to something less confusing
2024-05-02 15:44:06 +02:00
Paolo Tranquilli
4ae82ac215
Go: add explanatory comment to extractor BUILD file
2024-05-02 15:40:13 +02:00
Paolo Tranquilli
318d954536
Go: make //go:gen not clear by default, and clean on --force
2024-05-02 15:38:47 +02:00
Paolo Tranquilli
9055d9567a
Go: remove unused action (will be re-added later)
2024-05-02 15:08:51 +02:00
Paolo Tranquilli
520a2c96ff
Merge branch 'main' into redsun82/go
2024-05-02 12:41:51 +02:00
Paolo Tranquilli
12b9b805e2
Go: revert changes to make and CI to postpone them in a separate PR
2024-05-02 12:37:47 +02:00
Owen Mansel-Chan
9bfb189fa7
Merge pull request #16392 from owen-mc/external-flow/standardize-empty-model-yml
...
External flow: standardize `empty.model.yml`
2024-05-02 11:01:47 +01:00
Owen Mansel-Chan
83249cd9c2
Fix grammar in comment
2024-05-02 09:59:48 +01:00
Paolo Tranquilli
a8d3226e99
Merge branch 'main' into redsun82/go
2024-05-02 09:27:47 +02:00
Paolo Tranquilli
94212d103e
Bazel/Go: remove apple_support
...
This was actually unnecessary, and requried a full Xcode installation
that we'd rather avoid.
2024-05-02 09:21:47 +02:00
Paolo Tranquilli
608791fd7f
Bazel/Go: use native cross compilation for fat binaries
2024-05-02 09:21:43 +02:00
Owen Mansel-Chan
16dcc0969b
Standardise comment explaining why extensible predicates must be defined
2024-05-01 22:00:01 +01:00
Owen Mansel-Chan
09e59ccf44
Name files with empty definitions of MaD extensible predicates to erowdmpty.model.yml
2024-05-01 21:39:38 +01:00