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
Michael B. Gale
00cbfaf40e
Go: Allow version suffixes
2024-05-01 15:00:45 +01:00
github-actions[bot]
99928b82ed
Post-release preparation for codeql-cli-2.17.2
2024-04-30 12:15:35 +00:00
github-actions[bot]
5228d94d42
Release preparation for version 2.17.2
2024-04-30 10:25:51 +00:00
Paolo Tranquilli
2590d8a27f
Merge branch 'main' into redsun82/go
2024-04-30 11:00:27 +02:00
Paolo Tranquilli
15bb846a5f
Go: add workaround for extractor pack windows installer
2024-04-29 12:17:47 +02:00
Paolo Tranquilli
1f78882cdc
Go: make windows checks happy
2024-04-29 11:27:16 +02:00
Paolo Tranquilli
f0f6c229f6
Go: fix regex in action for macOS
2024-04-29 11:16:30 +02:00
Paolo Tranquilli
2f6dd2ab81
Go: refactor workflows with shared action
2024-04-29 11:12:48 +02:00
Paolo Tranquilli
6ec223c515
Go: small cleanup in Makefile
2024-04-29 11:00:21 +02:00
Paolo Tranquilli
0dfd336729
Go: fix //go:gen on windows
2024-04-29 10:34:22 +02:00
Paolo Tranquilli
b0758fd109
Go: workaround for gazelle on macOS
...
See https://github.com/bazelbuild/bazel-gazelle/issues/1793 for details.
2024-04-29 10:29:53 +02:00
erik-krogh
800d7546fa
change all the change-notes to breaking
2024-04-26 17:17:23 +02:00
Paolo Tranquilli
0f387eeac2
Go: add vendor update to //go:gen
2024-04-26 16:31:04 +02:00
Paolo Tranquilli
c8b02241af
Merge branch 'main' into redsun82/go
2024-04-26 15:59:17 +02:00
Paolo Tranquilli
146d84bbf8
Go: rework makefile
2024-04-26 15:20:33 +02:00
Paolo Tranquilli
bfa189e2ac
Go: use a dbscheme generated during the build in extractor-pack
2024-04-26 13:48:44 +02:00
Paolo Tranquilli
19b2e56d02
Go: group BUILD and dbscheme generation target
2024-04-26 13:38:10 +02:00
erik-krogh
14d88eb3ce
add change-notes
2024-04-26 12:56:28 +02:00
Paolo Tranquilli
925a2cca7e
Go: create whole extractor pack with bazel
2024-04-26 12:01:23 +02:00
Paolo Tranquilli
7d9a68bf17
Go: wrap gazelle to regenerate from scratch and add header
2024-04-26 11:19:22 +02:00
erik-krogh
baa31e1469
delete outdated deprecations
2024-04-25 22:19:28 +02:00
Michael B. Gale
b8cfff6d19
Go: Use Parse instead of ParseLax, since we need toolchain directives
2024-04-25 14:10:26 +01:00
Michael B. Gale
f33d7ee80d
Go: Add unit tests for hasInvalidToolchainVersion
2024-04-25 14:09:47 +01:00
Michael B. Gale
15a6308c72
Go: Refactor condition for EmitInvalidToolchainVersion into separate function
2024-04-25 14:04:00 +01:00