Cornelius Riemenschneider
396bf93ac0
Merge pull request #17716 from github/criemen/rules-kotlin-2.0.0
...
Upgrade rules_kotlin to 2.0.0.
2024-10-10 15:07:50 +02:00
Cornelius Riemenschneider
4de0fefe86
Upgrade rules_kotlin to 2.0.0.
...
This is required for the bazel 8 upgrade, as one of the
incompatible-flag flips breaks 1.9.4.
2024-10-09 16:04:16 +02:00
Cornelius Riemenschneider
4c21444dd5
Bazel: Flip --incompatible_use_plus_in_repo_names.
...
We've hardcoded the tilde in a lot of places :(
This improves performance on Windows and gets us ready for Bazel 8.
We need an upgrade of rules_rust for this to work.
2024-10-09 14:04:05 +02:00
Paolo Tranquilli
96dda8808c
Rust: rename generate-schema -> ast-generator
2024-10-08 10:03:00 +02:00
Ian Lynagh
5a03c35e9c
Kotlin: Add 2.1.0-Beta1
2024-09-25 15:23:34 +01:00
Arthur Baars
1f30d5f41b
Rust: generate schema.py and extractor from ungrammar
2024-09-19 13:00:05 +02:00
Paolo Tranquilli
e280e1ebee
Merge pull request #17441 from github/redsun82/rust-cli-flags
...
Rust: make the cli flags override automatic
2024-09-16 14:37:43 +02:00
Dave Bartolomeo
485fc04029
Initial merge from main
2024-09-15 08:55:31 -04:00
Paolo Tranquilli
0a8c0f5ab4
Rust: fix bazel build
2024-09-12 08:46:50 +02:00
Paolo Tranquilli
aa6726a401
Bazel: bump up rules_rust version
2024-09-11 10:43:49 +02:00
Paolo Tranquilli
f8c9d96882
Bazel: remove non-working fake tree-sitter-extractor workaround
...
The `.cargo/config.toml` override based workaround wasn't really
working, as while `cargo build|check` was reading that, `cargo metadata`
wasn't, ending up in a completely broken IDE experience.
For the moment, we just use a unified workspace `Cargo.toml` for all
extractors using the shared tree-sitter code, which has the downside of
making bazel pull in dependencies for all of them, and not being able to
do sparse checkouts for them. We should investigate and rivist this in
the future.
2024-09-11 08:17:11 +02:00
Paolo Tranquilli
6f36ea9188
Merge branch 'main' into rust-experiment
...
Conflicts:
shared/tree-sitter-extractor/src/trap.rs
2024-09-09 14:15:34 +02:00
Michael B. Gale
772bc9b5c8
Go: Bump everything to 1.23.1
2024-09-05 21:12:46 +01:00
Michael B. Gale
d790d1ff08
Go: Use 1.23 in build process
2024-09-05 21:12:38 +01:00
Paolo Tranquilli
b23e482ed2
Merge branch 'main' into rust-experiment
2024-09-05 12:29:29 +02:00
Cornelius Riemenschneider
f76a190ed1
CI: Upgrade bazel rules.
2024-09-05 11:40:06 +02:00
Michael B. Gale
66af4fd337
Bazel: Bump rules_go to 0.50.0
2024-09-04 13:47:21 +01:00
Michael B. Gale
c05c1d5087
Bazel: Bump rules_go to 0.50.0
2024-09-03 12:42:40 +01:00
Paolo Tranquilli
4f0fe1ce3a
Rust: bazel packaging
2024-08-30 13:05:46 +02:00
Cornelius Riemenschneider
675e920667
Fix formatting.
2024-08-19 09:00:08 +02:00
Cornelius Riemenschneider
1faad979ad
Address review.
2024-08-19 08:54:56 +02:00
Cornelius Riemenschneider
f9bc97b2a1
crate_universe: Enable modext isolation.
...
This should allow us to build our python and ruby
code independently - in particular, we can now do shallow
checkouts of one without the other.
Previously, the modext introduced cross-dependency.
This also reduces the amount of work we do in the
crate universe processing for the other language, even
though it's unused.
This does need renaming the module, as otherwise
the generated paths from rules_rust get too long
for Windows :(
2024-08-18 21:00:30 +02:00
Cornelius Riemenschneider
4e013af530
Merge branch 'main' into criemen/upgrade-rules-rust
2024-08-06 12:40:39 +02:00
Cornelius Riemenschneider
3721e346c6
Bazel: Upgrade rules_rust.
2024-08-05 14:29:25 +02:00
Paolo Tranquilli
ccec347b0a
Go/Bazel: fix gazelle invocation to use bundled bazel go
2024-08-05 10:13:14 +02:00
Paolo Tranquilli
bf69c76829
Merge pull request #16987 from github/redsun82/go
...
Go/Bazel: use gazelle `go_deps` instead of a vendor directory
2024-07-17 13:44:23 +02:00
Ian Lynagh
06cc74f3aa
Kotlin: Switch from 2.0.20-Beta1 to -Beta2
2024-07-16 15:07:33 +01:00
Ian Lynagh
64ebfc6297
Kotlin: Add 2.0.20-Beta1
2024-07-16 15:07:32 +01:00
Paolo Tranquilli
e469534b84
Go/Bazel: use gazelle go_deps instead of a vendor directory
2024-07-16 13:12:37 +02:00
Paolo Tranquilli
a02cf07833
Bazel: add nodejs mirror
...
This patches `rules_nodejs` with the contents of
https://github.com/bazelbuild/rules_nodejs/pull/3763
in order to allow specifying a mirror for nodejs, as nodejs.org has
hit us with intermittent downtimes.
2024-06-24 16:59:25 +02:00
Cornelius Riemenschneider
00319c5010
Upgrade bazel to 7.2.0.
...
This also bumps a bunch of external dependencies.
2024-06-10 17:03:59 +02:00
Cornelius Riemenschneider
092bc6445d
Rust/bazel: Port to bzlmod.
...
This gets rid of our last workspace dependency.
In particular, this change also gets rid of the checked-in extra
lock files that took forever to generate.
2024-06-10 17:03:58 +02:00
Paolo Tranquilli
61847bc58b
Ripunzip: provide installer
2024-06-05 14:46:59 +02:00
Paolo Tranquilli
d1a2c0fbe4
Merge branch 'main' into redsun82/kotlin
2024-06-04 08:48:52 +02:00
Paolo Tranquilli
2606d3f6d1
Reapply "Bazel: add codeql specific packaging library"
...
This reverts commit 31d6b9be4d .
2024-05-29 15:46:29 +02:00
Paolo Tranquilli
31d6b9be4d
Revert "Bazel: add codeql specific packaging library"
2024-05-29 15:27:10 +02:00
Paolo Tranquilli
a8543d4a88
Zipmerge: port tests from internal repo
2024-05-28 12:01:57 +02:00
Paolo Tranquilli
821bd1f27b
Merge branch 'main' into redsun82/kotlin
2024-05-27 13:17:06 +02:00
Paolo Tranquilli
2bec696114
Merge branch 'main' into redsun82/pkg
2024-05-27 13:13:12 +02:00
Paolo Tranquilli
dcbf42d29c
Bazel: reorganize LFS files and add licensing information
2024-05-24 14:26:22 +02:00
Paolo Tranquilli
94d6feffed
Swift: fix module
2024-05-24 12:35:41 +02:00
Paolo Tranquilli
e8b857b79e
Bazel/Swift: add zip imports to packs
2024-05-24 12:18:42 +02:00
Cornelius Riemenschneider
71372bc74c
C#: Add Bazel-based build system.
...
This commits a bazel-based build system for C#
using `rules_dotnet`. External dependencies are managed
via `paket`, and updates to the generated bazel files
are done via `./update-deps.sh`.
We're providing our own (minimal) test runner for `xunit`
tests.
2024-05-21 09:14:13 +02:00
Paolo Tranquilli
239b6d8c8e
Merge branch 'main' into redsun82/kotlin
2024-05-06 17:24:53 +02:00
Paolo Tranquilli
471303bd7c
Bazel/Go: remove unneeded comment
2024-05-03 14:56:17 +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
cb85a756a0
Bazel: patch apple_support to avoid registering its toolchain
...
This is done in order to avoid requiring a full Xcode installation, but
still being able to use other `apple_support` facilities, like
`universal_binary`.
2024-04-29 13:42:05 +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
Paolo Tranquilli
c8b02241af
Merge branch 'main' into redsun82/go
2024-04-26 15:59:17 +02:00
Paolo Tranquilli
3ad9c026a5
Go: remove go_sdk.host
...
It's not required, and it can't work from the internal repository.
2024-04-26 11:20:47 +02:00