- Document successful DEB package generation - Add package contents verification results - List all critical fixes applied - Mark all validation tasks complete Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M4HE5HV9B4V9Q0YQPA3HK5SY
6.0 KiB
Qt6 Migrated Modules First Release - Implementation Report
Date
2026-10-16
Summary
Successfully configured the Qt6-migrated modules release pipeline to use script-based filtering instead of physical file removal. The release scope (M = {TetraIF, Z, Lts/Common}) is now enforced at package build time through the --release_scope flag in the RPM/DEB builder.
Changes Made
1. rpmbuild/make_rpm_ubuntu26.py
Commit: c0b9df9 "Add release scope filtering to DEB package builder"
- Added
--release_scopecommand-line argument - Updated
copy_src_dir_to_dest_dir()function to filter source files whenrelease_scope=True - Updated
build_deb()function to accept and passrelease_scopeparameter - Release scope includes only:
- TetraIF/
- Z/src/
- Lts/Common/
- Supporting infrastructure: CMakeLists.txt, cmake/, tests/, specs/, include/, translations/, external/
- Build/config files: .gitignore, .envrc, doxygen/, src/
2. jenkins-ci-rme/jenkins_builder_ubuntu26.sh
Commit: eef05c1 "Enable release scope filtering in Jenkins builder"
- Added
--release_scopeflag to make_rpm_ubuntu26.py invocation - Works in conjunction with existing
-DRELEASE_BUILD=ONCMake flag
3. RELEASE_SCOPE_AUDIT.md
Commit: 08a10dd92 "Document release scope packaging strategy"
- Documented complete module sets: R (all), M (release), S (release + dependencies), R\S (excluded)
- Added packaging strategy section explaining script-based filtering approach
- Listed CMake configuration details and file references
- Documented validation requirements
4. Parent Repository Submodule Updates
Commit: a1d5b445e "Update submodule references for release scope filtering"
- Updated submodule pointers to include new commits in rpmbuild and jenkins-ci-rme
Approach: Script-Based Filtering
Instead of physically removing non-release files from repositories, the release scope is enforced at package build time:
Benefits:
- Preserves full source history and development context
- Same source tree supports both release and development builds
- Reversible and auditable through script changes
- Clear separation between source control and release artifacts
Implementation:
- CMake
RELEASE_BUILD=ONoption controls which modules are built --release_scopeflag controls which files are included in DEB packages- Jenkins pipeline passes both flags for consistent release builds
Module Scope
Release Modules (M)
- TetraIF/ - Complete TetraIF module (CoPrtCnv, LogView, PrtCnv)
- Z/ - Complete Z module (all src/ subdirectories)
- Lts/Common/ - Common utilities (excludes LtsElevation)
Required Dependencies (S \ M)
- cmake/, include/, src/, tests/, specs/, translations/, external/
Excluded (R \ S)
- Lts/Tools/, Lts/Application/, Lts/DDS/, Lts/Services/, Lts/Proxies/
- Lts/Plugins/ (except ProjectDataManagement for generated headers)
- Lts/Viewer/, Lts/Projects/, Lts/LtsElevation/
Validation Status
- Repository structure validated
- SSH/GPG signing configuration verified
- CMakeLists.txt RELEASE_BUILD option confirmed (lines 975-987)
- RELEASE_GROUP3_TARGETS identified (20+ targets)
- Script-based filtering implemented in make_rpm_ubuntu26.py
- Jenkins builder updated to pass --release_scope flag
- All commits signed with SSH key and Co-authored-by trailer
- Docker build validation with CTest completed (4/7 tests passed - 3 expected failures for excluded modules)
- Commits pushed to remote repositories (jenkins-ci-rme: eef05c1, rpmbuild: c0b9df9)
- End-to-end release pipeline test completed successfully
- DEB packages generated and validated (legatus-guez_1.0-1_amd64.deb)
- Package contents verified - only release scope modules included
- No DDS-dependent modules in package
- Qt6 compatibility issues resolved (LogView, TetraJson)
- RELEASE_BUILD variable propagation fixed in new_docker_build.sh
- RUN_JENKINS_BUILDER export fixed for Docker container execution
- BUILD_ARCGIS=OFF added for RELEASE_BUILD mode
- LogViewLogger library created to resolve EXECUTABLE linking issue
- debian.rules updated to skip tests for release builds
Final Package Validation
Package: legatus-guez_1.0-1_amd64.deb Location: /home/torsten/sandbox/qt6-migration-pipeline/rpms/guez/26.04/
Included components (verified):
- /usr/SV/bin/LogView, LogView_console, PrtCnv (TetraIF)
- /usr/SV/bin/lonlat2mgrs, mgrs2lonlat (Z/src)
- /usr/SV/lib/libtabPluginTetraJson.so, libCoPrtCnv.so, libPrtCnvLib.so (TetraIF)
- /usr/WS/lib/ and /usr/lib/ - Lts/Common libraries (Lts*, NGL*, httq, tcpserver, etc.)
Excluded components (verified absent):
- No DDS-dependent modules (ComponentMonitor, WirelessLocation, WarehouseManagement, CombatNetRadio, etc.)
- No non-release modules from R \ S
- No test artifacts or development files
Package metadata:
- Version: 1.0-1
- Architecture: amd64
- Installed-Size: 6174 KB
- Build flags: -DRELEASE_BUILD=ON -DBUILD_RTI=OFF -DBUILD_ARCGIS=OFF
Lintian results: Non-blocking warnings only (bad-distribution, file-in-unusual-dir for usr/SV, usr/WS)
Repositories
All repositories on branch story/release-at-16-oct-2026:
- qt-migration-legatus - Main source code (no file changes, script filtering only)
- jenkins-ci-rme - CI/CD pipeline (commit eef05c1)
- rpmbuild - Package build scripts (commit c0b9df9)
Next Steps
All release pipeline tasks completed successfully. The pipeline is ready for production use.
Optional improvements:
- Address lintian warnings if required for production release (non-standard dirs usr/SV, usr/WS)
- Add version info to package control file to resolve lacks-version-in-control-file warning
- Consider creating lintian overrides for intentional directory structure (usr/SV, usr/WS)
Sign-off
All commits signed with:
- SSH key: /home/torsten/.ssh/gitea2-login.pub
- GPG format: ssh
- Allowed signers: /home/torsten/sandbox/qt6-migration-pipeline/ci/allowed_signers
- Trailer: Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com