Skip to content

Comments

Undo deleting tarball after extracting since it re-downloads every time#188

Merged
casblaauw merged 2 commits intomainfrom
undo_untardelete
Feb 12, 2026
Merged

Undo deleting tarball after extracting since it re-downloads every time#188
casblaauw merged 2 commits intomainfrom
undo_untardelete

Conversation

@casblaauw
Copy link
Collaborator

Merged this too hastily in #180. The deleting works, but Pooch (understandably) doesn't recognise the extracted data as it being present, only the original tarball. That makes sense, since it can't calculate a hash from the extracted folder to check whether it's been updated and needs to be re-downloaded either.

Theoretically we could devise a system that stores the hash of the tarball to a txt file and then deletes the tarball, so that we can use the stored hash as reference. That's not supported in current Pooch however, and don't feel like implementing all of that manually atm.

@casblaauw casblaauw merged commit baf4654 into main Feb 12, 2026
11 checks passed
@casblaauw casblaauw deleted the undo_untardelete branch February 12, 2026 13:14
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