From 96e1ced79e3ddee8f89508451af3fffabe876b2b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 3 Oct 2019 01:20:30 +0200 Subject: [PATCH] bpo: don't require and send push_id anymore This ID was not so useful and got in the way of calling the get_repo_missing job without actually having received a trigger from gitlab before (bpo.py --auto-get-repo-missing). --- .build.postmarketos.org/submit.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/.build.postmarketos.org/submit.py b/.build.postmarketos.org/submit.py index 0b364d529..0c0862a0e 100755 --- a/.build.postmarketos.org/submit.py +++ b/.build.postmarketos.org/submit.py @@ -16,7 +16,6 @@ for key in ["BPO_API_ENDPOINT", "BPO_PAYLOAD_FILES", # one file per line "BPO_PAYLOAD_IS_JSON", # set to "1" to enable "BPO_PKGNAME", - "BPO_PUSH_ID", "BPO_VERSION", # $pkgver-r$pkgrel ]: if key not in os.environ: @@ -43,7 +42,6 @@ is_json = (os.environ["BPO_PAYLOAD_IS_JSON"] == "1") # Prepare HTTP headers headers = {"X-BPO-Arch": os.environ["BPO_ARCH"], "X-BPO-Branch": os.environ["BPO_BRANCH"], - "X-BPO-Push-Id": os.environ["BPO_PUSH_ID"], "X-BPO-Token": token, "X-BPO-Pkgname": os.environ["BPO_PKGNAME"], "X-BPO-Version": os.environ["BPO_VERSION"]}