[Pkg-debile-commits] [debile-slave] 41/100: meh, fidding about
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:53:05 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch master
in repository debile-slave.
commit 19d238a6a7d5aef5af6cae2cfb0db9cf9857f532
Author: Paul Tagliamonte <tag at pault.ag>
Date: Wed May 29 19:26:46 2013 -0400
meh, fidding about
---
ethel/commands/build.py | 1 +
ethel/daemon.py | 7 ++++++-
ethel/utils.py | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ethel/commands/build.py b/ethel/commands/build.py
index 5fe7ae0..62310e6 100644
--- a/ethel/commands/build.py
+++ b/ethel/commands/build.py
@@ -13,3 +13,4 @@ def run(dsc, package, job):
version=package['version'],
arch=arch)
upload(changes, job['_id'])
+ return (info, out, ftbfs)
diff --git a/ethel/daemon.py b/ethel/daemon.py
index d53f827..01bc09d 100644
--- a/ethel/daemon.py
+++ b/ethel/daemon.py
@@ -37,6 +37,11 @@ def iterate():
with tdir() as fd:
with cd(fd):
with checkout(package) as target:
- handler(target, package, job)
+ info, log, err = handler(target, package, job)
+
+ type_ = {"sources": "source",
+ "binaries": "binary"}[package['_type']]
+
+ proxy.submit_report(info, log, job['_id'], err)
iterate()
diff --git a/ethel/utils.py b/ethel/utils.py
index 8525724..7ac9eed 100644
--- a/ethel/utils.py
+++ b/ethel/utils.py
@@ -100,5 +100,5 @@ def upload(changes, job):
out, err, ret = run_command(['dput', obj['dput-host'], changes])
if ret != 0:
- print(err)
+ print(out)
raise Exception("dput sux")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git
More information about the Pkg-debile-commits
mailing list