aboutsummaryrefslogtreecommitdiffstats
path: root/main/aports-build
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-20 09:40:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-20 09:40:25 +0000
commit30cec12e3b0c8bbb85ea13e3ee19effb9decb407 (patch)
tree683085a223b508a0c8771804dc029e9f2d1b1360 /main/aports-build
parentf4cd64bd7399865ef9d18695c983d33408c224a2 (diff)
downloadaports-30cec12e3b0c8bbb85ea13e3ee19effb9decb407.tar.bz2
aports-30cec12e3b0c8bbb85ea13e3ee19effb9decb407.tar.xz
main/aports-build: publish reponame on with build error message
Diffstat (limited to 'main/aports-build')
-rw-r--r--main/aports-build/APKBUILD8
-rw-r--r--main/aports-build/report-build-errors.lua1
2 files changed, 5 insertions, 4 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD
index 335c18eb50..845445df4a 100644
--- a/main/aports-build/APKBUILD
+++ b/main/aports-build/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aports-build
pkgver=1.0
-pkgrel=3
+pkgrel=4
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="http://alpinelinux.org"
arch="noarch"
@@ -52,12 +52,12 @@ package() {
md5sums="97aa48d5026684e77c4529c7622370a6 aports-build
cb4807ea64c4368487786217db087bac aports-build.initd
c02d90b2bb0c48e416b707caa8766c50 mqtt-exec.aports-build.confd
-0d8b71f9e61cd56e03931f190acc702a report-build-errors.lua"
+ea60ae81dc6557b0312f181c8c8aeecf report-build-errors.lua"
sha256sums="414adee6f0a5c83c8b37d995fee36a7a8787eaab7bdc986fd512977f3412e16c aports-build
3e2d551f72273f37290db342a153abd377397483677a684645d22df7b8a8592f aports-build.initd
7d2001688c3776ffb53c422dee424bcf0346ae20f3df5c6c2f4944022b19cb4d mqtt-exec.aports-build.confd
-e45389a6b078bf0683a1e8e5d153485b88de85b424cab9df81329e4ead4bccae report-build-errors.lua"
+b3d083ed4609ec92630819b638cd5dafdad17df68b25aa6da4c70de901910448 report-build-errors.lua"
sha512sums="5f30f736e31e04c7718ad5e44c02d8abf47c31baabd38c98bef8fe1e02444ceb49375151707e255c72a28e370c4e67d7a11f14555689b20a5a4e736cbe9c4fb4 aports-build
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
93d26e2055dbb02e863bf76b64a549c100decec3fda612ce96ca1464e6d61befa9f57f202553a25cf323e67e266f532d19c7423ff070943a59b3973946d949fe mqtt-exec.aports-build.confd
-bb5c0472acb1fc8ba846acd93748f914c38a8f322089ad2326a1b88406056541cadb58aadaa24488785a67c10d726e52dc9a74acbd389e9321dbce7468478a5c report-build-errors.lua"
+3453e45cb687d2af6cd1c490fd5b7134f643570a84b354b57ba49295e5a0d01ef65abc0909aeb424cbe48aa280c19cc4f1dce5f4f10e5137a80395c3be00c733 report-build-errors.lua"
diff --git a/main/aports-build/report-build-errors.lua b/main/aports-build/report-build-errors.lua
index 8809430a69..e91044fed4 100644
--- a/main/aports-build/report-build-errors.lua
+++ b/main/aports-build/report-build-errors.lua
@@ -44,6 +44,7 @@ function m.postbuild(aport, success, repodest, arch, logfile)
local payload = json.encode{
pkgname = aport.pkgname,
hostname = hostname,
+ reponame = aport:get_repo_name(),
logurl = ("%s/%s/%s-%s-r%s.log"):format(
urlprefix,
(string.match(aport.dir,"[^/]+/[^/]+$")),