From e43fcf184df3fec9c37bb61fbc83738b4b5fa5aa Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 8 Oct 2014 15:07:42 +0200 Subject: [PATCH] debian_build.py: Remove unused code --- debian_build.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/debian_build.py b/debian_build.py index 16101c7..ce81a40 100755 --- a/debian_build.py +++ b/debian_build.py @@ -410,20 +410,6 @@ def main(): if re.match(ALSO_ADD_CIDB_BRANCHES_RE, ENV['GIT_BRANCH']): do_cidb = True - #FIXME: enable this once Florian acks. - #FIXME: get rid of jenkins parameter, instead use git remote - #if GIT_REPO_PATH.startswith('/srv/git/dev/'): - # if ENV['GIT_BRANCH_NAME'] == 'pre-staging': - # version = '%s~develop%s+%s+%s' %(version, daily_date, BUILD_NUMBER, - # curr_commit_hexsha[0:7]) - # changelog_distro = 'pre-staging' - # else: - # # use shorter date because we can - # daily_date = datetime.datetime.now().strftime('%Y%m%d') - # version = '%s~alpha%s+%s+%s' %(version, daily_date, BUILD_NUMBER, - # curr_commit_hexsha[0:7]) - # changelog_distro = 'unstable' - # show what we got so far logger.info('Changelog distribution: "{old_dist}" => "{new_dist}"'.format( old_dist=curr_dist, -- 2.39.5