Create scripts for copying tarballs and restoring tarballs #572
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When running safe_dl.sh, this PR now creates files with the download paths. The user can then call the copy_tarballs.sh script from the project directory, and it will copy all of these tarballs into a single folder, along with a file specifying the paths to copy them back out to.
If the user calls the restore_tarballs.sh script, it will put these into their correct locations.
The purpose is this is that it should make builds on HPC systems without internet easier, as the user can build locally, run the copy_tarballs.sh script, and then copy all required tarballs in one go. This should avoid a lot of careful copying individual files every time you nuke a build.
It does create quite a few downloaded_tarball_path.txt files, but this is because the safe_dl.sh script will be called from different locations depending on what is being downloaded.
This was created using claude, so it has automatically put itself as the author of these scripts in their comments at the top of the files.
This closes Issue #555