* [PATCH 1/3] examples/grok-pull.post_update_hook: fetch mirror description
2020-04-06 9:56 7% [PATCH 0/3] examples/grok-pull.post_update_hook updates Eric Wong
@ 2020-04-06 9:56 6% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-04-06 9:56 UTC (permalink / raw)
To: meta
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
^ permalink raw reply related [relevance 6%]
* [PATCH 0/3] examples/grok-pull.post_update_hook updates
@ 2020-04-06 9:56 7% Eric Wong
2020-04-06 9:56 6% ` [PATCH 1/3] examples/grok-pull.post_update_hook: fetch mirror description Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-04-06 9:56 UTC (permalink / raw)
To: meta
Some minor changes to make mirroring easier.
Eric Wong (3):
examples/grok-pull.post_update_hook: fetch mirror description
examples/grok-pull.post_update_hook: capture infourl
examples/grok-pull.post_update_hook: move url_base to the top
examples/grok-pull.post_update_hook.sh | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
^ permalink raw reply [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-04-06 9:56 7% [PATCH 0/3] examples/grok-pull.post_update_hook updates Eric Wong
2020-04-06 9:56 6% ` [PATCH 1/3] examples/grok-pull.post_update_hook: fetch mirror description Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).