Details
-
Task
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
None
Description
Coin produces debug information files on every Qt export to ci-files02-hki -server. Debug information files are available as *.7z packages (per module, host & compiler) e.g. /packages/jenkins/qt/5.11.0/latest/debug_information but are quite challenging for end user to utilize.
Existing bash script (in tqtc-qtsdk.git) does work and gives somewhat quite good idea what should be done.
New Python script should produce 7z packages for Linux, macOS and Windows hosts with such internal folder structure that when extracting 7z file, the output can be copied on top of existing installation tree. Copying files to correct "root" location on top of existing installation is naturally on end users responsibility.
Proper set of 7z files is available at /packages/jenkins/archive/qt/5.11/5.11.0-final-released/latest/debug_information/original_archives/
These packages should be extracted to same folder structure that our installers export binaries on host e.g.
Linux:
/gcc_64
macOS:
/clang_64
Windows:
/msvc2015
/msvc2015_64
/msvc2017_64
/winrt_x86_msvc2015
/winrt_x64_msvc2015
/winrt_armv7_msvc2015
/winrt_x86_msvc2017
/winrt_x64_msvc2017
/winrt_armv7_msvc2017
For Windows there is need for two different 7z packages: desktop and uwp.
Also script should output two different sets of 7z files: one for opensource and one for commercial.
Naming convention is correct in existing bash script.
Script need to have at least two different parameters: Qt version and include (or exclude) module list (current bash script uses include module list implementation).
Qt version (e.g. 5.11.1) is quite self-evident and mandatory parameter. Qt version can have also beta or rc postfix (e.g. 5.11.1-rc)
Module list can be optional parameter but should enable possibility to include (or exclude) modules by name from debug info files repackaging (e.g. emulator, qtknx, gammaray).
Module list should (preferably) be a text file which script reads but other solutions are also acceptable.
After script is executed:
- Repackaged 7z files should be available on /debug_information -folder
- Coin produced 7z files should be available /debug_information/original_archives -folder