- Point to latest commit on story/create-release-two-delivery-25_11_2026 - Removes LtsElevation from Release 2a scope Co-authored-by: Copilot <2235566219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M78ANTVE4T2Y0CW0PKSV8HEA
44 lines
2.0 KiB
Python
44 lines
2.0 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
Filter GROUP3_TARGETS to remove all svc* services for Release 2a.
|
|
Release 2a includes only shared libraries (NGL*, Lts*, qtsingle*, etc.)
|
|
Release 2b will include the svc* services.
|
|
"""
|
|
|
|
# Current GROUP3_TARGETS from line 626
|
|
current_targets = "NGLLogger nglapplication nglcompression nglcoreapplication ngldb nglguiapplication nglsettings nglsingleapplication nglsinglecoreapplication ngltools ngltranslator nglwidgets qtsingleapplication qtsinglecoreapplication wms_json_ds tcpserver LtsCoordinate LtsCoordTrans LtsElevation svcPdmCommon svcPdmClient svcPdmServer svcProjectDataManagement pdmTests svcAesClient svcAesCommon svcAesServer svcBldClient svcBldCommon svcEemClient svcEemCommon svcEemServer svcEscClient svcEscCommon svcEscServer svcEsmClient svcEsmCommon svcEsmServer svcFlmClient svcFlmCommon svcFlmServer svcGmpServer svcMapDummy svcObdClient svcObdCommon svcObdServer svcOscClient svcOscCommon svcOscServer svcOssClient svcOssCommon svcOssServer svcPedDummy svcSituationReplay svcSrpClient svcSrpCommon svcSrpServer eemTests flmTests srpFtTests"
|
|
|
|
targets = current_targets.split()
|
|
|
|
# Separate targets into categories
|
|
svc_targets = []
|
|
library_targets = []
|
|
|
|
for target in targets:
|
|
if target.startswith('svc'):
|
|
svc_targets.append(target)
|
|
else:
|
|
library_targets.append(target)
|
|
|
|
print("=" * 80)
|
|
print("TASK 1: Remove all svc* services from GROUP3 (Release 2a vs 2b)")
|
|
print("=" * 80)
|
|
print(f"\nOriginal target count: {len(targets)}")
|
|
print(f"Library targets (Release 2a): {len(library_targets)}")
|
|
print(f"svc* services to remove (Release 2b): {len(svc_targets)}")
|
|
|
|
print("\n" + "-" * 80)
|
|
print("Library targets for Release 2a (GROUP3):")
|
|
print("-" * 80)
|
|
print(' '.join(library_targets))
|
|
|
|
print("\n" + "-" * 80)
|
|
print(f"svc* services removed ({len(svc_targets)} targets):")
|
|
print("-" * 80)
|
|
for target in sorted(svc_targets):
|
|
print(f" - {target}")
|
|
|
|
print("\n" + "=" * 80)
|
|
print("Filtered GROUP3_TARGETS for new_docker_build_release2.sh line 626:")
|
|
print("=" * 80)
|
|
print(f"GROUP3_TARGETS=({' '.join(library_targets)})") |