[Git][reproducible-builds/reproducible-website][master] Update docs/archive to recommend -X and unzipping with TZ=UTC

Chris Lamb (@lamby) gitlab at salsa.debian.org
Mon Apr 8 10:24:10 UTC 2024



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
d15f76b8 by Chris Lamb at 2024-04-08T11:22:59+01:00
Update docs/archive to recommend -X and unzipping with TZ=UTC

- - - - -


1 changed file:

- _docs/archives.md


Changes:

=====================================
_docs/archives.md
=====================================
@@ -126,6 +126,14 @@ $ tar --sort=name \
 {% endhighlight %}
 </div>
 
+Zip files
+---------
+
+Zip files can additionally store metadata in "extra file attributes". We believe these were intended as a cross-platform means of storing, say,  Extended Attributes on OS/2 as well as user/group information. Crucially, it can store multiple file timestamps on Unix, including creation, modification *and* access time. (NB. You may not see access time changes under Linux system is your filesystems are mounted with `noatime` or `norelatime`).
+
+When creating `.zip` files, it is [recommended to use the `--no-extra` / `-X`](https://lists.reproducible-builds.org/pipermail/rb-general/2024-March/003283.html) argument to not save these fields. It is also recommended that [developers unzip archives with `TZ=UTC`](https://lists.reproducible-builds.org/pipermail/rb-general/2023-April/002927.html).
+
+
 Post-processing
 ---------------
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/d15f76b896fff2fe16c031ca2d9f246608b64c65

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/d15f76b896fff2fe16c031ca2d9f246608b64c65
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20240408/a0a8e184/attachment.htm>


More information about the rb-commits mailing list