Reduce make_rpm_ubuntu26.py line count (925 to 526) without changing behavior

- Merge build_single_deb and build_single_deb_nobuild into one build_deb()
- Add build_nobuild_package() factory for the 4 no-build packages
- Extract run(), prune_dirs() and write_deb_file() helpers
- Drop the unreachable release_scope copy branch (all call sites used the
  full-tree copy; the --release_scope CLI flag is kept)
- Trim pipeline_files to the 8 files that actually exist and are packaged
- Remove unused imports (configparser, getpass, re, datetime, Path, stat),
  unused vars (test_patterns, script_extensions) and a duplicated write block
This commit is contained in:
berrux-dev committed 2026-10-14 20:25:51 +02:00
1 parent 8976b5aedb
commit 493893d2e6
1 file changed
+244 -642
File diff suppressed because it is too large. Load diff