Release pipeline: LogView logger namespace fixes and RPM script updates
- Fixed NGL::getLogger() → N_LogView::getLogger() in LogView components - Added m_logger member variables to LogView classes - Updated RPM script for release scope filtering - Fixed Qt6 compatibility issues (QStringRef→QStringView, include paths) - Excluded DDS-dependent modules from release build Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M4H71D9ZNV0MG2ZZJ0M8R1FK
This commit is contained in:
109 files changed
+11296
-3069
No files matched your search
@@ -110,6 +110,7 @@ def copy_src_dir_to_dest_dir(srcdir, dstdir, perm=None, with_subdirs=True, relea
|
||||
'Z/src',
|
||||
'Lts/Common',
|
||||
'Lts/Proxies/TrainingAreaBase', # Required for training_area_telegrams.h used by TetraIF
|
||||
'Lts/Services/ProjectDataManagement/stubs', # Stub headers for pdm.hpp (needed by TrainingAreaBase)
|
||||
'CMakeLists.txt',
|
||||
'cmake',
|
||||
'tests',
|
||||
@@ -147,19 +148,38 @@ def copy_src_dir_to_dest_dir(srcdir, dstdir, perm=None, with_subdirs=True, relea
|
||||
if d == first_part:
|
||||
return True
|
||||
return False
|
||||
dirs[:] = [d for d in dirs if should_keep_dir(d)]
|
||||
kept_dirs = [d for d in dirs if should_keep_dir(d)]
|
||||
info(f"Root level: keeping {kept_dirs} from {dirs}")
|
||||
dirs[:] = kept_dirs
|
||||
elif rel_root == 'Z':
|
||||
# In Z directory, only keep src
|
||||
dirs[:] = [d for d in dirs if d == 'src']
|
||||
elif rel_root == 'Lts':
|
||||
# In Lts directory, only keep Common and Proxies (for TrainingAreaBase)
|
||||
dirs[:] = [d for d in dirs if d in ('Common', 'Proxies')]
|
||||
# In Lts directory, only keep Common, Proxies (for TrainingAreaBase), and Services (for ProjectDataManagement stubs)
|
||||
kept_dirs = [d for d in dirs if d in ('Common', 'Proxies', 'Services')]
|
||||
info(f"Lts level: keeping {kept_dirs} from {dirs}")
|
||||
dirs[:] = kept_dirs
|
||||
elif rel_root == 'Lts/Proxies':
|
||||
# In Lts/Proxies, only keep TrainingAreaBase
|
||||
dirs[:] = [d for d in dirs if d == 'TrainingAreaBase']
|
||||
kept_dirs = [d for d in dirs if d == 'TrainingAreaBase']
|
||||
info(f"Lts/Proxies level: keeping {kept_dirs} from {dirs}")
|
||||
dirs[:] = kept_dirs
|
||||
elif rel_root.startswith('Lts/Proxies/TrainingAreaBase'):
|
||||
# Keep all subdirectories under TrainingAreaBase (DDS code wrapped in conditionals)
|
||||
pass
|
||||
elif rel_root == 'Lts/Services':
|
||||
# In Lts/Services, only keep ProjectDataManagement (for stub headers)
|
||||
kept_dirs = [d for d in dirs if d == 'ProjectDataManagement']
|
||||
info(f"Lts/Services level: keeping {kept_dirs} from {dirs}")
|
||||
dirs[:] = kept_dirs
|
||||
elif rel_root == 'Lts/Services/ProjectDataManagement':
|
||||
# In ProjectDataManagement, only keep stubs
|
||||
kept_dirs = [d for d in dirs if d == 'stubs']
|
||||
info(f"Lts/Services/ProjectDataManagement level: keeping {kept_dirs} from {dirs}")
|
||||
dirs[:] = kept_dirs
|
||||
elif rel_root.startswith('Lts/Services/ProjectDataManagement/stubs'):
|
||||
# Keep all subdirectories under stubs (contains ProjectDataManagement/pdm.hpp)
|
||||
pass
|
||||
elif rel_root.startswith('Lts/Common'):
|
||||
# Keep all subdirectories under Lts/Common except LtsUtilsGuiDds (requires DDS)
|
||||
if rel_root == 'Lts/Common/LtsUtils/LtsUtilsGui':
|
||||
|
||||
Reference in new issue
Block a user