You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
17
17
- Protos are compiled with gRPC 1.62.3 / protobuf 3.25.X instead of the latest release. This ensures compatibility with a wider range of grpcio versions for better compatibility with other packages / libraries ([#36](https://github.com/microsoft/durabletask-python/pull/36)) - by [@berndverst](https://github.com/berndverst)
18
18
- Http and grpc protocols and their secure variants are stripped from the host name parameter if provided. Secure mode is enabled if the protocol provided is https or grpcs ([#38](https://github.com/microsoft/durabletask-python/pull/38) - by [@berndverst)(https://github.com/berndverst)
19
+
- Improve ProtoGen by downloading proto file directly instead of using submodule ([#39](https://github.com/microsoft/durabletask-python/pull/39) - by [@berndverst](https://github.com/berndverst)
Copy file name to clipboardExpand all lines: README.md
+2-8
Original file line number
Diff line number
Diff line change
@@ -161,19 +161,13 @@ The following is more information about how to develop this project. Note that d
161
161
162
162
### Generating protobufs
163
163
164
-
Protobuf definitions are stored in the [./submodules/durabletask-proto](./submodules/durabletask-proto) directory, which is a submodule. To update the submodule, run the following command from the project root:
165
-
166
-
```sh
167
-
git submodule update --init
168
-
```
169
-
170
-
Once the submodule is available, the corresponding source code can be regenerated using the following command from the project root:
171
-
172
164
```sh
173
165
pip3 install -r dev-requirements.txt
174
166
make gen-proto
175
167
```
176
168
169
+
This will download the `orchestrator_service.proto` from the `microsoft/durabletask-protobuf` repo and compile it using `grpcio-tools`. The version of the source proto file that was downloaded can be found in the file `durabletask/internal/PROTO_SOURCE_COMMIT_HASH`.
170
+
177
171
### Running unit tests
178
172
179
173
Unit tests can be run using the following command from the project root. Unit tests _don't_ require a sidecar process to be running.
0 commit comments