]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
no source packages anymore
authorHolger Levsen <holger@layer-acht.org>
Mon, 19 Sep 2011 15:20:59 +0000 (17:20 +0200)
committerHolger Levsen <holger@layer-acht.org>
Mon, 19 Sep 2011 15:20:59 +0000 (17:20 +0200)
lib/git_buildpackage.py

index bba3c97c34bd96f6662c50c83c02c359479892a3..01adfb984153d1569ec0014733f4a6fc3f99ecbe 100644 (file)
@@ -29,8 +29,18 @@ class GitBuildPackage(object):
                 BIN_GIT_BUILDPACKAGE,
                 '--git-upstream-branch=%s' %(self.upstream_branch),
                 '--git-debian-branch=%s' %(self.debian_branch),
-                '--git-ignore-new'
+                '--git-ignore-new',
+                '-b'    # don't build source packages... see directly below
         ]
+        # if we would build orig.tar.gz we would need to be able to access 
+        # them later, which we probably could achieve with using pristine-tar 
+        # and storing that in the git repo - but this has the downside that 
+        # the jenkins build job would need to push this back into the git repo
+        # (so this makes things complicated) and then still, we could not 
+        # gurantee that this orig.tar.gz actually reflects the git repo at 
+        # that point.
+        # So in summary, it would be expensive and buys as nothing, as we 
+        # can always generate the source from said git repos...
 
         env = os.environ
         env['DIST'] = self.dist