Commit Graph

9 Commits (main)

Author SHA1 Message Date
Sandy Zhang df630fa6f1 MODULE.bazel fixes for protobuf BCR release.
- Specifies bazel version for presubmits
- Set C++14 version (default is c++11 otherwise, which is unsupported)
- Update MODULE.bazel version + updater since publish-to-bcr can't handle constants and adds a duplicate version number

PiperOrigin-RevId: 633729225
2024-05-14 15:43:38 -07:00
Mike Kruskal 95877d8569 Updating version.json and repo version numbers to: 28-dev (#16555)
Closes #16555

PiperOrigin-RevId: 626081638
2024-04-18 10:47:14 -07:00
Keith Smiley 1bc6d6d532 [bzlmod] Set repo_name to com_google_protobuf (#16495)
This is currently required by 8d025c08ff/upb_generator/bootstrap_compiler.bzl (L30)

We could try to change it but this is fine to do for now

Closes #16495

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16495 from keith:ks/bzlmod-set-repo_name-to-com_google_protobuf 357776de4a
PiperOrigin-RevId: 625820218
2024-04-17 15:13:24 -07:00
Keith Smiley 9c686a2c5c [bzlmod] Set repo_name to com_google_protobuf (#16495)
This is currently required by 8d025c08ff/upb_generator/bootstrap_compiler.bzl (L30)

We could try to change it but this is fine to do for now

Closes #16495

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16495 from keith:ks/bzlmod-set-repo_name-to-com_google_protobuf 357776de4a
PiperOrigin-RevId: 625786077
2024-04-17 13:25:50 -07:00
Protobuf Team Bot c755d9ac1a Add `load()` statements for the Bazel builtin top-level java symbols
Loads are being added in preparation for moving the symbols out of Bazel and into `rules_java`.

PiperOrigin-RevId: 625688195
2024-04-17 08:18:16 -07:00
Sandy Zhang b267cd4e16 Pull ouot MODULE.bazel module version into PROTOBUF_VERSION string variable for automation to update version numbers during release
PiperOrigin-RevId: 623624712
2024-04-10 15:34:39 -07:00
Protobuf Team Bot 21d75f861c Remove references to rules_proto
They are not needed after the rules are move into protobuf repo.
Except for the reference to toolchain type, which is currently in rules_proto and can be moved after the implementation is moved into protobuf repo.

PiperOrigin-RevId: 622176865
2024-04-05 07:50:25 -07:00
Alex Eagle 71e4061ace feat: test bzlmod usage on CI (#16319)
Closes #16319

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16319 from protocolbuffers:bcr d66845cfcb
PiperOrigin-RevId: 619939078
2024-03-28 08:33:48 -07:00
Protobuf Team Bot 312986896d Disable Bzlmod explicitly in .bazelrc
This will help make sure [Bazel Downstream Pipeline](https://github.com/bazelbuild/continuous-integration/blob/master/docs/downstream-testing.md) is green after enabling Bzlmod at Bazel@HEAD

See https://github.com/bazelbuild/bazel/issues/18958#issuecomment-1749058780

Related https://github.com/protocolbuffers/protobuf/issues/14313

Closes: https://github.com/protocolbuffers/protobuf/pull/14314
PiperOrigin-RevId: 572920528
2023-10-12 08:58:17 -07:00