-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEAM-13939: Restructure Protos to fix namespace conflicts #16961
BEAM-13939: Restructure Protos to fix namespace conflicts #16961
Commits on Apr 7, 2022
-
Updates the Beam model protos to be housed in a namespaced directory …
…structure. This is so that the proto files require usage of a org/apache/beam/model namespace in their imports and so that the generated files also include this namespace in their source file metadata.
Configuration menu - View commit details
-
Copy full SHA for c54e923 - Browse repository at this point
Copy the full SHA c54e923View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce48b4a - Browse repository at this point
Copy the full SHA ce48b4aView commit details -
Adds a generic proto generated script that can be used to correctly g…
…enerate all proto files for the go sdk. This new tool will add any necessary options to the proto compiler and generate the proto files relative to the go sdk root to ensure that the generated files have a namespaced file path in their metadata. If you want to generate a proto file in the go sdk, simply use this script in the go:generate directive, the rest will be taken care of by the script.
Configuration menu - View commit details
-
Copy full SHA for ca2a688 - Browse repository at this point
Copy the full SHA ca2a688View commit details -
Updates the go sdk to use the new genproto script to correctly genera…
…te proto bindings. Updates the README for how to generate the model proto bindings into the SDK
Configuration menu - View commit details
-
Copy full SHA for 0c0db24 - Browse repository at this point
Copy the full SHA 0c0db24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ba83d - Browse repository at this point
Copy the full SHA 53ba83dView commit details -
Updates to the python build system. gen_protos.py now supports the ne…
…w namespaced structure of the Beam model. It does this by supporting arbitrary directory structures of proto files by calculating and replacing the generated imports with relative imports with the generated source. Additionally, it will generate bindings that allow for imports of the form `from apache_beam.portability.api import beam_runner_api_pb2` so that the SDK is not dependent on the potentially changing structure of the generated bindings within `api`. Imports of the form `from apache_beam.portability.api.org.apache.beam.model import beam_runner_api_pb2` are still supported. setup.py now attempts to generate the proto bindings on invocation since the package structure must exist before the wheel can be created.
Configuration menu - View commit details
-
Copy full SHA for 55968e3 - Browse repository at this point
Copy the full SHA 55968e3View commit details -
Updates to various build, ignore, and linting tooling for python in o…
…rder to support the new python output structure
Configuration menu - View commit details
-
Copy full SHA for cb776c7 - Browse repository at this point
Copy the full SHA cb776c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbf3a61 - Browse repository at this point
Copy the full SHA bbf3a61View commit details