diff options
Diffstat (limited to 'lorrycontroller/confparser.py')
-rw-r--r-- | lorrycontroller/confparser.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lorrycontroller/confparser.py b/lorrycontroller/confparser.py index 71becd7..e24db07 100644 --- a/lorrycontroller/confparser.py +++ b/lorrycontroller/confparser.py @@ -210,8 +210,11 @@ class LorryControllerConfig(object): } repo_info[elems[1]] = this_repo state['last-ls-output'] = repo_info + logging.info("ls interval %d" % trove['ls-interval-parsed']) + logging.info("next-vls was %s" % time.asctime(time.gmtime(state['next-vls']))) while state['next-vls'] < now: state['next-vls'] += trove['ls-interval-parsed'] + logging.info("next-vls now %s" % time.asctime(time.gmtime(state['next-vls']))) else: # Pass through unchanged state['last-ls-output'] = state.get('last-ls-output', {}) @@ -238,6 +241,8 @@ class LorryControllerConfig(object): remotereponame), "controller-uuid": trove['uuid'], "source-HEAD": info["head"], + "refspecs": [ "+refs/heads/*:refs/heads/*", + "+refs/tags/*:refs/tags/*" ] } if localreponame in self.lorries: logging.warn("Skipping %s (%s from %s) because we already " |