Menu

Source-code Merge Request #2: Drop build date to make package build reproducible (rejected)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

Bernhard M. Wiedemann wants to merge 1 commit from /u/greenbird/gimp-print/ to master, 2023-10-17

See https://reproducible-builds.org/ for why this is good.

When builds are reproducible, it is possible to recreate
identical binaries anytime anywhere, so it does not matter when
a binary was created.

This patch was done while working on reproducible builds for openSUSE.
Commit Date  
[5552ff] (date) by Bernhard M. Wiedemann Bernhard M. Wiedemann

Drop build date to make package build reproducible

See https://reproducible-builds.org/ for why this is good.

When builds are reproducible, it is possible to recreate
identical binaries anytime anywhere, so it does not matter when
a binary was created.

This patch was done while working on reproducible builds for openSUSE.

2023-06-26 06:11:03 Tree

Discussion

  • Bernhard M. Wiedemann

    Alternatively, we could use the POSIX template from https://reproducible-builds.org/docs/source-date-epoch/ to allow to override the date with SOURCE_DATE_EPOCH- but if we want to support date implementations other than GNU date, this increased code complexity a bit.

     
    • Solomon Peachy

      Solomon Peachy - 2023-08-22

      I'd much prefer this instead; it allows for reprodudible builds for situations where that matters, but otherwise I personally find these dates to be highly useful when it comes to debugging problems.

       
  • Solomon Peachy

    Solomon Peachy - 2023-10-17

    I merged the other approach, so I'm going to close this one.

     
  • Solomon Peachy

    Solomon Peachy - 2023-10-17
    • Status: open --> rejected
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.