<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository mpbb.

</pre>
<p><a href="https://github.com/macports/mpbb/commit/868f68814515c2af4dc4c4921b489b7ded410e99">https://github.com/macports/mpbb/commit/868f68814515c2af4dc4c4921b489b7ded410e99</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 868f688  mpbb-list-subports: Allow empty --archive-site
</span>868f688 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 868f68814515c2af4dc4c4921b489b7ded410e99
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed May 23 14:30:51 2018 +0200

<span style='display:block; white-space:pre;color:#404040;'>    mpbb-list-subports: Allow empty --archive-site
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Passing an empty string to --archive-site disables the checks on the
</span><span style='display:block; white-space:pre;color:#404040;'>    remote mirror.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/56110
</span>---
 mpbb-list-subports | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mpbb-list-subports b/mpbb-list-subports
</span><span style='display:block; white-space:pre;color:#808080;'>index cb9cc91..789d533 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mpbb-list-subports
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mpbb-list-subports
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,18 +44,20 @@ print-subports() {
</span>         exclude=0
         exclude_reasons=()
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        # FIXME: this doesn't take selected variants into account
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # $thisdir is set in mpbb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # shellcheck disable=SC2154
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        archive_path=$("${tclsh}" "${thisdir}/tools/archive-path.tcl" "${port}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        if [[ -f "${archive_path}" ]]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            archive_basename=$(basename "${archive_path}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            if curl -fIsL "${archive_site}/${port}/${archive_basename}" > /dev/null; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                exclude=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                exclude_reasons+=("it has already been built and uploaded")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            elif ! "${tclsh}" "${option_jobs_dir}/port_binary_distributable.tcl" "${port}"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                exclude=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                exclude_reasons+=("it has already been built and is not distributable")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if [[ -n "${archive_site}" ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # FIXME: this doesn't take selected variants into account
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # $thisdir is set in mpbb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # shellcheck disable=SC2154
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            archive_path=$("${tclsh}" "${thisdir}/tools/archive-path.tcl" "${port}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if [[ -f "${archive_path}" ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                archive_basename=$(basename "${archive_path}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if curl -fIsL "${archive_site}/${port}/${archive_basename}" > /dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude_reasons+=("it has already been built and uploaded")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                elif ! "${tclsh}" "${option_jobs_dir}/port_binary_distributable.tcl" "${port}"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    exclude_reasons+=("it has already been built and is not distributable")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                fi
</span>             fi
         fi
 
</pre><pre style='margin:0'>

</pre>