From: Quentin Smith Date: Wed, 9 Nov 2011 03:51:19 +0000 (-0500) Subject: Remove all binary packages built from a source package when rebuilding X-Git-Tag: 0.1.17^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/commitdiff_plain/75e430af360e5f920363b5cf7c282b6da44e48d6 Remove all binary packages built from a source package when rebuilding in a non-fast-forward pocket --- diff --git a/debian/changelog b/debian/changelog index 173343d..bc34a10 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-dev (0.1.17) unstable; urgency=low + + * Remove all binary packages built from a source package when rebuilding + in a non-fast-forward pocket + + -- Quentin Smith Tue, 08 Nov 2011 22:51:01 -0500 + invirt-dev (0.1.16) unstable; urgency=low * Properly update the superrepo's .gitmodules file diff --git a/invirtibuilder b/invirtibuilder index c955dfd..8a6b077 100755 --- a/invirtibuilder +++ b/invirtibuilder @@ -202,8 +202,9 @@ def uploadBuild(pocket, workdir): except subprocess.CalledProcessError, e: if not force: raise - package = deb822.Changes(open(changes).read())['Binary'] - logAndRun(['reprepro-env', 'remove', apt, package]) + packages = deb822.Changes(open(changes).read())['Binary'] + for package in packages.split(): + logAndRun(['reprepro-env', 'remove', apt, package]) logAndRun(upload)