Skip to content

Let ingest_tarball.sh support custom installation prefixes - #278

Draft
Neves-P wants to merge 2 commits into
EESSI:mainfrom
Neves-P:fork/main
Draft

Let ingest_tarball.sh support custom installation prefixes#278
Neves-P wants to merge 2 commits into
EESSI:mainfrom
Neves-P:fork/main

Conversation

@Neves-P

@Neves-P Neves-P commented Sep 1, 2026

Copy link
Copy Markdown
Member

With this PR we are in the last (?) steps to generalize support for custom installation prefixes, following from EESSI/software-layer-scripts#239 and EESSI/software-layer-scripts#295

This is still a draft, as the verions subpath argument must still be obtained from the tarball metadata. This is currently not encoded anywhere we can easily gather at the ingestion stage.

  • Added optional third argument for the repository-relative versions subpath:
    ingest-tarball.sh <repository> <tarball> [versions subpath]
  • Defaults to versions, preserving standard repository behavior.
  • Removed the dev.eessi.io-specific filename inference.
  • Added validation preventing absolute paths and ./.. path components.
  • Ensured Lmod searches the custom subpath in the target repository while still using software.eessi.io/versions when falling back.

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.

1 participant