Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
---------------------------------------------------------------
commit d29ca180260fc7734eec05f31d0fe7ffbd855898
Author: Seth Vidal <skvidal(a)fedoraproject.org>
Date: Sat Dec 1 00:24:46 2012 -0500
need a bit more logging detail to see what's breaking and why
---------------------------------------------------------------
backend/mockremote.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 5bfb1f2..d7d0eed 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -481,6 +481,14 @@ class MockRemote(object):
self.callback.error(msg)
self.callback.end_download(pkg)
+ # write out whatever came from the builder call into the destdir/chroot
+ r_log = open(self.destdir + '/' + self.chroot +
'/mockchain.log', 'a')
+ r_log.write('%s\n' % pkg)
+ r_log.write('stdout\n')
+ r_log.write(b_out)
+ r.log.write('stderr\n')
+ r.log.write(b_err)
+ r.log.close()
# FIXME
# need a plugin hook or some mechanism to check random