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

Provide functions in dump-*.py, zipinfo which return the dump/info as string instead of printing #16

Open
ammargitham opened this issue Dec 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request maybe question Further information is requested

Comments

@ammargitham
Copy link

Currently when calling dump-* functions (eg. dump_axml) or zipinfo from python code just prints the output.

It would be nice if there were corresponding functions which would return the output as string.

Currently I have to workaround this problem using redirect_stdout. But that only works if print was used. It does not work for subprocess.run calls.

@obfusk obfusk self-assigned this Dec 22, 2023
@obfusk obfusk added enhancement New feature or request maybe question Further information is requested labels Dec 22, 2023
@obfusk
Copy link
Owner

obfusk commented Dec 22, 2023

NB: as I have left F-Droid and its Reproducible Builds project, reproducible-apk-tools is no longer being actively developed, though it is currently still maintained.

Since this is a request for a new feature, not a bug report, I cannot tell you whether this will be worked on at all, but if you can provide more information about your use case I will at least consider it. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maybe question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants