pyvider 2025-01-26
Large codebase-wide rename of `logger
37 files · 1,495+ · 786-

logger.warning -> logger.warn

33 files changed
  • 2025-01-26-1036-claude.md Added 2025-01-26-1036-claude.md (+136 lines)
  • dynamic-logging.md Updated dynamic-logging.md (+1/-1 lines)
  • notes.md Updated notes.md (+14/-1 lines)
  • env.sh Updated env.sh (+1/-1 lines)
  • zipcode.py Updated zipcode.py (+1/-1 lines)
  • random_complex_object.py Updated random_complex_object.py (+1/-1 lines)
  • config.py Updated config.py (+2/-2 lines)
  • core.py Updated core.py (+1/-1 lines)
  • metadata.py Updated metadata.py (+1/-1 lines)
  • handler.py Updated handler.py (+1/-1 lines)
  • components.py Updated components.py (+2/-2 lines)
  • discovery.py Updated discovery.py (+1/-1 lines)
  • client.py Updated client.py (+1/-1 lines)
  • .gitignore Added .gitignore (+1 lines)
  • build.sh Updated build.sh (+4/-4 lines)
  • gen_certs.sh Removed gen_certs.sh (-8 lines)
  • grpc Updated grpc (+0/-0 lines)
  • simple-go-client Updated simple-go-client (+0/-0 lines)
  • simple-go-client.go Removed simple-go-client.go (-189 lines)
  • simple-go-server Updated simple-go-server (+0/-0 lines)
  • simple-go-server.go Removed simple-go-server.go (-118 lines)
  • simple-py-client.py Removed simple-py-client.py (-158 lines)
  • simple-py-server.py Removed simple-py-server.py (-97 lines)
  • test.sh Updated test.sh (+2/-2 lines)
  • test_kv_impl_1638.py Updated test_kv_impl_1638.py (+1/-1 lines)
  • security.py Added security.py (+3 lines)
  • gen-certs.sh Added gen-certs.sh (+128 lines)
  • tls-check.py Updated tls-check.py (+0/-0 lines)
  • tcp.py Updated tcp.py (+1/-1 lines)
  • __init__.py Updated __init__.py (+17/-17 lines)
  • decorators.py Updated decorators.py (+2/-1 lines)
  • map.py Updated map.py (+1/-1 lines)
  • crypto.py Updated crypto.py (+57/-1 lines)
  • Changed all logger.warning(...) calls to logger.warn(...) across the codebase including: decouple internal
    37 files
    • 2025-01-26-1036-claude.md
    • dynamic-logging.md
    • notes.md
    • env.sh
    • zipcode.py
    • random_complex_object.py
    • config.py
    • core.py
    • metadata.py
    • handler.py
    • components.py
    • discovery.py
    • terraform_handshake.py
    • tfplugin6_pb2_grpc.py
    • tfplugin6_pb2.py
    • tfplugin6_pb2_grpc.py
    • client.py
    • .gitignore
    • build.sh
    • gen_certs.sh
    • grpc
    • simple-go-client
    • simple-go-client.go
    • simple-go-server
    • simple-go-server.go
    • simple-py-client.py
    • simple-py-server.py
    • test.sh
    • test_kv_impl_1638.py
    • security.py
    • gen-certs.sh
    • tls-check.py
    • tcp.py
    • __init__.py
    • decorators.py
    • map.py
    • crypto.py

Terraform Handshake Magic Cookie

1 file changed
  • terraform_handshake.py Updated terraform_handshake.py (+10/-7 lines)
  • Changed validate_handshake() in terraform_handshake.py to read from TF_PLUGIN_MAGIC_COOKIE environment variable instead of PLUGIN_MAGIC_COOKIE baseline internal
    1 file
    • terraform_handshake.py
  • Updated corresponding error messages to reference the new env var name baseline internal
    1 file
    • terraform_handshake.py

Handshake Response Writer

1 file changed
  • terraform_handshake.py Updated terraform_handshake.py
  • Updated write_handshake in terraform_handshake.py to strip PEM certificate headers/footers and whitespace before including cert data in the handshake response string harden errata
    1 file
    • terraform_handshake.py

Removed Old Protobuf Files

3 files changed
  • tfplugin6_pb2_grpc.py Added tfplugin6_pb2_grpc.py (+933 lines)
  • tfplugin6_pb2.py Updated tfplugin6_pb2.py (+161/-159 lines)
  • tfplugin6_pb2_grpc.py Updated tfplugin6_pb2_grpc.py (+11/-8 lines)
  • Removed src/pyvider/protocols/tfprotov6/docs/tfplugin6_pb2.py (240 lines) and tfplugin6_pb2_grpc.py (933 lines) specify internal
    2 files
    • tfplugin6_pb2_grpc.py
    • tfplugin6_pb2_grpc.py
  • Removed src/pyvider/protocols/tfprotov6/protobuf/tfplugin6_pb2.py (238 lines) decouple internal
    1 file
    • tfplugin6_pb2.py
  • These were duplicated/outdated copies of the protobuf generated code decouple internal
    3 files
    • tfplugin6_pb2_grpc.py
    • tfplugin6_pb2.py
    • tfplugin6_pb2_grpc.py