From 86de35054b14cd3a3f1a8da82a31e5ad1b0726e9 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Tue, 21 Feb 2023 17:04:00 -0800 Subject: [PATCH] Revert "dockerizing buf call (#356)" This reverts commit 398c54f1961211f00b9c0597de54bfe7bd2b5b6d. Signed-off-by: Eduardo Apolinario --- generate_protos.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/generate_protos.sh b/generate_protos.sh index 0f3cfb3c5..b4f905ca7 100755 --- a/generate_protos.sh +++ b/generate_protos.sh @@ -29,7 +29,10 @@ do done # Buf migration -docker run -u $(id -u):$(id -g) -e "BUF_CACHE_DIR=/tmp/cache" --volume "$(pwd):/workspace" --workdir /workspace bufbuild/buf generate +# TODO: fix stub generation via docker image. The trick of forcing the current user as a user in +# the container (used extensively in this file) does not work. +# docker run --volume "$(pwd):/workspace" --workdir /workspace bufbuild/buf generate +buf generate # Unfortunately the python protoc plugin does not add __init__.py files to the generated code # (as described in https://github.com/protocolbuffers/protobuf/issues/881). One of the