Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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 Mar 3, 2020
@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 Mar 4, 2020
@lukaszstolarczuk
Copy link
Member

lukaszstolarczuk commented Mar 4, 2020

Sure; rebased against stable-1.1 :)

Thanks a lot

@lukaszstolarczuk lukaszstolarczuk merged commit add2eed into pmem:stable-1.1 Mar 4, 2020
11 of 12 checks passed
@lamby lamby deleted the 952990-pmemkv-please-make-the-build-reproducible branch Mar 4, 2020
@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 issue Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants