From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 063D51F60F for ; Mon, 6 Apr 2020 09:56:22 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] examples/grok-pull.post_update_hook: fetch mirror description Date: Mon, 6 Apr 2020 09:56:19 +0000 Message-Id: <20200406095621.5656-2-e@yhbt.net> In-Reply-To: <20200406095621.5656-1-e@yhbt.net> References: <20200406095621.5656-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: The $INBOX_URL/description endpoint is available since v1.3.0, so use it in mirrors. --- examples/grok-pull.post_update_hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/grok-pull.post_update_hook.sh b/examples/grok-pull.post_update_hook.sh index d003448e..e04eb2c5 100755 --- a/examples/grok-pull.post_update_hook.sh +++ b/examples/grok-pull.post_update_hook.sh @@ -93,6 +93,7 @@ case $cfg_dir in # only one newsgroup per inbox break done + curl -sSfv "remote_inbox_url"/description >"$inbox_dir"/description echo "I: $inbox_name at $inbox_dir ($addresses) $local_url" ;; esac