<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/74d584657d8d8af710a0e9e525c44a44e69be70a">https://github.com/macports/macports-base/commit/74d584657d8d8af710a0e9e525c44a44e69be70a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 74d584657 Restore previous portindex stats behaviour
</span>74d584657 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 74d584657d8d8af710a0e9e525c44a44e69be70a
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Oct 31 01:33:40 2022 +1100
<span style='display:block; white-space:pre;color:#404040;'> Restore previous portindex stats behaviour
</span>---
src/port/portindex.tcl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port/portindex.tcl b/src/port/portindex.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 1b4582fc7..cd9c41349 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port/portindex.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port/portindex.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -232,6 +232,7 @@ proc handle_completed_jobs {} {
</span> return -code break "Interrupt"
} elseif {$status == 1} {
incr ::stats(failed)
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ incr ::stats(total)
</span> } else {
# queue jobs for subports
if {[tsv::exists $portdir subports]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -239,12 +240,12 @@ proc handle_completed_jobs {} {
</span> tsv::set ${portdir}/${subport} status 99
set jobid [tpool::post -nowait $::poolid [list pindex $portdir $subport]]
set ::pending_jobs($jobid) ${portdir}/${subport}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- incr ::stats(total)
</span> }
}
if {$status == -1} {
incr ::stats(skipped)
} else {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ incr ::stats(total)
</span> tsv::get $portdir mtime mtime
if {$mtime > $::newest} {
set ::newest $mtime
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -272,7 +273,6 @@ proc pindex_queue {portdir} {
</span> tsv::set $portdir status 99
set jobid [tpool::post -nowait $::poolid [list pindex $portdir {}]]
set ::pending_jobs($jobid) $portdir
<span style='display:block; white-space:pre;background:#ffe0e0;'>- incr ::stats(total)
</span> }
proc process_remaining {} {
</pre><pre style='margin:0'>
</pre>