mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Merge with trunk.
This commit is contained in:
commit
da8c21b86f
1
.bzrignore
Normal file
1
.bzrignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
debian/pycompat
|
@ -30,7 +30,7 @@ do
|
|||||||
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
|
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
|
||||||
do
|
do
|
||||||
LIBNAME=$(basename $lib);
|
LIBNAME=$(basename $lib);
|
||||||
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.1;
|
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.old;
|
||||||
done;
|
done;
|
||||||
DEBLINE="$DEBLINE $DEBDIR/$pack*.deb ";
|
DEBLINE="$DEBLINE $DEBDIR/$pack*.deb ";
|
||||||
done
|
done
|
||||||
@ -58,9 +58,9 @@ do
|
|||||||
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
|
for lib in `dpkg -L $pack | grep -E "\.so$" | sort -u`;
|
||||||
do
|
do
|
||||||
LIBNAME=$(basename $lib);
|
LIBNAME=$(basename $lib);
|
||||||
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.2;
|
nm -D $lib | cut -d' ' -f3 | sort -u > /tmp/$LIBNAME.new;
|
||||||
echo "Checking: $lib";
|
echo "Checking: $lib";
|
||||||
diff -u /tmp/$LIBNAME.{1,2};
|
diff -u /tmp/$LIBNAME.{old,new};
|
||||||
rm /tmp/$LIBNAME.{1,2};
|
rm /tmp/$LIBNAME.{old,new};
|
||||||
done;
|
done;
|
||||||
done
|
done
|
||||||
|
27
debian/changelog
vendored
27
debian/changelog
vendored
@ -1,9 +1,32 @@
|
|||||||
ubuntu-dev-tools (0.28) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.30) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* pbuilder-dist-simple, doc/pbuilder-dist-simple.1, setup.py:
|
* pbuilder-dist-simple, doc/pbuilder-dist-simple.1, setup.py:
|
||||||
- Add the original pbuilder-dist script as pbuilder-dist-simple.
|
- Add the original pbuilder-dist script as pbuilder-dist-simple.
|
||||||
|
* pbuilder-dist:
|
||||||
|
- Rewrite the script in Python to make it more robust and faster.
|
||||||
|
|
||||||
-- Siegfried-Angel Gevatter Pujals (RainCT) <rainct@ubuntu.com> Sun, 24 Feb 2008 19:52:06 +0100
|
-- Siegfried-Angel Gevatter Pujals (RainCT) <rainct@ubuntu.com> Wed, 12 Mar 2008 00:42:55 +0100
|
||||||
|
|
||||||
|
ubuntu-dev-tools (0.29) hardy; urgency=low
|
||||||
|
|
||||||
|
* grab-attachments, setup.py: added grab-attachments tool. You give it bug
|
||||||
|
numbers, it gets you their attachments. Useful for sponsoring.
|
||||||
|
|
||||||
|
-- Daniel Holbach <daniel.holbach@ubuntu.com> Mon, 10 Mar 2008 11:31:50 +0100
|
||||||
|
|
||||||
|
ubuntu-dev-tools (0.28) hardy; urgency=low
|
||||||
|
|
||||||
|
[ Adrien Cunin ]
|
||||||
|
* pbuilder-dist:
|
||||||
|
- Fixed minor bash syntax error
|
||||||
|
- Removed quotes around the path when using --aptconfdir, otherwise
|
||||||
|
pbuilder create fails
|
||||||
|
|
||||||
|
[ Kees Cook ]
|
||||||
|
* mk-sbuild-lv: add --personality option from Jamie Strandboge (LP: #199181)
|
||||||
|
* check-symbols: rename temp files to avoid .so versioning confusion.
|
||||||
|
|
||||||
|
-- Kees Cook <kees@ubuntu.com> Thu, 06 Mar 2008 11:05:02 -0800
|
||||||
|
|
||||||
ubuntu-dev-tools (0.27) hardy; urgency=low
|
ubuntu-dev-tools (0.27) hardy; urgency=low
|
||||||
|
|
||||||
|
4
debian/copyright
vendored
4
debian/copyright
vendored
@ -20,14 +20,14 @@ Upstream Authors:
|
|||||||
|
|
||||||
Copyright:
|
Copyright:
|
||||||
|
|
||||||
Canonical Ltd. 2006-2007
|
Canonical Ltd. 2006-2008
|
||||||
Albert Damen <albrt@gmx.net> 2007
|
Albert Damen <albrt@gmx.net> 2007
|
||||||
Albin Tonnerre <lut1n.tne@gmail.com> 2006-2007
|
Albin Tonnerre <lut1n.tne@gmail.com> 2006-2007
|
||||||
Daniel Holbach <daniel.holbach@ubuntu.com> 2006-2007
|
Daniel Holbach <daniel.holbach@ubuntu.com> 2006-2007
|
||||||
Luke Yelavich <themuso@ubuntu.com> 2006-2007
|
Luke Yelavich <themuso@ubuntu.com> 2006-2007
|
||||||
Martin Pitt <martin.pitt@ubuntu.com> 2007
|
Martin Pitt <martin.pitt@ubuntu.com> 2007
|
||||||
Michael Bienia <geser@ubuntu.com> 2006-2007
|
Michael Bienia <geser@ubuntu.com> 2006-2007
|
||||||
Kees Cook <kees@ubuntu.com> 2006-2007
|
Kees Cook <kees@ubuntu.com> 2006-2008
|
||||||
Pete Savage <petesavage@ubuntu.com> 2006-2007
|
Pete Savage <petesavage@ubuntu.com> 2006-2007
|
||||||
Siegfried-A. Gevatter <rainct@ubuntu.com> 2007-2008
|
Siegfried-A. Gevatter <rainct@ubuntu.com> 2007-2008
|
||||||
Terence Simpson <stdin@stdin.me.uk> 2007
|
Terence Simpson <stdin@stdin.me.uk> 2007
|
||||||
|
37
grab-attachments
Executable file
37
grab-attachments
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
#
|
||||||
|
# Copyright 2007, Canonical, Daniel Holbach
|
||||||
|
#
|
||||||
|
# GPL 3
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import urllib
|
||||||
|
import launchpadbugs.connector as Connector
|
||||||
|
|
||||||
|
USAGE = "grab-attachments <bug numbers>"
|
||||||
|
|
||||||
|
def main():
|
||||||
|
if len(sys.argv) == 1:
|
||||||
|
print >> sys.stderr, USAGE
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
if sys.argv[1] in ["--help", "-h"]:
|
||||||
|
print USAGE
|
||||||
|
sys.exit(0)
|
||||||
|
Bug = Connector.ConnectBug(method="Text")
|
||||||
|
for arg in sys.argv[1:]:
|
||||||
|
try:
|
||||||
|
number = int(arg)
|
||||||
|
except:
|
||||||
|
print >> sys.stderr, "'%s' is not a valid bug number." % arg
|
||||||
|
sys.exit(1)
|
||||||
|
b = Bug(number)
|
||||||
|
for a in b.attachments:
|
||||||
|
filename = os.path.join(os.getcwd(), a.url.split("/")[-1])
|
||||||
|
urllib.urlretrieve(a.url, filename)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
|
|
16
mk-sbuild-lv
16
mk-sbuild-lv
@ -20,7 +20,7 @@
|
|||||||
# detect the chroot architecture:
|
# detect the chroot architecture:
|
||||||
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392992
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392992
|
||||||
#
|
#
|
||||||
# Version: 0.11
|
# Version: 0.12
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -87,6 +87,7 @@ function usage()
|
|||||||
echo "Options:"
|
echo "Options:"
|
||||||
echo " --arch=ARCH What architecture to select"
|
echo " --arch=ARCH What architecture to select"
|
||||||
echo " --name=NAME Base name for the schroot (arch is appended)"
|
echo " --name=NAME Base name for the schroot (arch is appended)"
|
||||||
|
echo " --personality=PERSONALITY What personality to use (defaults to match --arch)"
|
||||||
echo " --debug Turn on script debugging"
|
echo " --debug Turn on script debugging"
|
||||||
echo " --source-template=FILE Use FILE as the sources.list template"
|
echo " --source-template=FILE Use FILE as the sources.list template"
|
||||||
echo " --debootstrap-mirror=URL Use URL as the debootstrap source"
|
echo " --debootstrap-mirror=URL Use URL as the debootstrap source"
|
||||||
@ -97,7 +98,7 @@ function usage()
|
|||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
OPTS=`getopt -o '' --long "help,debug,arch:,name:,source-template:,debootstrap-mirror:" -- "$@"`
|
OPTS=`getopt -o '' --long "help,debug,arch:,name:,source-template:,debootstrap-mirror:,personality:" -- "$@"`
|
||||||
eval set -- "$OPTS"
|
eval set -- "$OPTS"
|
||||||
|
|
||||||
name=""
|
name=""
|
||||||
@ -111,6 +112,14 @@ while :; do
|
|||||||
# By default, use the native architecture.
|
# By default, use the native architecture.
|
||||||
arch_opt="--arch $2"
|
arch_opt="--arch $2"
|
||||||
arch_suffix="-$2"
|
arch_suffix="-$2"
|
||||||
|
if [ -z "$personality" -a "$2" = "i386" ]
|
||||||
|
then
|
||||||
|
personality="linux32"
|
||||||
|
fi
|
||||||
|
shift 2
|
||||||
|
;;
|
||||||
|
--personality)
|
||||||
|
personality="$2"
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
--name)
|
--name)
|
||||||
@ -223,6 +232,9 @@ run-setup-scripts=true
|
|||||||
run-exec-scripts=true
|
run-exec-scripts=true
|
||||||
EOM
|
EOM
|
||||||
fi
|
fi
|
||||||
|
if [ ! -z "$personality" ]; then
|
||||||
|
echo "personality=$personality" >> "$TEMP_SCHROOTCONF"
|
||||||
|
fi
|
||||||
cat "$TEMP_SCHROOTCONF" | sed \
|
cat "$TEMP_SCHROOTCONF" | sed \
|
||||||
-e "s|CHROOT_NAME|$CHROOT_NAME|g" \
|
-e "s|CHROOT_NAME|$CHROOT_NAME|g" \
|
||||||
-e "s|CHROOT_PATH|$CHROOT_PATH|g" \
|
-e "s|CHROOT_PATH|$CHROOT_PATH|g" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user