Skip to content

Conversation

@qkaiser
Copy link
Contributor

@qkaiser qkaiser commented May 6, 2022

7-zip made the conscious decision of hiding information from debian archives (.deb, ar format).

See:

In order to be complete in our extraction process, we moved to unar to extract ar archive as it won't be hiding files and extract the whole archive.

Integration tests have been adjusted to reflect new output names due to our move to unar.

@qkaiser qkaiser added bug Something isn't working format:archive labels May 6, 2022
@qkaiser qkaiser added this to the v2.5 - Detailed metadata milestone May 6, 2022
@qkaiser qkaiser requested a review from vlaci May 6, 2022 08:44
@qkaiser qkaiser self-assigned this May 6, 2022
@vlaci
Copy link
Contributor

vlaci commented May 6, 2022

Wouldn't we need this switch?

-no-directory (-D) Never create a containing directory for the contents of the unpacked archive.

@qkaiser qkaiser force-pushed the 358-fix-ar-extraction branch from 667e139 to 23e58b8 Compare May 6, 2022 09:10
@qkaiser
Copy link
Contributor Author

qkaiser commented May 6, 2022

Wouldn't we need this switch?

-no-directory (-D) Never create a containing directory for the contents of the unpacked archive.

Definitely makes things simpler in the output tree :) Added.

I'll open another merge request where I use this switch for rar, stuffit, and arc.

7-zip made the conscious decision of hiding information from debian
archives (.deb, ar format). See:

- https://sourceforge.net/p/sevenzip/bugs/1472/
- https://sourceforge.net/p/sevenzip/bugs/1130/

In order to be complete in our extraction process, we moved to unar to
extract ar archive as it won't be hiding files and extract the whole
archive.

Integration tests have been adjusted to reflect new output names due to
our move to unar.
@qkaiser qkaiser force-pushed the 358-fix-ar-extraction branch from 23e58b8 to e34287e Compare May 6, 2022 09:19
@vlaci vlaci merged commit b034817 into main May 6, 2022
@vlaci vlaci deleted the 358-fix-ar-extraction branch May 6, 2022 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working format:archive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the ar extractor is wrong, as it works strangely on deb files - the output is different, than when using ar directly

3 participants