Source: pike8.0
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

A build timestamp is embedded in the data-timestamp field in various
.html documentation files:

  /usr/share/doc/pike8.0-doc/html/reference/ex/7.4_3A_3A/hash.html

  <div id="build-date">Extracted from <strong data-id="version">Pike v8.0 
release 1738</strong> as of <strong data-id="date" 
data-timestamp="1680404892">2023-04-01</strong>.</div>
vs.
  <div id="build-date">Extracted from <strong data-id="version">Pike v8.0 
release 1738</strong> as of <strong data-id="date" 
data-timestamp="1680405437">2023-04-01</strong>.</div>


The attached patch to refdoc/structure/modref.html fixes this by
removing the generation date and timestamp entirely.

If this is not an appropriate fix, another more complicated option would
be to explore using SOURCE_DATE_EPOCH to specify the date and timestamp:

  https://reproducible-builds.org/docs/source-date-epoch/


Unfortunately, this patch alone does not solve all reproducibility
issues with pike8.0, but applying this patch should significantly reduce
the differences, making it easier to debug remaining issues.


Thanks for maintaining pike8.0!


live well,
  vagrant
From fdd481d745b79559d995d8fa23253a25698c347e Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Mon, 3 Apr 2023 15:43:44 -0700
Subject: [PATCH 1/9] refdoc/structure/modref.html: Remove date and timestamp
 from generated documentation.

https://reproducible-builds.org/docs/timestamps/

---
 refdoc/structure/modref.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/refdoc/structure/modref.html b/refdoc/structure/modref.html
index 79bb1f9..5fd884e 100644
--- a/refdoc/structure/modref.html
+++ b/refdoc/structure/modref.html
@@ -54,7 +54,7 @@
       </div>
     </div>
     <footer>
-      <div id="build-date">Extracted from <strong data-id="version">$version$</strong> as of <strong data-id="date" data-timestamp="$generated$">$date$</strong>.</div>
+      <div id="build-date">Extracted from <strong data-id="version">$version$</strong>.</div>
     </footer>
     $extra_footer$
     <script>
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature

Reply via email to