Paolo Tranquilli
6a83bf9de5
Merge pull request #16208 from github/redsun82/kotlin-wrapper
...
Kotlin/Bazel: provide wrapper for managing versions of `kotlinc`
2024-04-15 13:33:10 +02:00
Paolo Tranquilli
1b5675eb21
Kotlin/Bazel: tweak wrapper
2024-04-15 13:31:29 +02:00
Paolo Tranquilli
e53ef4acd2
Kotlin/Bazel: fix wrapper on Windows
2024-04-15 13:13:31 +02:00
Paolo Tranquilli
b07fa70133
Kotlin/Bazel: provide wrapper for managing versions of kotlinc
...
By adding `java/kotlinc-extractor/deps/dev` to `PATH`, one gets a
`kotlinc` wrapper that takes care of downloading and extracting the
desired version of `kotlinc` on demand. The desired version can be
selected with `kotlinc --select x.y.z`, or left to the current default
of `1.9.0`.
Moreover, this default version is integrated with the Bazel build, so
that when using this wrapper, changes in the selected version will be
picked up to define the default single version kotlin extractor build,
without needing to do anything else (like `bazel fetch --force` or
similar).
Selected and installed version data is stored in `.gitignore`d files
in the same directory, and can be cleared with `kotlinc --clear`.
2024-04-15 10:48:57 +02:00
Paolo Tranquilli
9d1901c049
Merge branch 'main' into redsun82/kotlin
2024-04-15 08:27:34 +02:00
Paolo Tranquilli
bdc8a7f59d
Revert "Use fetchexclude=* in .lfsconfig rather than fetchinclude"
...
This reverts commit a834101d7e .
Using `fetchinclude` allows for easier local customization of what to
fetch, because fetchexlude has precedence over fetchinclude.
2024-04-15 08:26:19 +02:00
Mathias Vorreiter Pedersen
0bed22178c
Merge pull request #16201 from MathiasVP/add-consistency
...
C++: Add new AST consistency check
2024-04-12 17:46:48 +01:00
Mathias Vorreiter Pedersen
aac1070aca
C++: Consistent naming.
2024-04-12 17:00:46 +01:00
Mathias Vorreiter Pedersen
413d3abbd7
C++: Add new AST consistency check.
2024-04-12 16:57:19 +01:00
Mathias Vorreiter Pedersen
116664588b
Merge pull request #16125 from MathiasVP/destructors-for-unconditional-unnamed
...
C++: Generate IR for destruction of unconditionally constructed temporaries
2024-04-12 16:26:03 +01:00
Paolo Tranquilli
b36cabb396
Anchor .gitattributes entries at root where it makes sense
2024-04-12 16:04:15 +02:00
Paolo Tranquilli
92a5f3da75
Merge branch 'main' into redsun82/kotlin
2024-04-12 16:02:39 +02:00
Paolo Tranquilli
3614d3d52b
Merge pull request #16199 from github/redsun82/add-shared-triggers-to-swift-ci
...
Swift: add `shared/**` to CI triggers
2024-04-12 16:00:18 +02:00
Paolo Tranquilli
de4ffbb552
Swift: add shared/** to CI triggers
...
Not being triggered by changes in shared was making it possible to not
notice changes in `shared` having effect on Swift tests. For example
[this PR](https://github.com/github/codeql/pull/15501 ) introduced a
test change that was fixed [here](https://github.com/github/codeql/pull/16197 ).
2024-04-12 15:46:01 +02:00
Paolo Tranquilli
67946614e3
Merge pull request #16197 from github/redsun82/accept-swift-tests
...
Swift: accept new test results
2024-04-12 15:34:00 +02:00
Paolo Tranquilli
70e72aadd5
Swift: accept new test results
2024-04-12 14:57:59 +02:00
Paolo Tranquilli
a78124b2d5
Bazel/Kotlin: use a wrapper to get the current kotlin version
2024-04-12 14:47:21 +02:00
Paolo Tranquilli
5c2d9fe9a1
Merge branch 'main' into redsun82/kotlin
2024-04-12 14:01:04 +02:00
Paolo Tranquilli
24c7ad5d28
Bazel/Kotlin: use plain kotlinc instead of result of repository_ctx.which
2024-04-12 14:00:46 +02:00
Tamás Vajk
91f2ea572c
Merge pull request #16164 from tamasvajk/buildless/nuget-feed-fallback-feed-check
...
C#: Check fallback nuget feeds before trying to use them in the fallb…
2024-04-12 13:17:06 +02:00
Paolo Tranquilli
0ad8ed3822
Kotlin/Bazel: use kotlinc.bat instead of kotlinc.exe on Windows
2024-04-12 12:15:26 +02:00
Paolo Tranquilli
65df2bb16d
Bazel/Kotlin: add .exe to kotlinc on windows
2024-04-12 11:56:33 +02:00
Paolo Tranquilli
b8010f27e7
Merge branch 'main' into redsun82/kotlin
2024-04-12 11:56:16 +02:00
Paolo Tranquilli
9114131128
Bazel: add settings required by internal repo
2024-04-12 11:19:43 +02:00
Paolo Tranquilli
2d16192bab
CI: fix typo in kotlin-build.yml
2024-04-12 11:19:43 +02:00
Joe Farebrother
5cebcadc56
Merge pull request #15987 from joefarebrother/ruby-mass-reassignment
...
Ruby: Add query for insecure mass assignment
2024-04-12 10:18:41 +01:00
Anders Schack-Mulligen
854dfb35c1
Merge pull request #15501 from aschackmull/dataflow/alert-provenance
...
Dataflow: Support alert provenance
2024-04-12 11:14:20 +02:00
Paolo Tranquilli
9c3a615794
CI: add non-blocking kotlin extractor build check
...
This is to check that the build from `codeql` works. The "official"
build will still be checked from the internal repo with QLucie, once
we integrate the bazel build there.
2024-04-12 10:59:17 +02:00
Paolo Tranquilli
bc89742979
Kotlin: fix space indentation in OdasaOutput.java
2024-04-12 10:50:02 +02:00
Paolo Tranquilli
c64d02d6df
Undo .gitattributes formatting, move LFS entry
2024-04-12 10:44:18 +02:00
Paolo Tranquilli
a834101d7e
Use fetchexclude=* in .lfsconfig rather than fetchinclude
2024-04-12 10:41:46 +02:00
Paolo Tranquilli
4822de3313
Kotlin/Bazel: add fail printouts to _default_version
2024-04-12 10:19:10 +02:00
Anders Schack-Mulligen
b4e23d9487
Dataflow: Address review comments
2024-04-12 09:20:45 +02:00
Anders Schack-Mulligen
31a86574bb
Dataflow: Add change note.
2024-04-12 09:20:42 +02:00
Anders Schack-Mulligen
b7ee5597a0
Swift: Update expected output (interesting).
2024-04-12 09:20:40 +02:00
Anders Schack-Mulligen
2c43d0c5a4
Ruby: Update expected output (interesting).
2024-04-12 09:20:38 +02:00
Anders Schack-Mulligen
7cc8fd00aa
Ruby: Update expected output (uninteresting).
2024-04-12 09:20:35 +02:00
Anders Schack-Mulligen
cbcdf1f8b5
Python: Update expected output (interesting).
2024-04-12 09:20:33 +02:00
Anders Schack-Mulligen
bfcfedab8c
Python: Update expected output (uninteresting).
2024-04-12 09:20:30 +02:00
Anders Schack-Mulligen
f85ff9defc
Java: Update expected output (interesting).
2024-04-12 09:20:28 +02:00
Anders Schack-Mulligen
c2f5731e8d
Java: Update expected output (uninteresting).
2024-04-12 09:20:26 +02:00
Anders Schack-Mulligen
20e91f9cac
Go: Update expected output (uninteresting).
2024-04-12 09:20:23 +02:00
Anders Schack-Mulligen
c3946a92ff
C#: Update expected output (interesting)
2024-04-12 09:20:21 +02:00
Anders Schack-Mulligen
647f9aba82
C#: Update some expected output (uninteresting).
2024-04-12 09:20:18 +02:00
Anders Schack-Mulligen
c355737d30
C++: Update expected output.
2024-04-12 09:20:16 +02:00
Anders Schack-Mulligen
fdfb4a1a18
JS: Adapt to shared ApiGraphModels.qll changes.
2024-04-12 09:20:13 +02:00
Anders Schack-Mulligen
44147b9520
JS: Sync.
2024-04-12 09:20:11 +02:00
Anders Schack-Mulligen
a8fc100108
Python: Add alert provenance plumbing.
2024-04-12 09:20:08 +02:00
Anders Schack-Mulligen
f202661912
C++: Add alert provenance plumbing.
2024-04-12 09:20:06 +02:00
Anders Schack-Mulligen
6991f5452f
Ruby: Add alert provenance plumbing.
2024-04-12 09:20:04 +02:00