From b5962ba03d7a0ebaeeb8f6cf2b43bb5c7f9ab787 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Thu, 20 Jun 2013 17:56:46 +0200 Subject: [PATCH] debian_build: show environment, that gbp object creates, add FIXME --- debian_build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian_build.py b/debian_build.py index 9fde8ec..ae16261 100755 --- a/debian_build.py +++ b/debian_build.py @@ -192,6 +192,7 @@ if __name__ == '__main__': # FIXME: tagging only works for squeeze this way, change it to make it multipledist compatible remote_tag = [tag for tag in gitrepo.tags if tag.name == new_tag] if len(remote_tag) > 0: + # FIXME: .id attribute but avl. in wheezy based git lib if remote_tag[0].commit.id == curr_commit_id: logger.debug('Tag was already created for this commit.') do_tagging = False @@ -446,9 +447,6 @@ if __name__ == '__main__': # # ACT IV: preparations are done, let's build # - logger.info('Current environment:\n\n{env}\n'.format(env=ENV)) - logger.info('Start building ...\n') - gbp = git_buildpackage.GitBuildPackage( upstream_branch=local_branch, debian_branch=local_branch, @@ -457,6 +455,8 @@ if __name__ == '__main__': pb_suite=pb_suite, git_commit_id=curr_commit_id[0:7], ) + logger.info('Current environment:\n\n{env}\n'.format(env=gbp.env)) + logger.info('Start building ...\n') ret = gbp.build() # .. remove last commit (the one where we added the changelog entry) -- 2.39.5