Commit Graph

1571 Commits

Author SHA1 Message Date
Adam Liddell 35baca2fb2 Generate rust compile rules with rulegen 2023-07-25 23:24:42 +01:00
Adam Liddell 9924aeec70 Remove comment 2023-07-25 23:20:32 +01:00
Adam Liddell 7064b28a75 Speed up C++ routegen test client 2023-07-25 23:15:10 +01:00
Adam Liddell 28dd16e995 Apply buildifier 2023-07-25 23:01:55 +01:00
Adam Liddell 8248be4ec4 Split rust macros.bzl in preparation for rulegen 2023-07-25 22:54:19 +01:00
Adam Liddell f432c0fe2d Split up compile.bzl into placeholder targets for rulegen 2023-07-24 23:36:14 +01:00
Adam Liddell 13cd312a91 Make rust routeguide client terminate 2023-07-24 23:28:46 +01:00
Adam Liddell fe05dc0fc3 Fix rust routeguide client dynamic port 2023-07-24 23:24:30 +01:00
Adam Liddell dff67d0bc6 Fix port setting for rust routeguide server 2023-07-24 23:21:40 +01:00
Adam Liddell 8d04f4d58e Rename rust common bzl file 2023-07-24 22:56:12 +01:00
Adam Liddell 1ba48fa5d8 Remove unused var and extract provider to separate file 2023-06-27 21:52:39 +01:00
Adam Liddell d3580920b9 Add crate rules to rust examples template 2023-06-24 22:38:01 +01:00
Adam Liddell 28d66be6e3 Add WiP changelog entries 2023-06-17 22:47:44 +01:00
Jason Schein 5e60e62762 Use tonic for rust proto and grpc. Updates to handle dependency chains. 2023-06-05 22:28:40 -07:00
Jason Schein 978b48d7ff Explicitly specify platforms version to use.
Currently we default to rules_proto version which, which is out of date
and missing @platforms//os:fuchsia. This causes any downstream rulesets
that are configuring using this constraint (rules_rust) to fail to
build.
2023-06-05 22:28:40 -07:00
Jonathan Rudenberg 0830cf211c Replace rust rules with new prost and tonic rules 2023-06-05 22:28:40 -07:00
Adam Liddell cbdb484f0f Update rulegen to reflect changes in README.md 2023-06-05 23:20:25 +01:00
Adam Liddell 4c1895927a
Merge pull request #264 from echochamber/readme-fixes
Replace broken Developers link with Custom Plugins on readme.
2023-06-05 23:19:35 +01:00
Adam Liddell 9909eb3f3d
Merge branch 'master' into readme-fixes 2023-06-05 23:19:04 +01:00
Adam Liddell bba1c5141c Update rules_ruby 2023-06-05 23:02:52 +01:00
Jason Schein 51dc36ad91 Replace broken Developers link with Custom Plugins on readme. 2023-06-05 11:23:28 -07:00
Adam Liddell 3bcc149eef Remove orphaned file 2023-06-05 00:27:37 +01:00
Adam Liddell ad23899c3e Add host_cxxopt 2023-06-05 00:10:22 +01:00
Adam Liddell 562b5c5ca3 Update buildkite linux ubuntu version 2023-06-05 00:04:35 +01:00
Adam Liddell 6ed1cc729e Update grpc 2023-06-04 23:57:23 +01:00
Adam Liddell b1ac2fb2a9 Update rules_go, closes #260 2023-06-04 23:26:18 +01:00
Adam Liddell f17c8455e9 Add support for passing data attr to Python library rules, closes #257 2023-06-04 23:21:51 +01:00
Adam Liddell 8c6b08f55b Update rules_proto, closes #261 2023-06-04 23:03:44 +01:00
Adam Liddell acd8e2d9b1 Update rulegen to account for changes in #262 2023-06-04 22:12:19 +01:00
Adam Liddell fbcd2cbb9e
Merge pull request #262 from william-smith-skydio/srcs-in-runfiles-fix
Remove grpc sources from runfiles trees
2023-06-04 22:09:24 +01:00
Adam Liddell ffd14e1383
Merge branch 'master' into srcs-in-runfiles-fix 2023-06-04 22:06:47 +01:00
Adam Liddell febb19de59
Merge pull request #258 from tivvit/fix-go-plugin-opts
fix go plugin opts
2023-06-04 22:04:27 +01:00
William Smith 684375c6ce Remove grpc sources from runfiles trees.
If a C++ binary uses grpc code generated with cpp_grpc_library,
the resulting runfiles tree includes the generated grpc sources.

Reproducer here:
https://gist.github.com/william-smith-skydio/e3b630f7cc826ad33f283b8017a88cc7

```bash
> tree bazel-bin/test.runfiles/__main__/
bazel-bin/test.runfiles/__main__/
├── grpc_test_proto_cpp_pb
│   ├── grpc_test.grpc.pb.cc -> ...
│   ├── grpc_test.grpc.pb.h -> ...
│   ├── grpc_test_mock.grpc.pb.h -> ...
│   ├── grpc_test.pb.cc -> ...
│   └── grpc_test.pb.h -> ...
└── test -> ...
```

With this patch applied, I get the expected behavior:

```bash
tree bazel-bin/test.runfiles
bazel-bin/test.runfiles
├── __main__
│   └── test -> ...
└── MANIFEST
```

This issue does not affect cpp_proto_library since that was
already using the split srcs/hdrs targets.
2023-05-31 15:51:02 -07:00
Vít Listík ee49511f6f
fix go plugin opts 2023-05-20 19:49:19 +02:00
Adam Liddell 21efd5d352 Update docs install URL 2023-05-03 16:05:49 +01:00
Adam Liddell 2469f3aec6 Update readme 2023-05-03 15:44:00 +01:00
Adam Liddell 298ac1a6fd
Merge pull request #244 from rules-proto-grpc/dev
4.4.0 Release
2023-05-03 15:30:59 +01:00
Adam Liddell 2e710c9af7 Update readme 2023-05-03 13:15:26 +01:00
Adam Liddell eca206adac Extend objc test workspace 2023-05-03 13:11:06 +01:00
Adam Liddell dadb0d152f Merge branch 'dev' of github.com:rules-proto-grpc/rules_proto_grpc into dev 2023-05-03 13:00:48 +01:00
Adam Liddell ad48699f45 Add changelog 2023-05-03 12:59:56 +01:00
Adam Liddell 9635a1474d Update release URL in test workspace 2023-05-03 12:58:18 +01:00
Adam Liddell 41a08bf339 Update protoc-gen-validate 2023-05-03 12:57:26 +01:00
Adam Liddell b4bc48d312
Merge pull request #253 from danny-skydio/master
Fix capitalization on Objective-C outputs containing digits
2023-05-03 12:43:44 +01:00
danny 092451c918 Fix capitalization on Objective-C outputs
The function in objectivec_helpers.cc also splits segments if they come
after a digit, which wasn't being handled correctly.

e.g. vector_3f -> Vector3F

This sadly makes this function a lot more complicated. I naively
transliterated the function, so I have no doubt that this could be
improved. I'd be slightly concerned about starlark performance if you
were using this for some absurd number of types.
2023-04-05 17:01:22 -07:00
Adam Liddell ffb8b5fd27 Add untested workflow to publish release assets 2023-03-22 22:39:39 +00:00
Adam Liddell a95dceb66d Export proto_compile, see #240 2023-03-22 21:22:23 +00:00
Adam Liddell 183e202eea Replace remaining names of grpc gateway 2023-03-07 21:22:49 +00:00
Adam Liddell 5d63249fda
Merge pull request #243 from yext/4.3.0-yext
Rename grpc_ecosystem_grpc_gateway to be consistent with the Go ecosystem
2023-03-07 21:18:22 +00:00
Ali Tavakoli 59392b1918
Reorder deps to pass Rulegen Diff check 2023-03-07 12:50:12 -05:00