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

Use official version of 7zip on Linux instead of unsupported p7zip #55

Closed
whyitfor opened this issue Oct 4, 2022 · 6 comments
Closed
Labels
good first issue Good for newcomers hacktoberfest Participate in hacktoberfest!

Comments

@whyitfor
Copy link
Contributor

whyitfor commented Oct 4, 2022

See: https://news.ycombinator.com/item?id=31846317

Which files would be affected?
https://github.com/redballoonsecurity/ofrak/blob/master/ofrak_components/ofrak_components/p7zip.py

Does the proposed maintenance include non-doc string functional changes to the Python code?
Yes.

Are you interested in implementing it yourself?
No -- this is a great first issue!

@whyitfor whyitfor added good first issue Good for newcomers hacktoberfest Participate in hacktoberfest! labels Oct 4, 2022
@The-Debarghya
Copy link

Hey, can you assign this to me?

@rbs-jacob
Copy link
Member

Hi @The-Debarghya, I've assigned you this issue. To make this change, you will likely have to change some subprocess.run calls in OFRAK components, as well as changing installed dependencies in one of the Dockerstub files.

Make sure to look at the contributing guide. Thanks for your interest in helping out!

@The-Debarghya
Copy link

The-Debarghya commented Oct 7, 2022

I'm struggling to figure out where to change the subprocess.run calls in the OFRAK components...can you please help me out.
Also should I change docs and object names that refer to gzip or p7zip?

@whyitfor
Copy link
Contributor Author

whyitfor commented Oct 7, 2022

@The-Debarghya
Copy link

The-Debarghya commented Oct 13, 2022

p7zip variables can't be renamed to 7zip because python doesn't permit variable name starting with an integer, so should I name it like this: _7zip or maybe sevenZip?
and for the filenames...I'm renaming them to 7zip.

@whyitfor
Copy link
Contributor Author

Either sevenzip or seven_zip probably make sense (based on https://peps.python.org/pep-0008/#function-and-variable-names).

Regarding the filenames that sounds fine.

@marczalik marczalik mentioned this issue Jan 19, 2023
@whyitfor whyitfor closed this as completed Feb 6, 2023
marczalik pushed a commit to marczalik/ofrak that referenced this issue Apr 17, 2023
…icComponentConfigs

Merge master, Test new endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Participate in hacktoberfest!
Projects
None yet
Development

No branches or pull requests

3 participants