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)