Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/MIGRATION_SUMMARY_LTS_TESTS.md
T

2.3 KiB

Migration Summary: Lts/Tests Module

Status: ✅ COMPLETED
Branch: feature/migrate-lts-test-module
Date: 2026-11-19


Completed Tasks

1. PostgreSQL Container Management ✅

  • compose-postgresql.yaml updated:

    • Container: legatus-postgresql
    • Credentials: postgres/postgres
    • Database: lts_ets_pro
    • Volume mounts for SQL scripts
    • Network: legatus-network
  • db-manage.sh created with 14 commands

2. Configuration ✅

  • lts-cc.conf template created

3. Lts/Tests Module ✅

  • Directory structure created
  • create_excon_db.py ported to Python 3
  • All Python scripts copied
  • All SQL files copied
  • All XML symbol files copied
  • CMakeLists.txt files created

4. DEB Packaging ✅

  • 5 package structures created
  • All DEBIAN control files created
  • Build script created

Files Created

qt6-after/qt6-migrated-legatus/
├── db-manage.sh
├── lts-cc.conf
├── MIGRATION_REPORT_LTS_TESTS.md
├── MIGRATION_SUMMARY_LTS_TESTS.md
├── Lts/Tests/
│   ├── CMakeLists.txt
│   ├── README.md
│   ├── DatabaseInitialisation/
│   │   ├── CMakeLists.txt
│   │   ├── README
│   │   ├── README.python3.md
│   │   ├── create_excon_db.py
│   │   ├── *.py (12 scripts)
│   │   ├── *.sql (100+ files)
│   │   ├── AhtcSymbols/
│   │   ├── ComMasterSymbols/
│   │   └── GuezSymbols/
│   ├── Bt56Test/
│   └── Schnoeggersburg/
└── packaging/deb/
    ├── build-deb-packages.sh
    ├── legatus-qt6-sv/
    ├── legatus-qt6-ws/
    ├── legatus-qt6-aar/
    ├── legatus-qt6-ltscc/
    └── legatus-qt6-licence/

Next Steps (Manual)

  1. Make Python scripts executable:

    chmod +x Lts/Tests/DatabaseInitialisation/*.py
    chmod +x Lts/Tests/DatabaseInitialisation/AhtcSymbols/*.py
    chmod +x Lts/Tests/DatabaseInitialisation/ComMasterSymbols/*.py
    chmod +x Lts/Tests/DatabaseInitialisation/GuezSymbols/*.py
    
  2. Test PostgreSQL container:

    ./db-manage.sh start
    ./db-manage.sh init-db guez
    
  3. Build and test:

    cmake -S . -B build
    cmake --build build
    
  4. Build DEB packages:

    cd packaging/deb
    ./build-deb-packages.sh 15.6-qt6.10.2