Your message dated Mon, 29 Dec 2008 10:32:03 +0000
with message-id <[email protected]>
and subject line Bug#508889: fixed in git-buildpackage 0.4.44
has caused the Debian Bug report #508889,
regarding git-import-orig: can't unset sign-tags via flags
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.)
--
508889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508889
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.4.43
Severity: minor
Hi there,
There's no way to override an user defined sign-tags = True (in his
~/.gbp.conf) when running git-import-orig from a script. I tried
--no-sign-tags and --sign-tags=no and =False.
Would be nice to be able to do, especially as using a ./.gbp.conf
causes this file to be imported on first import (probably a bug as
well, but not sure). See attached scripts which demonstrates the
workaround and it's issue (tarbal-diff foo.tar.gz foo.tar.gz should
demonstrate that you see .gbp.conf in the diff). I don't really care
about that second bug which goes away with the first one for me. :-)
Cheers,
PS: thanks for allowing me to write this script based on gbp :-)
--
Loïc Minier
#!/bin/sh
# tarball-diff - output the diff between two tarballs
# Copyright (C) 2008 Loïc Minier <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the author shall not be used
# in advertising or otherwise to promote the sale, use or other dealings in
# this Software without prior written authorization from the author.
#
# depends: git-buildpackage, git-core
set -e
log() {
echo "$*" >&2
}
log_i() {
log "I:" "$@"
}
log_w() {
log "W:" "$@"
}
die() {
log "E:" "$@"
exit 1
}
usage() {
log "Usage: $(basename "$0") <first tarball> <second tarball>"
}
if ! git --version >/dev/null 2>&1; then
die "Need git to diff tarballs"
elif ! git-buildpackage --version >/dev/null 2>&1; then
die "Need git-buildpackage to diff tarballs"
fi
while [ $# -gt 0 ]; do
case $1 in
--help)
usage
exit 0
;;
--)
shift
break
;;
-*)
die "Unknown option $1"
;;
*)
# regular args
break
;;
esac
done
if [ $# -ne 2 ]; then
die "Need exactly two arguments, the tarballs to compare"
fi
first="$1"
second="$2"
# absolute pathnames
if ! echo "$first" | grep -q '^/'; then
first="$(pwd)/$first"
fi
if ! echo "$second" | grep -q '^/'; then
first="$(pwd)/$second"
fi
if ! [ -r "$first" ]; then
die "Can't read $first"
elif ! [ -r "$second" ]; then
die "Can't read $second"
fi
DIFF_DIR=""
cleanup() {
if [ -n "$DIFF_DIR" ]; then
rm -rf "$DIFF_DIR"
fi
}
trap "cleanup" 0 1 2 3 9 11 13 15
DIFF_DIR="$(mktemp -dt)"
cd "$DIFF_DIR"
# can't be overriden by flags
cat >.gbp.conf <<EOF
[DEFAULT]
sign-tags = False
EOF
git init --quiet
log_i "Importing first tarball"
git-import-orig --upstream-branch=tarball-diff --upstream-tag="%(version)s" \
--upstream-version=1 --no-dch --no-merge "$first" >/dev/null
log_i "Importing second tarball"
git-import-orig --upstream-branch=tarball-diff --upstream-tag="%(version)s" \
--upstream-version=2 --no-dch --no-merge "$second" >/dev/null
git diff 1 2 || true
--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.4.44
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.4.44.dsc
to pool/main/g/git-buildpackage/git-buildpackage_0.4.44.dsc
git-buildpackage_0.4.44.tar.gz
to pool/main/g/git-buildpackage/git-buildpackage_0.4.44.tar.gz
git-buildpackage_0.4.44_all.deb
to pool/main/g/git-buildpackage/git-buildpackage_0.4.44_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: Mon, 29 Dec 2008 00:29:43 +0100
Source: git-buildpackage
Binary: git-buildpackage
Architecture: source all
Version: 0.4.44
Distribution: unstable
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: 500458 504075 505787 508889
Changes:
git-buildpackage (0.4.44) unstable; urgency=low
.
* [c54e6dc] help option cleanup (Closes: #505787)
* [45541fe] don't require bugnumbers to start with '#' - use the regex
from Debian policy instead
* [77a875c] move common help messages into config.py
* [9223997] allow to import into empty repositories this makes git-
import-dsc's behaviour finally consistent with git-import-orig
(Closes: #500458, #504075)
* [aacd04a] require python 2.5
* [54b9a3e] better descriptions
* [e806326] add --no-sign-tags (Closes: #508889)
Checksums-Sha1:
b441af6f558592c6249f28c5d41ea44e6514f8fa 971 git-buildpackage_0.4.44.dsc
00e9456fe1800d9645505d714864d9798f42589f 46552 git-buildpackage_0.4.44.tar.gz
8f3df0f231f2011ede4acf8f6bfcdade22297654 61494 git-buildpackage_0.4.44_all.deb
Checksums-Sha256:
260864c46d40286d03e0447ed408d9f82a63688ddc830959cd3285dd09aa695f 971
git-buildpackage_0.4.44.dsc
03eccb59abef7ffe541eb153605f07711169b19730790b7ab405728bc8d1991d 46552
git-buildpackage_0.4.44.tar.gz
ec32b4f42c2c59de8aca954ff16b9d72980ce8244481d5d897d6221958bf08e1 61494
git-buildpackage_0.4.44_all.deb
Files:
ea567c79b422e566f97bcfc2bbe55a1c 971 devel optional git-buildpackage_0.4.44.dsc
a9d44ac14c16ebdb9578a8fead95d024 46552 devel optional
git-buildpackage_0.4.44.tar.gz
09463ab028a7d9d36a1c0b8830c5cb19 61494 devel optional
git-buildpackage_0.4.44_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJWKHTn88szT8+ZCYRArlYAJ438cNj1zydHmObomMQij0CgA1KswCePtGG
s88eOxKJe8L1r+ACb8qcevw=
=0dUJ
-----END PGP SIGNATURE-----
--- End Message ---