[MacPorts] #69976: Set ports tree timestamps based on commit times

MacPorts noreply at macports.org
Mon May 13 16:33:01 UTC 2024


#69976: Set ports tree timestamps based on commit times
----------------------------+---------------------
 Reporter:  jmroot          |      Owner:  admin@…
     Type:  enhancement     |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  server/hosting  |    Version:
 Keywords:                  |       Port:
----------------------------+---------------------
 In order to set `SOURCE_DATE_EPOCH` consistently, base needs to know when
 the last commit to affect a port's directory happened. Of the possible
 solutions, setting the timestamps on the files after checkout seems
 simplest.

 This can be done either with a tool such as [https://github.com/MestreLion
 /git-tools/blob/main/git-restore-mtime git-restore-mtime] or with
 [https://stackoverflow.com/questions/2458042/restore-a-files-modification-
 time-in-git#22638823 shell commands].

-- 
Ticket URL: <https://trac.macports.org/ticket/69976>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list