~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH hub.sr.ht] Use -sS instead of --no-progress-meter when curling mbox downloads

Details
Message ID
<20201025103827.31391-1-ane@iki.fi>
DKIM signature
missing
Download raw message
Patch: +1 -1
Seems like curl in Debian images is too old to have support for
--no-progress-meter introduced in curl 7.67. This can be done in a
forward compatible way by using -sS.

-s will silence output in general, but -S (--show-error) will unsilence any errors.
---
Of course just upgrading the Debian package somehow will fix this just for Debian.
 hubsrht/builds.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hubsrht/builds.py b/hubsrht/builds.py
index 4611b06..a75988e 100644
--- a/hubsrht/builds.py
+++ b/hubsrht/builds.py
@@ -78,7 +78,7 @@ def submit_patchset(ml, payload):
git config --global user.name 'builds.sr.ht'
git config --global user.email builds@sr.ht
cd {repo.name}
curl --no-progress-meter {ml.url()}/patches/{payload["id"]}/mbox >/tmp/{payload["id"]}.patch
curl -sS {ml.url()}/patches/{payload["id"]}/mbox >/tmp/{payload["id"]}.patch
git am -3 /tmp/{payload["id"]}.patch"""
        })
        manifest.tasks.insert(0, task)
-- 
2.24.3 (Apple Git-128)

[hub.sr.ht/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<C6LWQMRV8J7H.3G7TJFP7LGYL8@cirno>
In-Reply-To
<20201025103827.31391-1-ane@iki.fi> (view parent)
DKIM signature
missing
Download raw message
hub.sr.ht/patches: SUCCESS in 3m7s

[Use -sS instead of --no-progress-meter when curling mbox downloads][0] from [Antoine Kalmbach][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/14510
[1]: ane@iki.fi

✓ #327299 SUCCESS hub.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/327299
✓ #327298 SUCCESS hub.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/327298
✓ #327300 SUCCESS hub.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/327300
Details
Message ID
<C6M9MB6XYF77.2YBURNBNFCNUY@taiga>
In-Reply-To
<20201025103827.31391-1-ane@iki.fi> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/hub.sr.ht
   1346dd4..ba9573e  master -> master
Reply to thread Export thread (mbox)