Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Make the documentation build reproducibly #615

Conversation

lamby
Copy link
Contributor

@lamby lamby commented Mar 2, 2020

Whilst working on the Reproducible Builds effort we noticed that pmemkv could not be built reproducibly.

This is because, whilst it used the date in manpages from SOURCE_DATE_EPOCH (ie. the dt variable), it used the current build year when templating the year variable.

This was originally filed in Debian as #952990.


This change is Reviewable

Copy link
Member

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rebase it to stable-1.1 branch instead of master?

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Whilst working on the Reproducible Builds effort [0] we noticed that
pmemkv could not be built reproducibly.

This is because, whilst it used the date in manpages from
SOURCE_DATE_EPOCH [1] (ie. the `dt` variable), it used the current
build year when templating the `year` variable.

This was originally filed in Debian as #952990 [2].

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/
 [2] https://bugs.debian.org/952990
@lamby lamby force-pushed the 952990-pmemkv-please-make-the-build-reproducible branch from 1927143 to 756df0a Compare March 3, 2020 18:29
@codecov
Copy link

codecov bot commented Mar 3, 2020

Codecov Report

Merging #615 into master will decrease coverage by 2.63%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #615      +/-   ##
==========================================
- Coverage   85.25%   82.62%   -2.64%     
==========================================
  Files          17       17              
  Lines        1723     1652      -71     
==========================================
- Hits         1469     1365     -104     
- Misses        254      287      +33     
Impacted Files Coverage Δ
src/config.h 0.00% <0.00%> (-86.52%) ⬇️
src/exceptions.h 50.00% <0.00%> (-25.00%) ⬇️
src/libpmemkv.hpp 73.75% <0.00%> (-3.96%) ⬇️

@lamby
Copy link
Contributor Author

lamby commented Mar 3, 2020

Sure; rebased against stable-1.1 :)

@igchor igchor changed the base branch from master to stable-1.1 March 4, 2020 08:06
@lukaszstolarczuk
Copy link
Member

Sure; rebased against stable-1.1 :)

Thanks a lot

@lukaszstolarczuk lukaszstolarczuk merged commit add2eed into pmem:stable-1.1 Mar 4, 2020
@lamby lamby deleted the 952990-pmemkv-please-make-the-build-reproducible branch March 4, 2020 15:48
@lamby lamby changed the title Make the documention build reproducibly Make the documentation build reproducibly Mar 31, 2020
tasmo pushed a commit to prototypefund/reproducible-website that referenced this pull request Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants