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

Fix extract-all for flat input zip #14

Merged

Conversation

ajnelson-nist
Copy link
Contributor

This is an update to Pull Request 13.

My update is described in this commit:
ajnelson-nist@1cfff89

matamgo and others added 5 commits August 14, 2019 10:59
This patch is partially necessary to correct the `--extract-all` flag.
With this correction, `--extract-all` will work if there were no
directories ingested from an input zip.

Issue 15 reports on the problem with directories from an ingested zip.
aff4#15

This patch builds on Pull Request 13, as I'd also found the binary-
output mode was necessary, though in a different spot.
aff4#13

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
@blschatz blschatz merged commit 542d645 into aff4:master Oct 21, 2019
blschatz pushed a commit that referenced this pull request Oct 21, 2019
The call to the `extractAll` function seems to make a semantically
incorrect usage of `args.srcFiles[0]`.  The `extract` function uses
`arg.folder` as an output specifier, and `args.srcFiles` as an input
specifier.  `extractAll` should drop input parameters.

This patch modifies the `extractAll` call to use `args.folder` to
specify output.  However, this may cause backwards-incompatible changes
with any scripts that use `--extract-all`, so this should wait for the
next major version (keeping with SemVer called for in Issue 8).
#8

This patch is independent of Pull Request 14.
#14

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
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.

3 participants