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

add limited support for zip output (no encryption yet) #66

Merged
merged 22 commits into from
Oct 25, 2023
Merged

add limited support for zip output (no encryption yet) #66

merged 22 commits into from
Oct 25, 2023

Conversation

janstarke
Copy link
Contributor

No description provided.

acquire/outputs/zip.py Outdated Show resolved Hide resolved
acquire/outputs/zip.py Show resolved Hide resolved
acquire/outputs/zip.py Outdated Show resolved Hide resolved
@janstarke
Copy link
Contributor Author

Dear all, I replaced pyzipper by zipfile

@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Merging #66 (44646f0) into main (7d40982) will decrease coverage by 0.27%.
The diff coverage is 32.07%.

@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
- Coverage   44.34%   44.07%   -0.27%     
==========================================
  Files          22       23       +1     
  Lines        2783     2834      +51     
==========================================
+ Hits         1234     1249      +15     
- Misses       1549     1585      +36     
Flag Coverage Δ
unittests 44.07% <32.07%> (-0.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
acquire/outputs/__init__.py 100.00% <100.00%> (ø)
acquire/outputs/zip.py 28.00% <28.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@Schamper Schamper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also run black for the linting? Or tox -e fix for running it with tox.

acquire/outputs/zip.py Outdated Show resolved Hide resolved
acquire/outputs/zip.py Show resolved Hide resolved
acquire/outputs/zip.py Outdated Show resolved Hide resolved
Co-authored-by: Erik Schamper <[email protected]>
@Horofic
Copy link
Contributor

Horofic commented Sep 27, 2023

Hey @janstarke! First of all, thank for this contribution. It looks like the current implementation does not play nice with the acquisition of files in /proc and /sys, which was added some time ago in #94 and #33. I will take a look at this the upcoming days :).

acquire/outputs/zip.py Outdated Show resolved Hide resolved
acquire/outputs/zip.py Show resolved Hide resolved
acquire/outputs/zip.py Outdated Show resolved Hide resolved
Co-authored-by: Stefan de Reuver <[email protected]>
@Horofic Horofic self-requested a review October 5, 2023 07:01
Horofic
Horofic previously approved these changes Oct 5, 2023
@Horofic Horofic requested a review from Schamper October 5, 2023 07:05
Copy link
Member

@Schamper Schamper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes.

acquire/outputs/zip.py Outdated Show resolved Hide resolved
acquire/outputs/zip.py Outdated Show resolved Hide resolved
Co-authored-by: Erik Schamper <[email protected]>
@Schamper Schamper merged commit e043166 into fox-it:main Oct 25, 2023
12 of 16 checks passed
@janstarke janstarke deleted the feature/zip-output branch October 26, 2023 06:50
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.

4 participants