mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
chore: update dependencies and enhance gRPC services
- Updated various dependencies in go.mod and go.sum files, including cloud.google.com/go/compute/metadata to v0.5.2, google.golang.org/grpc to v1.69.2, and google.golang.org/protobuf to v1.36.1. - Refactored gRPC service definitions to use the latest protoc-gen-go and protoc versions, ensuring compatibility with the latest gRPC-Go features. - Introduced a new logger utility in core/utils/logger.go to improve logging capabilities across the application. - Added a README.md for gRPC setup and compilation guidance, enhancing developer experience. - Improved the Python installation script to handle version listing more effectively and ensure user-specific environment setup.
This commit is contained in:
@@ -40,7 +40,9 @@ setup_pyenv() {
|
||||
# Install pyenv if not already installed
|
||||
if [ ! -d "$HOME/.pyenv" ]; then
|
||||
curl https://pyenv.run | bash
|
||||
fi
|
||||
|
||||
if [ ! -f "$HOME/.pyenv-env.sh" ]; then
|
||||
# Create a file in $HOME/.pyenv-env.sh
|
||||
cat > $HOME/.pyenv-env.sh << 'EOF'
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
@@ -136,9 +138,9 @@ case $command in
|
||||
|
||||
"list")
|
||||
setup_pyenv
|
||||
pyenv versions
|
||||
pyenv install --list | awk '/^ [23]/ {print $1}' | grep -v "[a-zA-Z]" | tac
|
||||
;;
|
||||
|
||||
|
||||
*)
|
||||
print_usage
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user