node-archiver
node-archiver copied to clipboard
Add new option to ignore file timestamps and produce archives with consistent hash
Related to the following issue https://github.com/archiverjs/node-archiver/issues/416
Hi @ctalkington , any progress on this PR? I will appritiate any feedback from you or your team.
Hey @ctalkington, are there any updates, or has this functionality already been implemented in some other way?
This would be a very useful feature to have when building with Bazel, which relies on deterministic artifacts for good remote cache performance.
Note that I was able to work around this by fixing the date in the file entry when appending to a zip:
zip.append(content, {name: "foo.txt", date: new Date(0)});