<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.10
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/c7918b7b782a474615505e40b252be7ba87bb3ba">https://github.com/macports/macports-base/commit/c7918b7b782a474615505e40b252be7ba87bb3ba</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c7918b7b782a474615505e40b252be7ba87bb3ba
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Sep 8 22:51:33 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> get_source_date_epoch: limit files considered
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Only consider Portfile and files directory in portpath.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit a0c99ad1bf6363b556517a9b0ad91def3a812064)
</span>---
src/port1.0/portmain.tcl | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portmain.tcl b/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index ecca36574..2a86e49d3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -262,6 +262,9 @@ proc portmain::get_source_date_epoch {} {
</span> }
# TODO: Ensure commit timestamps as extracted above are set in
# ports tree distributed as tarball.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ global filespath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set maybe_filespath [expr {[file isdirectory $filespath] ? [list $filespath] : {}}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set checkpaths [list [file join $portpath Portfile] {*}$maybe_filespath {*}[lrange $checkpaths 1 end]]
</span> fs-traverse fullpath $checkpaths {
if {[catch {
if {[file type $fullpath] eq "file"} {
</pre><pre style='margin:0'>
</pre>