pyvider 2025-01-31
Major rpcplugin refactor touching 39 files
66 files · 2,502+ · 2,664-

Transport Connection Module

6 files changed
  • test_transport_unix.py Updated test_transport_unix.py (+203/-59 lines)
  • __init__.py Added __init__.py (+2 lines)
  • base.py Added base.py (+4 lines)
  • connection.py Added connection.py (+146 lines)
  • tcp.py Updated tcp.py (+112/-59 lines)
  • unix.py Updated unix.py (+156/-334 lines)
  • Added src/pyvider/rpcplugin/transport/connection.py (146 lines) providing connection abstraction layer for transport-level operations instantiate internal
    1 file
    • connection.py
  • Updated transport/__init__.py with new exports instantiate internal
    1 file
    • __init__.py

Unix Transport Rewrite

1 file changed
  • unix.py Updated unix.py
  • Rewrote transport/unix.py (490 lines changed, net reduction) with simplified Unix domain socket handling decouple internal
    1 file
    • unix.py
  • Streamlined listen, connect, and cleanup operations deprecate errata
    5 files
    • __init__.py
    • base.py
    • connection.py
    • tcp.py
    • unix.py

TCP Transport

2 files changed
  • base.py Updated base.py
  • tcp.py Updated tcp.py
  • Updated transport/tcp.py (171 lines changed) with revised server and client socket handling decouple internal
    1 file
    • tcp.py
  • Added transport/base.py with additional base class methods instantiate internal
    1 file
    • base.py

Client Module

5 files changed
  • client.py Updated client.py (+20/-98 lines)
  • py-client.py Updated py-client.py (+3/-3 lines)
  • py-kv-client.py Updated py-kv-client.py (+6/-5 lines)
  • test_minimal_server_client.py Updated test_minimal_server_client.py (+1/-1 lines)
  • x_test_client.py Updated x_test_client.py (+4/-4 lines)
  • Removed from __future__ import annotations from client.py specify internal
    5 files
    • client.py
    • py-client.py
    • py-kv-client.py
    • test_minimal_server_client.py
    • x_test_client.py
  • Switched from from pyvider import logger to from pyvider.rpcplugin.logger import logger for standalone operation interface internal
    71 files
    • gource.conf
    • loc-counter.sh
    • config.py
    • .bfile
    • __init__.py
    • client.py
    • config.py
    • README.md
    • diagnostic-report.md
    • logging-emoji-matrix.md
    • system-requirements.txt
    • build.sh
    • comments.md
    • env.sh
    • go-kv-client-automtls-client-cert.txt
    • go-kv-client-automtls-disabled.txt
    • go-kv-client-automtls-log.txt
    • go-kv-client-automtls-server-cert.txt
    • py-client-client-cert.txt
    • py-client-log.txt
    • py-client-server-cert.txt
    • py-insecure-go-server-log.txt
    • py-kv-client-insecure-logs.txt
    • main.go
    • py-client.py
    • py-kv-client-insecure.py
    • test.sh
    • test_kv_impl_1638.py
    • test_kv_integration.py
    • kv-go-client
    • kv-go-server
    • client-log.txt
    • py-kv-client.py
    • py-kv-server.py
    • exception.py
    • handshake.py
    • __init__.py
    • emoji_matrix.py
    • protocol.py
    • pyproject.toml
    • rpcplugin.sublime-project
    • __init__.py
    • certificate.py
    • server.py
    • conftest.py
    • run_tcp_server.py
    • run_unix_server.py
    • test_certificate_crypto.py
    • test_certificate_loading.py
    • test_certificate_mtls.py
    • test_certificate_properties.py
    • test_certificate_validation.py
    • test_client_grpc.py
    • test_handshake_negotiation.py
    • test_handshake_responses.py
    • test_minimal_server_client.py
    • test_security.py
    • test_server.py
    • test_transport_unix.py
    • x_test_cert.py
    • x_test_cert2.py
    • x_test_cert3.py
    • x_test_client.py
    • x_test_mtls.py
    • x_test_server_2.py
    • __init__.py
    • base.py
    • connection.py
    • tcp.py
    • unix.py
    • utils.py
  • Reorganized imports with proper grouping decouple internal
    8 files
    • gource.conf
    • loc-counter.sh
    • test_certificate_crypto.py
    • test_certificate_properties.py
    • test_certificate_validation.py
    • x_test_cert.py
    • x_test_cert2.py
    • x_test_cert3.py

Handshake Expansion

1 file changed
  • handshake.py Updated handshake.py (+196/-186 lines)
  • Expanded handshake.py with additional protocol handling and response building logic interface behavioral
    1 file
    • handshake.py

Server Simplification

5 files changed
  • py-kv-server.py Updated py-kv-server.py (+3/-1 lines)
  • server.py Updated server.py (+141/-323 lines)
  • run_tcp_server.py Updated run_tcp_server.py (+1/-1 lines)
  • run_unix_server.py Updated run_unix_server.py (+1/-1 lines)
  • test_server.py Updated test_server.py (+119/-67 lines)
  • Simplified server.py with cleaner transport binding and credential setup interface internal
    5 files
    • py-kv-server.py
    • server.py
    • run_tcp_server.py
    • run_unix_server.py
    • test_server.py

Standalone Logger

48 files changed
  • .bfile Added .bfile (+3 lines)
  • __init__.py Updated __init__.py (+1/-1 lines)
  • config.py Updated config.py (+148/-134 lines)
  • README.md Added README.md (+1 lines)
  • diagnostic-report.md Updated diagnostic-report.md (+1/-1 lines)
  • logging-emoji-matrix.md Added logging-emoji-matrix.md (+56 lines)
  • system-requirements.txt Added system-requirements.txt (+13 lines)
  • build.sh Updated build.sh (+7/-7 lines)
  • comments.md Updated comments.md (+1/-1 lines)
  • env.sh Updated env.sh (+1/-1 lines)
  • go-kv-client-automtls-client-cert.txt Removed go-kv-client-automtls-client-cert.txt (-48 lines)
  • go-kv-client-automtls-disabled.txt Removed go-kv-client-automtls-disabled.txt (-276 lines)
  • go-kv-client-automtls-log.txt Removed go-kv-client-automtls-log.txt (-89 lines)
  • go-kv-client-automtls-server-cert.txt Removed go-kv-client-automtls-server-cert.txt (-48 lines)
  • py-client-client-cert.txt Removed py-client-client-cert.txt (-48 lines)
  • py-client-log.txt Removed py-client-log.txt (-153 lines)
  • py-client-server-cert.txt Removed py-client-server-cert.txt (-48 lines)
  • py-insecure-go-server-log.txt Removed py-insecure-go-server-log.txt (-43 lines)
  • py-kv-client-insecure-logs.txt Removed py-kv-client-insecure-logs.txt (-36 lines)
  • main.go Updated main.go (+4/-4 lines)
  • py-kv-client-insecure.py Updated py-kv-client-insecure.py (+1/-1 lines)
  • test.sh Updated test.sh (+6/-6 lines)
  • test_kv_impl_1638.py Updated test_kv_impl_1638.py (+14/-14 lines)
  • test_kv_integration.py Updated test_kv_integration.py (+10/-10 lines)
  • kv-go-client Updated kv-go-client (+0/-0 lines)
  • kv-go-server Updated kv-go-server (+0/-0 lines)
  • client-log.txt Removed client-log.txt (-172 lines)
  • exception.py Updated exception.py (+10/-6 lines)
  • __init__.py Added __init__.py (+26 lines)
  • emoji_matrix.py Added emoji_matrix.py (+97 lines)
  • protocol.py Updated protocol.py (+1/-1 lines)
  • pyproject.toml Updated pyproject.toml (+3/-1 lines)
  • rpcplugin.sublime-project Removed rpcplugin.sublime-project (-8 lines)
  • __init__.py Updated __init__.py (+34/-137 lines)
  • certificate.py Added certificate.py (+217 lines)
  • conftest.py Updated conftest.py (+53/-6 lines)
  • test_certificate.py Added test_certificate.py (+170 lines)
  • test_certificate_basic.py Added test_certificate_basic.py (+131 lines)
  • test_certificate_loading.py Added test_certificate_loading.py (+76 lines)
  • test_certificate_mtls.py Added test_certificate_mtls.py (+26 lines)
  • test_certificate_old.py Updated test_certificate_old.py (+25/-39 lines)
  • test_client_grpc.py Updated test_client_grpc.py (+18/-18 lines)
  • test_handshake_negotiation.py Updated test_handshake_negotiation.py (+25/-17 lines)
  • test_handshake_responses.py Updated test_handshake_responses.py (+9/-9 lines)
  • test_security.py Updated test_security.py (+35/-54 lines)
  • x_test_mtls.py Removed x_test_mtls.py (-74 lines)
  • x_test_server_2.py Added x_test_server_2.py (+149 lines)
  • utils.py Updated utils.py (+2/-1 lines)
  • Added src/pyvider/rpcplugin/logger.py to allow rpcplugin to operate independently of pyvider’s logging infrastructure instantiate behavioral
    1 file
    • logger.py

Config Expansion

1 file changed
  • config.py Updated config.py (+10/-10 lines)
  • Expanded config.py with additional configuration properties and validation baseline internal
    2 files
    • config.py
    • config.py

bfiles Config

1 file changed
  • config.py Updated config.py
  • Commented out most default exclude patterns in src/bfiles/config.py, keeping only .venv (as regex) and .git patterns baseline behavioral
    1 file
    • config.py

Test Reorganization

3 files changed
  • x_test_client.py Updated x_test_client.py
  • x_test_mtls.py Updated x_test_mtls.py
  • x_test_server_2.py Updated x_test_server_2.py
  • Renamed test_client.py to x_test_client.py decouple internal
    1 file
    • x_test_client.py
  • Removed x_test_mtls.py (74 lines) decouple internal
    1 file
    • x_test_mtls.py
  • Added x_test_server_2.py (149 lines) as new server test suite qualify internal
    1 file
    • x_test_server_2.py