Commit Graph

137 Commits

Author SHA1 Message Date
Adam Liddell 6ed1cc729e Update grpc 2023-06-04 23:57:23 +01:00
Adam Liddell 41a08bf339 Update protoc-gen-validate 2023-05-03 12:57:26 +01:00
Adam Liddell b5c64a09dc Apply buildifier 2022-12-01 22:13:20 +00:00
Adam Liddell aed1a01df3 Rename var 2022-12-01 21:53:45 +00:00
Adam Liddell 339b5370f3 Forward all Bazel common attrs in library macros
Closes #218
2022-12-01 21:45:56 +00:00
Adam Liddell 8c3d6e8907 Update protoc-gen-validate 2022-11-22 21:51:54 +00:00
Adam Liddell 03087e8bd3 Update protobuf and grpc 2022-11-22 21:14:48 +00:00
Adam Liddell 273e17db45 Rollback gazelle version 2022-08-23 21:58:14 +01:00
Adam Liddell 9bdc90eb5c Update rules_go and gazelle 2022-08-23 19:48:39 +01:00
Adam Liddell e963e067a4 Bump grpc version again 2022-08-23 17:33:46 +01:00
Adam Liddell 44db891992 Update grpc 2022-07-15 23:53:30 +01:00
Adam Liddell 6929b8c096 Apply buildifier 2022-05-22 23:33:23 +01:00
Adam Liddell fcd793ccba Make grpc-gateway deps follow go deps 2022-05-22 23:04:41 +01:00
Adam Liddell b61c72bb0f Add org_golang_google_protobuf to go deps 2022-05-22 22:59:37 +01:00
Adam Liddell 1d2daebf4c Bump go deps 2022-05-22 22:14:21 +01:00
Sasha Morrissey 7825f7d499
Bump version of protoc-gen-validate library
Bump version of github.com/envoyproxy/protoc-gen-validate.

Without this update, passing a `go_validate_library` to a `gopath` rule gives the error:

```
foo/bar.proto: is a proto3 file that contains optional fields, but code generator protoc-gen-validate_go_plugin hasn't been updated to support optional fields in proto3. Please ask the owner of this code generator to support proto3 optional.--validate_go_plugin_out: 
```

Adding `--validate_go_plugin_out` to `extra_protoc_args` doesn't fix the issue. But this patch does.
2022-04-08 22:38:22 +10:00
Adam Liddell ec93e0b731 Update validate repo 2021-11-28 22:14:53 +00:00
Adam Liddell 68600600ba Add missing validate dep, closes #149 2021-11-28 18:20:17 +00:00
Adam Liddell 9677dbecbb Update grpc to 1.42.0 and protobuf to 1.19.1 2021-11-28 17:03:55 +00:00
Adam Liddell ad9f4f7633 Update to grpc 1.41.0 2021-10-03 23:19:53 +01:00
Adam Liddell d143d46d42 Add doc_template_compile, closes #121 2021-09-21 00:20:19 +01:00
Adam Liddell 4e0c63304c Add validation rules for go. Closes #16 2021-09-20 12:21:29 +01:00
Adam Liddell 6bc61634f7 Remove unneeded check 2021-09-19 23:16:06 +01:00
Adam Liddell 8d09a4d73e Drop transitive aspect-based compilation. Closes #137 2021-09-17 18:25:48 +00:00
Adam Liddell 592bd1ff82 Update core deps 2021-09-16 20:50:19 +00:00
Adam Liddell 92d4f039e7 Restructure docs 2021-04-05 19:54:37 +00:00
Adam Liddell 49598ca028 Fixup more MD -> RST 2021-04-05 14:50:35 +00:00
Adam Liddell 71ad087add Use RST for language readmes 2021-04-05 13:41:57 +00:00
Adam Liddell 4cbbbe3d32 Add Buf lint and breaking rules 2021-03-02 23:11:51 +00:00
Adam Liddell 5cad44efcc Tidy readme 2021-02-28 00:58:11 +00:00
Adam Liddell 37a517d2f8 Update empty templates for go and grpc-gateway 2021-02-28 00:17:45 +00:00
Adam Liddell d161e62f92 Update rule descriptions to be more readable 2021-02-24 22:43:29 +00:00
Adam Liddell 18d4e22bf7 Pass name attr directly rather than via kwargs 2021-02-21 20:30:40 +00:00
Adam Liddell c0533d9ccf Fix empty default values in docs 2021-02-20 13:31:57 +00:00
Adam Liddell a7b937dd75 Remove ProtoLibraryAspectNodeInfo from require providers for protos attr 2021-02-19 15:25:09 +00:00
Adam Liddell 6a810a7872 Test disabling aspect on protos attr to compile rules 2021-02-19 15:23:12 +00:00
Adam Liddell bae2ccfb41 Apply buildifier 2021-02-15 11:40:12 +00:00
Adam Liddell a53a68a680 Ensure new args are forwarded in library rules 2021-02-15 10:57:43 +00:00
Adam Liddell cd983841c1 Add plugin labels to language readmes 2021-02-15 10:25:11 +00:00
Adam Liddell 2a1ecc25a8 Add extra_protoc_args at rule level, closes #105 2021-02-14 22:51:54 +00:00
Adam Liddell ce60b3471f Add prefix_path option to docs 2021-02-14 22:26:09 +00:00
Adam Liddell 683bdd5de0 In direct compilation mode, setup protoc actions directly
This allows adding support for 'options' attr :)
2021-02-14 22:05:51 +00:00
Adam Liddell 7012cefcf8 Apply yet more buildifier fixes 2021-02-14 20:14:48 +00:00
Adam Liddell 247cba9a4d Apply some more buildifier fixes 2021-02-14 18:21:14 +00:00
Adam Liddell dc25b2ec6d Load ProtoInfo from rules_proto in aspect definitions 2021-02-14 18:13:14 +00:00
Adam Liddell 4f4408177c Restructure starlark files 2021-02-14 18:03:31 +00:00
Adam Liddell 5dd3f6c6bd Apply buildifier 2021-02-13 23:23:38 +00:00
Adam Liddell d69fbe1e08 Add non-transitive compilation mode 2021-02-13 20:12:00 +00:00
Adam Liddell ffa28d6940 Update go version 2021-02-12 22:26:14 +00:00
Adam Liddell 8d70d51fe4 Add fixer tool to force a plugin to be deterministic
Used as a last resort when a plugin is not determinitstic and cannot be
used with output_directory
2021-02-11 20:33:26 +00:00