Skip to content

Python: Extract hidden files/dirs by default #19424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tausbn
Copy link
Contributor

@tausbn tausbn commented Apr 30, 2025

Changes the default behaviour of the Python extractor so that hidden files (and files inside hidden directories) are extracted by default.

Also adds an extractor option, skip_hidden_files, which can be set to true in order to revert to the old behaviour.

Finally, I made the logic surrounding what is logged in various cases a bit more obvious.

Technically this changes the behaviour of the extractor (in that hidden excluded files will now be logged as (excluded), but I think this makes more sense anyway.

tausbn added 2 commits April 30, 2025 12:40
Changes the default behaviour of the Python extractor so that hidden
files (and files inside hidden directories) are extracted by default.

Also adds an extractor option, `skip_hidden_files`, which can be set to
`true` in order to revert to the old behaviour.

Finally, I made the logic surrounding what is logged in various cases a
bit more obvious.

Technically this changes the behaviour of the extractor (in that hidden
excluded files will now be logged as `(excluded)`, but I think this
makes more sense anyway.
@tausbn tausbn force-pushed the tausbn/python-extract-hidden-file-by-default branch from eef5a49 to 4d00556 Compare April 30, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant