From 796007bcca0cfe2088b44416c0735a0d12099635 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Sun, 12 Jul 2026 21:21:49 -0400 Subject: [PATCH] Track manifest apps in the Applications catalog; make CMM gate contextual seed-applications: a flask geenforce seed-applications command + service that reads the imaging-PC-type manifests and creates a core Application for every installer entry (MSI/EXE/CMD/BAT), so shopdb tracks what GE-Enforce actually deploys. Idempotent, deduped by appname; File/Registry/PS1/INF config entries are skipped. Run against the West Jefferson reference: 27 apps tracked (PC-DMIS 2016/2019/2026, eDNC, Oracle Client, Adobe Reader, HostExplorer, the VC++ redist matrix, Keyence VR-6000, PowerShell, Display Kiosk, ...). 2 tests. Editor: the CMM version gate (_CmmVersion) now only shows for CMM scopes - it is metrology-specific, so a printer/common entry form no longer carries the irrelevant field. Co-Authored-By: Claude Opus 4.8 --- .../src/views/geenforce/ManifestEditor.vue | 7 ++- plugins/geenforce/plugin.py | 21 ++++++++ plugins/geenforce/service.py | 39 ++++++++++++++ .../test_plugins/test_geenforce_seed_apps.py | 54 +++++++++++++++++++ 4 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 tests/test_plugins/test_geenforce_seed_apps.py diff --git a/frontend/src/views/geenforce/ManifestEditor.vue b/frontend/src/views/geenforce/ManifestEditor.vue index 67c9afd..edf143a 100644 --- a/frontend/src/views/geenforce/ManifestEditor.vue +++ b/frontend/src/views/geenforce/ManifestEditor.vue @@ -214,7 +214,7 @@ - + @@ -273,7 +273,7 @@