Skip to content

Improve flexibility of ingest-tarball.sh by adding command-line options - #282

Merged
Neves-P merged 4 commits into
EESSI:mainfrom
bedroge:ingest_tarball_opts
Sep 14, 2026
Merged

Neves-P merged 4 commits into
EESSI:mainfrom
bedroge:ingest_tarball_opts

Conversation

@bedroge

@bedroge bedroge commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

This is a first step in making the ingestion process for site builds easier. The new -b / --basedir options allows you to override the basedir used for the ingestion.

Note that the old syntax ingest-tarball.sh REPO TARBALL still works, but prints a warning. The new syntax would be ingest-tarball.sh -r REPO TARBALL.

I haven't changed the tests yet, just to make sure that they still pass with the old syntax.

Also, there is code to override the basedir for dev.eessi.io. We could leave that for now, but ultimately the automated ingestion calling this script should just pass the correct basedir.

@bedroge

bedroge commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator Author

So the tests passed with the old syntax, 770eb56 changes them to make use of the new syntax.

@bedroge
bedroge marked this pull request as ready for review September 14, 2026 13:09
@bedroge

bedroge commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator Author

Openen an issue with a TODO: #284. I think this PR is ready now.

@Neves-P Neves-P left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Neves-P

Neves-P commented Sep 14, 2026

Copy link
Copy Markdown
Member

Looks like I can't actually merge this one 😅

@Neves-P
Neves-P merged commit 9cab2d9 into EESSI:main Sep 14, 2026
23 checks passed
@Neves-P

Neves-P commented Sep 14, 2026

Copy link
Copy Markdown
Member

Now I can 😄

@bedroge
bedroge deleted the ingest_tarball_opts branch September 14, 2026 14:29
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.

2 participants