[MacPorts] #59672: Set SOURCE_DATE_EPOCH

MacPorts noreply at macports.org
Sat May 11 16:15:55 UTC 2024


#59672: Set SOURCE_DATE_EPOCH
--------------------------+----------------------
  Reporter:  ryandesign   |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:  haspatch
      Port:               |
--------------------------+----------------------
Changes (by jmroot):

 * cc: jmroot (added)


Comment:

 Would there be any serious drawback to simply setting `SOURCE_DATE_EPOCH`
 to a fixed value, at least to start with? The only one I can think of is
 that users might be slightly confused if the recorded timestamps are
 visible somewhere.

 To use it the way Debian does, we would need to determine the timestamp of
 the last change to the port's directory in the macports-ports repo. That's
 not hard when using a git repo, but we would have to somehow add that
 information to the ports trees we serve via rsync and http, maybe in a
 metadata file.

-- 
Ticket URL: <https://trac.macports.org/ticket/59672#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list