driverclient 0.2.7__tar.gz → 0.2.9__tar.gz
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.
- {driverclient-0.2.7 → driverclient-0.2.9}/PKG-INFO +1 -1
- {driverclient-0.2.7 → driverclient-0.2.9}/pyproject.toml +1 -1
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/__init__.py +1 -1
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/capture.py +11 -10
- {driverclient-0.2.7 → driverclient-0.2.9}/.gitignore +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/README.md +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/__main__.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/config.json +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/config.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/core/__init__.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/core/hardware.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/core/http.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/core/hwid.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/core/proc.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/events.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/main.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/__init__.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/automate.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/diagnose.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/install.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/resolve.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/ops/scan.py +0 -0
- {driverclient-0.2.7 → driverclient-0.2.9}/src/driverclient/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: driverclient
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.9
|
|
4
4
|
Summary: Driver Server client with an embeddable connector for config injection at runtime.
|
|
5
5
|
Project-URL: Homepage, https://example.com/driverclient
|
|
6
6
|
Author-email: Raja Sanaullah <sanaullah@99technologies.com>
|
|
@@ -684,7 +684,6 @@ def _do_export(pkg: dict, cfg: dict) -> dict | None:
|
|
|
684
684
|
published = pkg["published_name"]
|
|
685
685
|
original = pkg.get("original_name", published)
|
|
686
686
|
class_name = pkg.get("class_name", "").lower()
|
|
687
|
-
exts = _pick_extensions(class_name, cfg)
|
|
688
687
|
timeout = cfg.get("timeout_long", 120)
|
|
689
688
|
|
|
690
689
|
with tempfile.TemporaryDirectory() as tmp:
|
|
@@ -711,8 +710,14 @@ def _do_export(pkg: dict, cfg: dict) -> dict | None:
|
|
|
711
710
|
return None
|
|
712
711
|
|
|
713
712
|
try:
|
|
713
|
+
# Pack EVERY file pnputil /export-driver produced — it already isolates
|
|
714
|
+
# exactly this package's files into `dest`. The old extension filter
|
|
715
|
+
# ([.inf,.sys,.cat]) dropped INF-referenced payloads that aren't those
|
|
716
|
+
# types — e.g. a camera's Media-Foundation DLLs (SPITDevMft.dll) —
|
|
717
|
+
# yielding packages that fail install with "cannot find the file
|
|
718
|
+
# specified" (broken link D). Completeness is the repo's contract.
|
|
714
719
|
archive_bytes, archive_name, encoding = pack_driver_archive(
|
|
715
|
-
dest, Path(original).stem,
|
|
720
|
+
dest, Path(original).stem, ["*"]
|
|
716
721
|
)
|
|
717
722
|
except Exception as e:
|
|
718
723
|
events.warn("dump", f" [warn] pack error {published}: {e}",
|
|
@@ -786,11 +791,7 @@ def _upload_worker(upload_q: queue.Queue, counts: dict,
|
|
|
786
791
|
upload_q.task_done()
|
|
787
792
|
|
|
788
793
|
|
|
789
|
-
#
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
for key, exts in overrides.items():
|
|
794
|
-
if key.lower() in class_name:
|
|
795
|
-
return exts
|
|
796
|
-
return cfg.get("dump_extensions", [".inf", ".sys", ".cat"])
|
|
794
|
+
# Extension selection was removed: capture now packs every file
|
|
795
|
+
# pnputil /export-driver produces (see _do_export), so the dump_extensions /
|
|
796
|
+
# dump_extensions_overrides config keys are no longer consulted — filtering by
|
|
797
|
+
# extension is what caused incomplete packages (broken link D).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|