aboutsummaryrefslogtreecommitdiffstats
path: root/main/aports-build/report-build-errors.lua
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/report-build-errors.lua
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/report-build-errors.lua')
-rw-r--r--main/aports-build/report-build-errors.lua1
1 files changed, 1 insertions, 0 deletions
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,"[^/]+/[^/]+$")),