Your message dated Fri, 17 Sep 2010 09:47:21 +0000
with message-id <[email protected]>
and subject line Bug#595055: fixed in git-buildpackage 0.5.9
has caused the Debian Bug report #595055,
regarding git-pbuilder: Pass additional arguments to cowbuilder
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
595055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595055
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.5.7
Severity: wishlist
Tags: patch

There is no way to specify the architecture when running "git-pbuilder
create". If additional arguments were passed to cowbuilder, one could
run "git-pbuilder create --architecture i386" to create an i386 image on
an amd64 system. The attached patch allows this.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.10.67     scripts to make the life of a Debi
ii  git [git-core]               1:1.7.1-1.1 fast, scalable, distributed revisi
ii  git-core                     1:1.7.1-1.1 fast, scalable, distributed revisi
ii  python                       2.6.5-13    interactive high-level object-orie
ii  python-dateutil              1.4.1-3     powerful extensions to the standar
ii  python-support               1.0.9       automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  cowbuilder                    0.62       pbuilder running on cowdancer
ii  pristine-tar                  1.10       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)

-- no debconf information
>From 2a4ef2ec630db5196e457558cccf456ec9f42eef Mon Sep 17 00:00:00 2001
From: Svend Sorensen <[email protected]>
Date: Tue, 31 Aug 2010 11:23:35 -0700
Subject: [PATCH] git-pbuilder: Pass arguments to update|create|login to cowbuilder

Pass additional aguments to git-pbuilder (update | create | login) to
cowbuilder. For example, this allows setting the architecture by running
"git-pbuilder create --architecture i386".

diff --git a/git-pbuilder b/git-pbuilder
index afc0f65..913911e 100755
--- a/git-pbuilder
+++ b/git-pbuilder
@@ -78,7 +78,9 @@ fi
 # cowbuilder with the corresponding option under sudo rather than proceeding.
 case $1 in
 update|create|login)
-    sudo cowbuilder --"$1" --basepath "$BASE" --dist "$DIST" $OPTIONS
+    ACTION="$1"
+    shift
+    sudo cowbuilder --"$ACTION" --basepath "$BASE" --dist "$DIST" $OPTIONS "$@"
     exit $?
     ;;
 esac
@@ -105,7 +107,7 @@ git-pbuilder - Wrapper around pbuilder for git-buildpackage
 
 DIST=I<distribution> B<git-pbuilder> I<debbuild-options>
 
-DIST=I<distribution> B<git-pbuilder> (update | create | login)
+DIST=I<distribution> B<git-pbuilder> (update | create | login) I<cowbuilder-options>
 
 =head1 DESCRIPTION
 
@@ -147,7 +149,8 @@ passing parameters through B<git-buildpackage>.
 Alternately, B<git-pbuilder> may be called with an argument of C<update>,
 C<create>, or C<login>.  In this case, it calls B<cowbuilder> using
 B<sudo> and passes the corresponding command to B<cowbuilder>, using the
-same logic as above to determine the base directory and distribution.
+same logic as above to determine the base directory and distribution. Any
+arguments are passed as-is to cowbuilder.
 
 =head1 ENVIRONMENT
 
-- 
1.7.1


--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.5.9

We believe that the bug you reported is fixed in the latest version of
git-buildpackage, which is due to be installed in the Debian FTP archive:

git-buildpackage_0.5.9.dsc
  to main/g/git-buildpackage/git-buildpackage_0.5.9.dsc
git-buildpackage_0.5.9.tar.gz
  to main/g/git-buildpackage/git-buildpackage_0.5.9.tar.gz
git-buildpackage_0.5.9_all.deb
  to main/g/git-buildpackage/git-buildpackage_0.5.9_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated git-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 17 Sep 2010 10:42:32 +0200
Source: git-buildpackage
Binary: git-buildpackage
Architecture: source all
Version: 0.5.9
Distribution: experimental
Urgency: low
Maintainer: Guido Günther <[email protected]>
Changed-By: Guido Günther <[email protected]>
Description: 
 git-buildpackage - Suite to help with Debian packages in Git repositories
Closes: 595055
Changes: 
 git-buildpackage (0.5.9) experimental; urgency=low
 .
   * [6a200ad] Resync with git-pbuilder 0.16 (Closes: #595055)
   * [ed97b84] Add --git-arch option
   * [257a3e1] Switch to debian branch before forcing the HEAD update
     otherwise we might forward the current branch to another branch's
     ref - thanks to Rolf Leggewie for the testcase
   * [af97781] Avoid unnecessary branch switch when fixing the previous
     issues. (LP: #637286)
   * [70c5b22] Improve compression format detection by checking if a
     version is already on the pristine-tar branch and use it's
     compression type if found. (LP: #615212)
   * [02b1a03] Don't fail on missing debian/rules. (LP: #638371)
Checksums-Sha1: 
 d21100f04cc6ec0eed5f7d3997af3c9acfc99a89 1078 git-buildpackage_0.5.9.dsc
 a67df27006006a009c1a15c5264815e817ad4f9b 85956 git-buildpackage_0.5.9.tar.gz
 bacf1cf8ba96b3d0a11c42d4f023192bc48c8256 107854 git-buildpackage_0.5.9_all.deb
Checksums-Sha256: 
 11e618d80b33abb62080af50d2ff8091cc20da03a1c7cc1b383850779436d748 1078 
git-buildpackage_0.5.9.dsc
 c462c95c6ced34dcdcbef423db3fd9514c38cea2a17fbdfe99df20fa8ef1dcb8 85956 
git-buildpackage_0.5.9.tar.gz
 bb1624f65927f71221c871c150111ec9de499d3b9b16dfb1af07769349f6a731 107854 
git-buildpackage_0.5.9_all.deb
Files: 
 37163e0b8a71d7f27b14837295536c60 1078 vcs optional git-buildpackage_0.5.9.dsc
 86a2cda894291cc97730341f1fabd9a1 85956 vcs optional 
git-buildpackage_0.5.9.tar.gz
 81ea478abd3a46e7a146762bcc7a82ab 107854 vcs optional 
git-buildpackage_0.5.9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMkzDtn88szT8+ZCYRAiPjAJwPtT/rM3u6rL6VTJoFoPbmRowpoQCeJ5o4
Gcc16DBTYPQpUhs2bnXRRN0=
=Sorm
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to