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

[bug] .zip files are extracted without recorded timestamps #15268

Open
iskunk opened this issue Dec 13, 2023 · 0 comments
Open

[bug] .zip files are extracted without recorded timestamps #15268

iskunk opened this issue Dec 13, 2023 · 0 comments

Comments

@iskunk
Copy link
Contributor

iskunk commented Dec 13, 2023

Environment details

  • Operating System+version: Ubuntu Linux 22.04
  • Conan version: Git release/2.0 branch
  • Python version: 3.11.5

Steps to reproduce

When a .zip source archive file is extracted, the files are assigned current timestamps, not the ones recorded for them in the .zip file. (Unix source archives in .zip format are not common, but that is what GitHub serves up if you want to download an untagged commit.)

I would not have noticed this but for some alpha SOURCE_DATE_EPOCH code (WIP for #14480) erroring out on the too-new timestamps.

I have a first-draft fix for this, which I'll be submitting in a PR shortly.

Logs

No response

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

No branches or pull requests

1 participant