ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62617] New: Honor SOURCE_DATE_EPOCH to allow reproducible builds
Date Fri, 10 Aug 2018 18:34:20 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62617

            Bug ID: 62617
           Summary: Honor SOURCE_DATE_EPOCH to allow reproducible builds
           Product: Ant
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: apache-bugzilla@lepiller.eu
  Target Milestone: ---

Created attachment 36086
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36086&action=edit
patch for tstamp

Hi,

the <tstamp> task allows programmers to refer to the current time in the build
process.

I would like to suggest honoring the SOURCE_DATE_EPOCH environment variable.
This variable is set by distributions during build and refer to a fixed
timestamp that can be used reproducibly. More information on
https://reproducible-builds.org/specs/source-date-epoch/.

This bug report is related to #61269.

Attached is a patch for this issue. By default, the old behavior is preserved,
unless SOURCE_DATE_EPOCH is defined in the environment, in which case it is
used as the current date.

Thank you :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message