<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-infrastructure.
</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/8f3c1d3fccb92b14a1afc328e0f96913c709ebde">https://github.com/macports/macports-infrastructure/commit/8f3c1d3fccb92b14a1afc328e0f96913c709ebde</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 8f3c1d3 mprsyncup: Don't portindex in parallel
</span>8f3c1d3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8f3c1d3fccb92b14a1afc328e0f96913c709ebde
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Mon May 20 17:04:26 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> mprsyncup: Don't portindex in parallel
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> portindex itself is multithreaded now, and although portindex2json.tcl
</span><span style='display:block; white-space:pre;color:#404040;'> is not multithreaded we have many OS versions for which we generate
</span><span style='display:block; white-space:pre;color:#404040;'> portindexes and running that many portindex2json.tcl processes makes the
</span><span style='display:block; white-space:pre;color:#404040;'> buildmaster slow to respond to web requests.
</span>---
jobs/mprsyncup | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/jobs/mprsyncup b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;color:#808080;'>index 9f8ee68..9451e83 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -194,16 +194,14 @@ if [ "${PORTS_CHANGED}" -eq 1 ]; then
</span> INDEX="PortIndex_darwin_${PLATFORM}"
${PORTINDEX} -p "macosx_${PLATFORM}" -o "${INDEX}" \
| ${AWK} '{ print "Updating " idx ":\t" $0 }' idx="$INDEX" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | expand -t 40,48,56,64,72,80 &
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | expand -t 40,48,56,64,72,80
</span> done
<span style='display:block; white-space:pre;background:#ffe0e0;'>- wait
</span>
# generate json for each platform-specific index
for PLATFORM in $PLATFORMS; do
INDEX="PortIndex_darwin_${PLATFORM}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${TCLSH} "${PORTINDEX2JSON}" "${INDEX}"/PortIndex --info commit="${PORTS_NEW_REV}" > "${INDEX}"/PortIndex.json &
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${TCLSH} "${PORTINDEX2JSON}" "${INDEX}"/PortIndex --info commit="${PORTS_NEW_REV}" > "${INDEX}"/PortIndex.json
</span> done
<span style='display:block; white-space:pre;background:#ffe0e0;'>- wait
</span> )
fi
</pre><pre style='margin:0'>
</pre>