ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62617] New: Honor SOURCE_DATE_EPOCH to allow reproducible builds
Date Fri, 10 Aug 2018 18:34:20 GMT

            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
  Target Milestone: ---

Created attachment 36086
patch for tstamp


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

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

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.
View raw message