#1033954 pike8.0: reproducible builds: timestamp embedded in .html documentation

Package:
src:pike8.0
Source:
src:pike8.0
Submitter:
Vagrant Cascadian
Date:
2023-04-04 23:00:03 UTC
Severity:
normal
Tags:
#1033954#5
Date:
2023-04-04 22:00:01 UTC
From:
To:
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

#1033954#10
Date:
2023-04-04 22:56:09 UTC
From:
To:
This additional patch is also needed to avoid additional timestamps in
some of the rest of the documentation: