You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ga...@apache.org on 2024/06/15 05:46:02 UTC
(seatunnel) branch dev updated: [Hotfix][Zeta] Fix `generate_client_protocol.sh` (#6991)
This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new d401dc87c7 [Hotfix][Zeta] Fix `generate_client_protocol.sh` (#6991)
d401dc87c7 is described below
commit d401dc87c7a9600b666f04e9c08e29e371448e40
Author: hailin0 <wa...@apache.org>
AuthorDate: Sat Jun 15 13:45:56 2024 +0800
[Hotfix][Zeta] Fix `generate_client_protocol.sh` (#6991)
---
.../src/main/resources/generate_client_protocol.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/seatunnel-engine/seatunnel-engine-core/src/main/resources/generate_client_protocol.sh b/seatunnel-engine/seatunnel-engine-core/src/main/resources/generate_client_protocol.sh
index b20076446d..cb27f2b4a7 100755
--- a/seatunnel-engine/seatunnel-engine-core/src/main/resources/generate_client_protocol.sh
+++ b/seatunnel-engine/seatunnel-engine-core/src/main/resources/generate_client_protocol.sh
@@ -45,10 +45,12 @@ echo $SCRIPT_DIR
echo $SEATUNNEL_ENGINE_HOME
echo $PROTOCOL_DIRECTORY
-$GIT clone --depth=1 https://github.com/hazelcast/hazelcast-client-protocol.git $PROTOCOL_DIRECTORY
+$GIT clone https://github.com/hazelcast/hazelcast-client-protocol.git $PROTOCOL_DIRECTORY
cd $PROTOCOL_DIRECTORY
+$GIT checkout 8db5d9828132ea60d6d8755bf7e67058c9191b91
+
$PIP3 install -r requirements.txt
$PYTHON generator.py -r $SEATUNNEL_ENGINE_HOME -p $SEATUNNEL_ENGINE_HOME/seatunnel-engine-core/src/main/resources/client-protocol-definition \