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.pyUpdated test_transport_unix.py (+203/-59 lines)__init__.pyAdded __init__.py (+2 lines)base.pyAdded base.py (+4 lines)connection.pyAdded connection.py (+146 lines)tcp.pyUpdated tcp.py (+112/-59 lines)unix.pyUpdated unix.py (+156/-334 lines)
- Added
src/pyvider/rpcplugin/transport/connection.py(146 lines) providing connection abstraction layer for transport-level operations instantiate internal1 file
connection.py
- Updated
transport/__init__.pywith new exports instantiate internal1 file
__init__.py
Unix Transport Rewrite
1 file changed
unix.pyUpdated unix.py
TCP Transport
2 files changed
base.pyUpdated base.pytcp.pyUpdated tcp.py
- Updated
transport/tcp.py(171 lines changed) with revised server and client socket handling decouple internal1 file
tcp.py
- Added
transport/base.pywith additional base class methods instantiate internal1 file
base.py
Client Module
5 files changed
client.pyUpdated client.py (+20/-98 lines)py-client.pyUpdated py-client.py (+3/-3 lines)py-kv-client.pyUpdated py-kv-client.py (+6/-5 lines)test_minimal_server_client.pyUpdated test_minimal_server_client.py (+1/-1 lines)x_test_client.pyUpdated x_test_client.py (+4/-4 lines)
- Removed
from __future__ import annotationsfromclient.pyspecify internal5 files
client.pypy-client.pypy-kv-client.pytest_minimal_server_client.pyx_test_client.py
- Switched from
from pyvider import loggertofrom pyvider.rpcplugin.logger import loggerfor standalone operation interface internal71 files
gource.confloc-counter.shconfig.py.bfile__init__.pyclient.pyconfig.pyREADME.mddiagnostic-report.mdlogging-emoji-matrix.mdsystem-requirements.txtbuild.shcomments.mdenv.shgo-kv-client-automtls-client-cert.txtgo-kv-client-automtls-disabled.txtgo-kv-client-automtls-log.txtgo-kv-client-automtls-server-cert.txtpy-client-client-cert.txtpy-client-log.txtpy-client-server-cert.txtpy-insecure-go-server-log.txtpy-kv-client-insecure-logs.txtmain.gopy-client.pypy-kv-client-insecure.pytest.shtest_kv_impl_1638.pytest_kv_integration.pykv-go-clientkv-go-serverclient-log.txtpy-kv-client.pypy-kv-server.pyexception.pyhandshake.py__init__.pyemoji_matrix.pyprotocol.pypyproject.tomlrpcplugin.sublime-project__init__.pycertificate.pyserver.pyconftest.pyrun_tcp_server.pyrun_unix_server.pytest_certificate_crypto.pytest_certificate_loading.pytest_certificate_mtls.pytest_certificate_properties.pytest_certificate_validation.pytest_client_grpc.pytest_handshake_negotiation.pytest_handshake_responses.pytest_minimal_server_client.pytest_security.pytest_server.pytest_transport_unix.pyx_test_cert.pyx_test_cert2.pyx_test_cert3.pyx_test_client.pyx_test_mtls.pyx_test_server_2.py__init__.pybase.pyconnection.pytcp.pyunix.pyutils.py
- Reorganized imports with proper grouping
decouple
internal
8 files
gource.confloc-counter.shtest_certificate_crypto.pytest_certificate_properties.pytest_certificate_validation.pyx_test_cert.pyx_test_cert2.pyx_test_cert3.py
Handshake Expansion
1 file changed
handshake.pyUpdated handshake.py (+196/-186 lines)
- Expanded
handshake.pywith additional protocol handling and response building logic interface behavioral1 file
handshake.py
Server Simplification
5 files changed
py-kv-server.pyUpdated py-kv-server.py (+3/-1 lines)server.pyUpdated server.py (+141/-323 lines)run_tcp_server.pyUpdated run_tcp_server.py (+1/-1 lines)run_unix_server.pyUpdated run_unix_server.py (+1/-1 lines)test_server.pyUpdated test_server.py (+119/-67 lines)
Standalone Logger
48 files changed
.bfileAdded .bfile (+3 lines)__init__.pyUpdated __init__.py (+1/-1 lines)config.pyUpdated config.py (+148/-134 lines)README.mdAdded README.md (+1 lines)diagnostic-report.mdUpdated diagnostic-report.md (+1/-1 lines)logging-emoji-matrix.mdAdded logging-emoji-matrix.md (+56 lines)system-requirements.txtAdded system-requirements.txt (+13 lines)build.shUpdated build.sh (+7/-7 lines)comments.mdUpdated comments.md (+1/-1 lines)env.shUpdated env.sh (+1/-1 lines)go-kv-client-automtls-client-cert.txtRemoved go-kv-client-automtls-client-cert.txt (-48 lines)go-kv-client-automtls-disabled.txtRemoved go-kv-client-automtls-disabled.txt (-276 lines)go-kv-client-automtls-log.txtRemoved go-kv-client-automtls-log.txt (-89 lines)go-kv-client-automtls-server-cert.txtRemoved go-kv-client-automtls-server-cert.txt (-48 lines)py-client-client-cert.txtRemoved py-client-client-cert.txt (-48 lines)py-client-log.txtRemoved py-client-log.txt (-153 lines)py-client-server-cert.txtRemoved py-client-server-cert.txt (-48 lines)py-insecure-go-server-log.txtRemoved py-insecure-go-server-log.txt (-43 lines)py-kv-client-insecure-logs.txtRemoved py-kv-client-insecure-logs.txt (-36 lines)main.goUpdated main.go (+4/-4 lines)py-kv-client-insecure.pyUpdated py-kv-client-insecure.py (+1/-1 lines)test.shUpdated test.sh (+6/-6 lines)test_kv_impl_1638.pyUpdated test_kv_impl_1638.py (+14/-14 lines)test_kv_integration.pyUpdated test_kv_integration.py (+10/-10 lines)kv-go-clientUpdated kv-go-client (+0/-0 lines)kv-go-serverUpdated kv-go-server (+0/-0 lines)client-log.txtRemoved client-log.txt (-172 lines)exception.pyUpdated exception.py (+10/-6 lines)__init__.pyAdded __init__.py (+26 lines)emoji_matrix.pyAdded emoji_matrix.py (+97 lines)protocol.pyUpdated protocol.py (+1/-1 lines)pyproject.tomlUpdated pyproject.toml (+3/-1 lines)rpcplugin.sublime-projectRemoved rpcplugin.sublime-project (-8 lines)__init__.pyUpdated __init__.py (+34/-137 lines)certificate.pyAdded certificate.py (+217 lines)conftest.pyUpdated conftest.py (+53/-6 lines)test_certificate.pyAdded test_certificate.py (+170 lines)test_certificate_basic.pyAdded test_certificate_basic.py (+131 lines)test_certificate_loading.pyAdded test_certificate_loading.py (+76 lines)test_certificate_mtls.pyAdded test_certificate_mtls.py (+26 lines)test_certificate_old.pyUpdated test_certificate_old.py (+25/-39 lines)test_client_grpc.pyUpdated test_client_grpc.py (+18/-18 lines)test_handshake_negotiation.pyUpdated test_handshake_negotiation.py (+25/-17 lines)test_handshake_responses.pyUpdated test_handshake_responses.py (+9/-9 lines)test_security.pyUpdated test_security.py (+35/-54 lines)x_test_mtls.pyRemoved x_test_mtls.py (-74 lines)x_test_server_2.pyAdded x_test_server_2.py (+149 lines)utils.pyUpdated utils.py (+2/-1 lines)
- Added
src/pyvider/rpcplugin/logger.pyto allow rpcplugin to operate independently of pyvider’s logging infrastructure instantiate behavioral1 file
logger.py
Config Expansion
1 file changed
config.pyUpdated config.py (+10/-10 lines)
bfiles Config
1 file changed
config.pyUpdated config.py
- Commented out most default exclude patterns in
src/bfiles/config.py, keeping only.venv(as regex) and.gitpatterns baseline behavioral1 file
config.py
Test Reorganization
3 files changed
x_test_client.pyUpdated x_test_client.pyx_test_mtls.pyUpdated x_test_mtls.pyx_test_server_2.pyUpdated x_test_server_2.py