Skip to content

🐛 FIX: Support rooted tar members#23

Draft
Mirochill wants to merge 1 commit into
aiidateam:mainfrom
Mirochill:fix-17-rooted-tar-members
Draft

🐛 FIX: Support rooted tar members#23
Mirochill wants to merge 1 commit into
aiidateam:mainfrom
Mirochill:fix-17-rooted-tar-members

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • Normalize rooted tar member names so TarPath exposes them as relative archive paths.
  • Resolve rooted members when checking existence, reading files, iterating, globbing, and extracting.
  • Add a regression covering a tar member stored as /bin/garbage.txt.

Validation

  • Not run locally.
  • git diff --check
  • git diff --cached --check
  • git show --check --stat --oneline HEAD -- archive_path/tar_path.py tests/test_basic.py

Closes #17

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.

Doen't works with rooted archives ('/' not stripped from names)

1 participant