Skip to content
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

File filters for specific situations through plugins #205

Merged
merged 3 commits into from
Sep 26, 2016
Merged

Conversation

remram44
Copy link
Member

Fix #201

Adds plugins through entry_points to reprozip to go over the list of detected files before writing out the configuration.

This is useful to filter out .pyc files, remove code from input files, ...

@remram44 remram44 added T-enhancement Type: En enhancement to existing code, or a new feature C-tracer (Python) Component: The Python part of the tracer codebase labels Sep 21, 2016
@remram44 remram44 added this to the 1.1 milestone Sep 21, 2016
@remram44 remram44 force-pushed the file-filters branch 3 times, most recently from f315504 to 6a4077e Compare September 21, 2016 22:12
@remram44 remram44 added the A-pending-review Attention: This is ready for review and can be merged afterwards label Sep 21, 2016
@remram44 remram44 changed the base branch from master to 1.0.x September 26, 2016 19:46
@remram44 remram44 merged commit 1c15778 into 1.0.x Sep 26, 2016
@remram44 remram44 deleted the file-filters branch September 26, 2016 20:33
@remram44
Copy link
Member Author

remram44 commented Jan 3, 2017

bbddaec adds back .pyc files.

The problem is that the Python interpreter gets traced loading code from .pyc, but when reproducing needs to load from .py. This might require additional components (such as codecs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-pending-review Attention: This is ready for review and can be merged afterwards C-tracer (Python) Component: The Python part of the tracer codebase T-enhancement Type: En enhancement to existing code, or a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant