Skip to content
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

#112 Regenerated #113

Merged
merged 12 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.DS_Store
.history
bindings/
.coverage
.coverage

.venv
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning].

- ...

## [0.7.11] - 2025-02-07

### Changed in 0.7.11

- Update dependencies
- Update generated code given updated dependencies

## [0.7.10] - 2024-10-08

### Changed in 0.7.10
Expand Down
21 changes: 15 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ hello-world: hello-world-osarch-specific
# Dependency management
# -----------------------------------------------------------------------------

.PHONY: venv
venv: venv-osarch-specific

.PHONY: dependencies-for-development
dependencies-for-development: dependencies-for-development-osarch-specific
@python3 -m pip install --upgrade pip
@python3 -m pip install --requirement development-requirements.txt
dependencies-for-development: venv dependencies-for-development-osarch-specific
$(activate-venv); \
python3 -m pip install --upgrade pip; \
python3 -m pip install --requirement development-requirements.txt
@go install golang.org/x/tools/cmd/godoc@latest
@go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
Expand All @@ -65,7 +69,10 @@ dependencies-for-development: dependencies-for-development-osarch-specific


.PHONY: dependencies
dependencies:
dependencies: venv
$(activate-venv); \
python3 -m pip install --upgrade pip; \
python3 -m pip install --requirement requirements.txt
@go get -u ./...
@go get -t -u ./...
@go mod tidy
Expand Down Expand Up @@ -117,20 +124,22 @@ generate-php:
for SENZING_COMPONENT in $(SENZING_COMPONENTS); do \
OUTPUT_DIR=example_generated_source_code/php/$${SENZING_COMPONENT}; \
mkdir -p $${OUTPUT_DIR}; \
protoc --php_out=$${OUTPUT_DIR} --grpc_out=$${OUTPUT_DIR} --plugin=protoc-gen-grpc=`which grpc_php_plugin` $${SENZING_COMPONENT}.proto; \
protoc --proto_path=. --php_out=$${OUTPUT_DIR} --grpc_out=$${OUTPUT_DIR} --plugin=protoc-gen-grpc=`which grpc_php_plugin` $${SENZING_COMPONENT}.proto; \
done


.PHONY: generate-python
generate-python:
$(activate-venv); \
for SENZING_COMPONENT in $(SENZING_COMPONENTS); do \
OUTPUT_DIR=example_generated_source_code/python/$${SENZING_COMPONENT}; \
mkdir -p $${OUTPUT_DIR}; \
protoc --proto_path=. --python_out=$${OUTPUT_DIR} $${SENZING_COMPONENT}.proto; \
python -m grpc_tools.protoc --proto_path=. --python_out=$${OUTPUT_DIR} --pyi_out=$${OUTPUT_DIR} --grpc_python_out=$${OUTPUT_DIR} $${SENZING_COMPONENT}.proto; \
done

# Replaced with "protoc"
# python3 -m grpc_tools.protoc --proto_path=. --python_out=$${OUTPUT_DIR} --grpc_python_out=$${OUTPUT_DIR} $${SENZING_COMPONENT}.proto; \
# protoc --proto_path=. --python_out=$${OUTPUT_DIR} $${SENZING_COMPONENT}.proto; \


.PHONY: generate-ruby
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Feel free to comment on it, but do not use it in production, yet.
The repository for Senzing's Protocol Buffer `.proto` files.
It also contains code generated by [protoc] for use in servers and clients of the Senzing engine.

[![License Badge]][License]

## Overview

### Expectations
Expand Down Expand Up @@ -54,6 +56,8 @@ It also contains code generated by [protoc] for use in servers and clients of th
[Introduction to gRPC]: https://grpc.io/docs/what-is-grpc/introduction/
[java]: example_generated_source_code/java
[Language Guide for proto3]: https://developers.google.com/protocol-buffers/docs/proto3
[License Badge]: https://img.shields.io/badge/License-Apache2-brightgreen.svg
[License]: https://github.com/senzing-garage/sz-sdk-proto/blob/main/LICENSE
[Package reference]: https://pkg.go.dev/github.com/senzing-garage/sz-sdk-proto/go
[php]: example_generated_source_code/php
[protoc man page]: https://manpages.debian.org/testing/protobuf-compiler/protoc.1.en.html
Expand All @@ -62,3 +66,6 @@ It also contains code generated by [protoc] for use in servers and clients of th
[Protocol buffers]: https://developers.google.com/protocol-buffers
[python]: example_generated_source_code/python
[ruby]: example_generated_source_code/ruby
[Senzing Garage]: https://github.com/senzing-garage
[Senzing Quick Start guides]: https://docs.senzing.com/quickstart/
[Senzing]: https://senzing.com/
2 changes: 1 addition & 1 deletion development-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
grpcio-tools==1.66.2
grpcio-tools==1.70.0
10 changes: 5 additions & 5 deletions example_generated_source_code/cpp/szconfig/szconfig.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions example_generated_source_code/cpp/szengine/szengine.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions example_generated_source_code/cpp/szproduct/szproduct.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading