summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-02-05 20:33:30 -0800
committerJesse Keating <jkeating@redhat.com>2010-02-05 20:33:30 -0800
commit3439eee55ee7b04a5f9bec7b47878746f245b4fa (patch)
treeca9a2e5535a1b039704c4d840da09acec9a0db31
parent38d4b04f5ed85ffc4a218ff5fc0118177e143ee0 (diff)
downloadfedpkg-3439eee55ee7b04a5f9bec7b47878746f245b4fa.tar.gz
fedpkg-3439eee55ee7b04a5f9bec7b47878746f245b4fa.tar.xz
fedpkg-3439eee55ee7b04a5f9bec7b47878746f245b4fa.zip
Add some debugging output
-rwxr-xr-xsrc/fedpkg.py3
-rw-r--r--src/pyfedpkg/__init__.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index eb14268..b7bef96 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -338,12 +338,14 @@ def chainbuild(args):
# Break the chain up into sections
urls = []
build_set = []
+ log.debug('Processing chain %s' % ' '.join(args.package))
for component in args.package:
if component == ':':
if build_set:
# We've hit the end of a set, add the set as a unit to the
# url list and reset the build_set.
urls.append(build_set)
+ log.debug('Created a build set: %s' % ' '.join(build_set))
build_set = []
else:
# Figure out the scm url to build from package name
@@ -357,6 +359,7 @@ def chainbuild(args):
% (component, e))
# Take care of the last build set if we have one
if build_set:
+ log.debug('Created a build set: %s' % ' '.join(build_set))
urls.append(build_set)
# pass it off to build
args.chain = urls
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index 8b0c486..c0f70e2 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -361,6 +361,7 @@ class PackageModule:
# Now submit the task and get the task_id to return
# Handle the chain build version
if chain:
+ log.debug('Adding %s to the chain' % url)
chain[-1].append(url)
log.debug('Building chain %s for %s with options %s and a ' \
'priority of %s' %