From 3439eee55ee7b04a5f9bec7b47878746f245b4fa Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 5 Feb 2010 20:33:30 -0800 Subject: Add some debugging output --- src/fedpkg.py | 3 +++ src/pyfedpkg/__init__.py | 1 + 2 files changed, 4 insertions(+) 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' % -- cgit