Add Release 2 source filter verification documentation
- Document scope filtering changes - List expected package contents - Provide verification steps - Track excluded service directories Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M7A1N84ARVYDV7B3M15W47AB
This commit is contained in:
1 file changed
+84
@@ -0,0 +1,84 @@
|
|||||||
|
# Release 2 DEB Package Source Filter Verification
|
||||||
|
|
||||||
|
## Changes Applied
|
||||||
|
|
||||||
|
### 1. Build Script Cleanup (new_docker_build_release2.sh)
|
||||||
|
- **Removed**: 195 lines of dead code containing duplicate GROUP1/GROUP3 definitions
|
||||||
|
- **Removed**: 100+ out-of-scope svc* services from GROUP3_TARGETS
|
||||||
|
- **Result**: Single active GROUP3 definition with 24 in-scope targets
|
||||||
|
|
||||||
|
### 2. Packaging Script Scope Update (make_rpm_ubuntu26_release2.py)
|
||||||
|
- **Removed**: "Lts/Services" from release_dirs list (2 occurrences)
|
||||||
|
- **Impact**: All svc* services excluded from sources package
|
||||||
|
- **Remaining scope**:
|
||||||
|
- Lts/Common (AP3 - shared libraries)
|
||||||
|
- Lts/DDS (AP4 - middleware, deferred)
|
||||||
|
- Lts/Proxies/TrainingAreaBase (specific proxy)
|
||||||
|
- Lts/Tools (AP9 - tools and generators)
|
||||||
|
|
||||||
|
## Expected Package Contents
|
||||||
|
|
||||||
|
### qt6-release-sources (58M)
|
||||||
|
**Included:**
|
||||||
|
- Lts/Common/* - Core libraries (LtsUtils, Widgets, Session, Krypto, PluginManager)
|
||||||
|
- Lts/DDS/* - DDS middleware (deferred but included for completeness)
|
||||||
|
- Lts/Proxies/TrainingAreaBase/* - Training area proxy
|
||||||
|
- Lts/Tools/* - Tools (DdsView, LogViewer, generators)
|
||||||
|
- Root CMake files
|
||||||
|
|
||||||
|
**Excluded:**
|
||||||
|
- Lts/Services/* - All svc* services (46 directories)
|
||||||
|
- Lts/Application/* - Application-specific code
|
||||||
|
- Lts/Projects/* - Project-specific code
|
||||||
|
- Lts/Viewer/* - Viewer components
|
||||||
|
- Lts/Plugins/* - Plugin modules
|
||||||
|
|
||||||
|
### qt6-release-build-pipeline (1.1K)
|
||||||
|
- Build configuration files
|
||||||
|
- Docker setup
|
||||||
|
|
||||||
|
## Verification Steps
|
||||||
|
|
||||||
|
To verify the filtering works correctly:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# After running DEB packaging
|
||||||
|
cd packages-out/
|
||||||
|
|
||||||
|
# Check sources package contents
|
||||||
|
dpkg-deb -c qt6-release-sources*.deb | grep "Lts/Services"
|
||||||
|
# Expected: No output (Lts/Services excluded)
|
||||||
|
|
||||||
|
# Verify included directories
|
||||||
|
dpkg-deb -c qt6-release-sources*.deb | grep "Lts/Common"
|
||||||
|
dpkg-deb -c qt6-release-sources*.deb | grep "Lts/DDS"
|
||||||
|
dpkg-deb -c qt6-release-sources*.deb | grep "Lts/Tools"
|
||||||
|
# Expected: Files present in these directories
|
||||||
|
|
||||||
|
# Count files in sources package
|
||||||
|
dpkg-deb -c qt6-release-sources*.deb | wc -l
|
||||||
|
# Expected: Reduced count compared to previous builds
|
||||||
|
```
|
||||||
|
|
||||||
|
## Service Directories Excluded (46 total)
|
||||||
|
|
||||||
|
All svc* services removed from Release 2 scope:
|
||||||
|
- svcAlarmManagement
|
||||||
|
- svcAreaEffectSimulation
|
||||||
|
- svcAssetManagement
|
||||||
|
- ... (43 more svc* services)
|
||||||
|
|
||||||
|
## Next Steps
|
||||||
|
|
||||||
|
1. Rebuild DEB packages with updated filtering
|
||||||
|
2. Verify package contents match expected scope
|
||||||
|
3. Document final package sizes
|
||||||
|
4. Update VALIDATION_REPORT.md with verification results
|
||||||
|
|
||||||
|
## Date
|
||||||
|
2025-11-13
|
||||||
|
|
||||||
|
## Status
|
||||||
|
✅ Scope filtering updated
|
||||||
|
⏳ Package rebuild pending
|
||||||
|
⏳ Verification pending
|
||||||
Reference in new issue
Block a user