-
-
Notifications
You must be signed in to change notification settings - Fork 640
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: Creating ZIP archives with no file extension #21694
Fix: Creating ZIP archives with no file extension #21694
Conversation
P.S. Any advice on the failing "Ensure PR has release notes (pull_request)" check?
|
Looks good. I've marked this bugfix for backporting To satisfy the "Ensure PR has release notes" check, you'd need to add a changelog to "docs/notes/2.25.x.md". Probably under the "General" heading. |
3df6f61
to
a49038d
Compare
Bump ^^ |
Sorry for the delay! Looks good. I wanted to confirm that this wouldn't alter anything for zipfiles with extensions. It would be a shame if we broke reproduceable builds or worse. I can confirm that zipfiles produced with
I also checked that most major distros packaged a zip that has this option. Debian, Arch, and Alpine all bundle Info-Zip's implementation, which supports this option. Busybox does not implement zip so we don't have to worry about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This fixes #21693
There are a number of changes involved:
--adjust-sfx
command-line flag when invoking thezip
binary -- the actual fix for the bugtest_create_zip_archive
unit test:.zip
extensionsZipBinary.create_archive_argv
method