fbuild 1.2.8__py3-none-any.whl → 1.2.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fbuild/__init__.py +5 -1
- fbuild/build/configurable_compiler.py +49 -6
- fbuild/build/configurable_linker.py +14 -9
- fbuild/build/orchestrator_esp32.py +6 -3
- fbuild/build/orchestrator_rp2040.py +6 -2
- fbuild/cli.py +300 -5
- fbuild/config/ini_parser.py +13 -1
- fbuild/daemon/__init__.py +11 -0
- fbuild/daemon/async_client.py +5 -4
- fbuild/daemon/async_client_lib.py +1543 -0
- fbuild/daemon/async_protocol.py +825 -0
- fbuild/daemon/async_server.py +2100 -0
- fbuild/daemon/client.py +425 -13
- fbuild/daemon/configuration_lock.py +13 -13
- fbuild/daemon/connection.py +508 -0
- fbuild/daemon/connection_registry.py +579 -0
- fbuild/daemon/daemon.py +517 -164
- fbuild/daemon/daemon_context.py +72 -1
- fbuild/daemon/device_discovery.py +477 -0
- fbuild/daemon/device_manager.py +821 -0
- fbuild/daemon/error_collector.py +263 -263
- fbuild/daemon/file_cache.py +332 -332
- fbuild/daemon/firmware_ledger.py +46 -123
- fbuild/daemon/lock_manager.py +508 -508
- fbuild/daemon/messages.py +431 -0
- fbuild/daemon/operation_registry.py +288 -288
- fbuild/daemon/processors/build_processor.py +34 -1
- fbuild/daemon/processors/deploy_processor.py +1 -3
- fbuild/daemon/processors/locking_processor.py +7 -7
- fbuild/daemon/request_processor.py +457 -457
- fbuild/daemon/shared_serial.py +7 -7
- fbuild/daemon/status_manager.py +238 -238
- fbuild/daemon/subprocess_manager.py +316 -316
- fbuild/deploy/docker_utils.py +182 -2
- fbuild/deploy/monitor.py +1 -1
- fbuild/deploy/qemu_runner.py +71 -13
- fbuild/ledger/board_ledger.py +46 -122
- fbuild/output.py +238 -2
- fbuild/packages/library_compiler.py +15 -5
- fbuild/packages/library_manager.py +12 -6
- fbuild-1.2.15.dist-info/METADATA +569 -0
- {fbuild-1.2.8.dist-info → fbuild-1.2.15.dist-info}/RECORD +46 -39
- fbuild-1.2.8.dist-info/METADATA +0 -468
- {fbuild-1.2.8.dist-info → fbuild-1.2.15.dist-info}/WHEEL +0 -0
- {fbuild-1.2.8.dist-info → fbuild-1.2.15.dist-info}/entry_points.txt +0 -0
- {fbuild-1.2.8.dist-info → fbuild-1.2.15.dist-info}/licenses/LICENSE +0 -0
- {fbuild-1.2.8.dist-info → fbuild-1.2.15.dist-info}/top_level.txt +0 -0
|
@@ -81,7 +81,7 @@ class LockingRequestProcessor:
|
|
|
81
81
|
config_key = (request.project_dir, request.environment, request.port)
|
|
82
82
|
manager = context.configuration_lock_manager
|
|
83
83
|
|
|
84
|
-
logging.info(f"Lock acquire request: client={request.client_id},
|
|
84
|
+
logging.info(f"Lock acquire request: client={request.client_id}, config={config_key}, type={request.lock_type.value}")
|
|
85
85
|
|
|
86
86
|
try:
|
|
87
87
|
if request.lock_type == LockType.EXCLUSIVE:
|
|
@@ -242,7 +242,7 @@ class FirmwareRequestProcessor:
|
|
|
242
242
|
"""
|
|
243
243
|
ledger = context.firmware_ledger
|
|
244
244
|
|
|
245
|
-
logging.debug(f"Firmware query request: port={request.port},
|
|
245
|
+
logging.debug(f"Firmware query request: port={request.port}, source_hash={request.source_hash[:16]}...")
|
|
246
246
|
|
|
247
247
|
try:
|
|
248
248
|
# Get deployment info if available
|
|
@@ -302,7 +302,7 @@ class FirmwareRequestProcessor:
|
|
|
302
302
|
"""
|
|
303
303
|
ledger = context.firmware_ledger
|
|
304
304
|
|
|
305
|
-
logging.info(f"Firmware record request: port={request.port},
|
|
305
|
+
logging.info(f"Firmware record request: port={request.port}, project={request.project_dir}, env={request.environment}")
|
|
306
306
|
|
|
307
307
|
try:
|
|
308
308
|
ledger.record_deployment(
|
|
@@ -360,7 +360,7 @@ class SerialSessionProcessor:
|
|
|
360
360
|
"""
|
|
361
361
|
manager = context.shared_serial_manager
|
|
362
362
|
|
|
363
|
-
logging.info(f"Serial attach request: client={request.client_id},
|
|
363
|
+
logging.info(f"Serial attach request: client={request.client_id}, port={request.port}, as_reader={request.as_reader}")
|
|
364
364
|
|
|
365
365
|
try:
|
|
366
366
|
# Check if port is already open
|
|
@@ -450,7 +450,7 @@ class SerialSessionProcessor:
|
|
|
450
450
|
"""
|
|
451
451
|
manager = context.shared_serial_manager
|
|
452
452
|
|
|
453
|
-
logging.info(f"Serial detach request: client={request.client_id},
|
|
453
|
+
logging.info(f"Serial detach request: client={request.client_id}, port={request.port}, close_port={request.close_port}")
|
|
454
454
|
|
|
455
455
|
try:
|
|
456
456
|
# Detach reader
|
|
@@ -586,7 +586,7 @@ class SerialSessionProcessor:
|
|
|
586
586
|
"""
|
|
587
587
|
manager = context.shared_serial_manager
|
|
588
588
|
|
|
589
|
-
logging.debug(f"Serial buffer request: client={request.client_id},
|
|
589
|
+
logging.debug(f"Serial buffer request: client={request.client_id}, port={request.port}, max_lines={request.max_lines}")
|
|
590
590
|
|
|
591
591
|
try:
|
|
592
592
|
session_info = manager.get_session_info(request.port) or {}
|
|
@@ -746,7 +746,7 @@ class ClientConnectionProcessor:
|
|
|
746
746
|
"""
|
|
747
747
|
manager = context.client_manager
|
|
748
748
|
|
|
749
|
-
logging.info(f"Client disconnect request: client_id={request.client_id},
|
|
749
|
+
logging.info(f"Client disconnect request: client_id={request.client_id}, reason={request.reason}")
|
|
750
750
|
|
|
751
751
|
try:
|
|
752
752
|
success = manager.unregister_client(request.client_id)
|