Skip to content

Default installer to stable releases and harden dependency builds - #575

Merged
cmargalejo merged 2 commits into
masterfrom
release/installer-stability-20261110
Nov 11, 2026
Merged

cmargalejo merged 2 commits into
masterfrom
release/installer-stability-20261110

Conversation

@cmargalejo

@cmargalejo cmargalejo commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

cmargalejo Large: 238 Powered by Pull Request Badge

The installer now offers a fixed stable REST release by default, with an explicit option for development code. It also addresses dependency-build failures caused by excessive parallelism, interrupted downloads and Geant4's Expat configuration.

Changes:

  • Running bash install_rest.sh prompts for a release tag; Enter accepts v2.4.3, the currently published stable release. --release TAG overrides it, and --development explicitly selects development code.
  • Release installations check out the exact framework tag and its recorded public libraries, nested code and restG4 commits. Recorded versions are also the default in development mode. The recorded-version path no longer calls the destructive --clean helper.
  • Ask for parallel build jobs before compiling dependencies, use a memory-aware default, and apply the selection to every build.
  • Validate ROOT/Geant4 archives and extract into temporary directories. When recovering from a corrupt archive, preserve the old source/build tree.
  • Use bundled Expat for Geant4 11.0.3. Skip obsolete CVMFS patches for current detectorlib/restG4, and refuse to patch release sources silently.

Keep ROOT 6.26.10, Geant4 11.0.3 and Garfield a993c5eb015e23aa4bccdd1bdda027314afc2153. Only the main installer and its README change.

Validation:

  • bash -n, git diff --check, and 22 local offline regression tests passed. The tests used real local Git repositories and archives with simulated package/build commands; they are not added to CI by this PR.
  • On Sultan, mode 1 completed using existing dependencies and left .bashrc unchanged. The resulting installation reported clean, official v2.4.3 at d31c89d5. restRoot -b -q loaded Framework, Detector, Raw, Track, Connectors and Geant4 libraries from the new installation and returned without visible errors.

To test, run bash scripts/installation/install_rest.sh, accept the displayed release, choose mode 1 and a fresh writable directory, provide the existing dependency environment, and choose option 3 to leave .bashrc unchanged. Source the dependency environment followed by the new installation's thisREST.sh, then run restRoot -b -q.

Before publishing the next REST release, update DEFAULT_RELEASE_TAG and the README example to the new tag. Final release-candidate installation and simulation-to-analysis remain pending. This PR does not establish fresh dependency-build coverage on Ubuntu 24.04 or CVMFS/NAF coverage.

@cmargalejo
cmargalejo requested a review from nkx111 as a code owner November 10, 2026 11:48
@cmargalejo
cmargalejo requested a review from a team November 10, 2026 11:54
@cmargalejo
cmargalejo merged commit c106a4c into master Nov 11, 2026
64 checks passed
@cmargalejo
cmargalejo deleted the release/installer-stability-20261110 branch November 11, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants