<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f04828f875bc7a2e73abf0961f71c451d2c2adce">https://github.com/macports/macports-ports/commit/f04828f875bc7a2e73abf0961f71c451d2c2adce</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 f04828f875b CI: avoid full PortIndex rebuild
</span>f04828f875b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f04828f875bc7a2e73abf0961f71c451d2c2adce
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Feb 8 01:29:24 2024 +1100

<span style='display:block; white-space:pre;color:#404040;'>    CI: avoid full PortIndex rebuild
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The bootstrap script runs portindex before postflight, so MacPorts has
</span><span style='display:block; white-space:pre;color:#404040;'>    never run, which would normally generate PortIndex.quick.
</span>---
 .github/workflows/bootstrap.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.github/workflows/bootstrap.sh b/.github/workflows/bootstrap.sh
</span><span style='display:block; white-space:pre;color:#808080;'>index 76f94244e54..b6c52726904 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/.github/workflows/bootstrap.sh
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.github/workflows/bootstrap.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,7 +41,7 @@ echo "Fetching MacPorts..."
</span> curl_mpbase_pid=$!
 PORTINDEX_URL="https://ftp.fau.de/macports/release/ports/PortIndex_darwin_${OS_MAJOR}_${OS_ARCH}/PortIndex"
 echo "Fetching PortIndex from $PORTINDEX_URL ..."
<span style='display:block; white-space:pre;background:#ffe0e0;'>-/usr/bin/curl -fsSLo ports/PortIndex "$PORTINDEX_URL" &
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/usr/bin/curl -fsSLo ports/PortIndex -o ports/PortIndex.quick "$PORTINDEX_URL" "${PORTINDEX_URL}.quick" &
</span> curl_portindex_pid=$!
 endgroup
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -120,12 +120,12 @@ begingroup "Updating PortIndex"
</span> git -C ports/ remote add macports https://github.com/macports/macports-ports.git
 git -C ports/ fetch macports master
 git -C ports/ checkout -qf macports/master~10
<span style='display:block; white-space:pre;background:#ffe0e0;'>-git -C ports/ checkout -qf -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git -C ports/ checkout -qf "$(git -C ports/ merge-base macports/master HEAD)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-## Ignore portindex errors on common ancestor
</span> if ! wait $curl_portindex_pid; then
     echo "Fetching PortIndex failed: $?"
 fi
<span style='display:block; white-space:pre;background:#e0ffe0;'>+git -C ports/ checkout -qf -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+git -C ports/ checkout -qf "$(git -C ports/ merge-base macports/master HEAD)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+## Ignore portindex errors on common ancestor
</span> (cd ports/ && portindex)
 git -C ports/ checkout -qf -
 (cd ports/ && portindex -e)
</pre><pre style='margin:0'>

</pre>