mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-26 23:51:31 +00:00
Merge with trunk
This commit is contained in:
commit
0353f952d8
24
debian/changelog
vendored
24
debian/changelog
vendored
@ -16,10 +16,30 @@ ubuntu-dev-tools (0.76) UNRELEASED; urgency=low
|
|||||||
* buildd: Add a --batch mode for batch retrying/rescoring of packages.
|
* buildd: Add a --batch mode for batch retrying/rescoring of packages.
|
||||||
|
|
||||||
[ Iain Lane ]
|
[ Iain Lane ]
|
||||||
* requestsync: Guard some calls when -n is specified
|
* requestsync:
|
||||||
|
- Guard some calls when -n is specified
|
||||||
|
- Fetch changelog of specified version, not current version. If an
|
||||||
|
experimenal upload happened after the unstable one we're syncing, this
|
||||||
|
is considered to be current by p.d.o and we would get those changelog
|
||||||
|
entries in the sync request
|
||||||
|
- Remove trailing fullstop from sync bug title
|
||||||
* suspicious-source: Add *.hs *.el *.css to whitelist
|
* suspicious-source: Add *.hs *.el *.css to whitelist
|
||||||
|
|
||||||
-- Iain Lane <laney@ubuntu.com> Sat, 08 Aug 2009 16:02:25 +0100
|
[ Siegfried-Angel Gevatter Pujals ]
|
||||||
|
* pbuilder-dist:
|
||||||
|
- Expand "~" in PBUILDFOLDER to the user's home directory.
|
||||||
|
- If there's a "etc/<distro>/apt.conf" file inside the build result
|
||||||
|
directory, pass it to pbuilder as --aptconfdir. Thanks to Paul Novotny
|
||||||
|
and Ryan Pavlik (LP: #363043).
|
||||||
|
|
||||||
|
[ Luca Falavigna ]
|
||||||
|
* Switch to python-support to ease initial import into Debian:
|
||||||
|
- debian/control: build-depend on python-support instead of pycentral,
|
||||||
|
also remove unneeded XB-Python-Version field from binary stanza.
|
||||||
|
- debian/rules: set DEB_PYTHON_SYSTEM to pysupport.
|
||||||
|
- ubuntu-dev-tools.preinst: remove stale pycentral files on upgrades.
|
||||||
|
|
||||||
|
-- Luca Falavigna <dktrkranz@ubuntu.com> Fri, 21 Aug 2009 17:30:05 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.75) karmic; urgency=low
|
ubuntu-dev-tools (0.75) karmic; urgency=low
|
||||||
|
|
||||||
|
3
debian/control
vendored
3
debian/control
vendored
@ -5,7 +5,7 @@ Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
|||||||
Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk
|
Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk
|
||||||
Vcs-Browser: http://codebrowse.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk/changes
|
Vcs-Browser: http://codebrowse.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk/changes
|
||||||
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 6), python-all-dev (>= 2.5)
|
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 6), python-all-dev (>= 2.5)
|
||||||
Build-Depends-Indep: python-central (>= 0.5)
|
Build-Depends-Indep: python-support (>= 0.5.3)
|
||||||
XS-Python-Version: >= 2.5
|
XS-Python-Version: >= 2.5
|
||||||
Homepage: https://launchpad.net/ubuntu-dev-tools/
|
Homepage: https://launchpad.net/ubuntu-dev-tools/
|
||||||
Standards-Version: 3.8.0
|
Standards-Version: 3.8.0
|
||||||
@ -19,7 +19,6 @@ Recommends: bzr, pbuilder | cowdancer | sbuild, reportbug (>= 3.39ubuntu1),
|
|||||||
ca-certificates, debootstrap, genisoimage, perl-modules, libwww-perl
|
ca-certificates, debootstrap, genisoimage, perl-modules, libwww-perl
|
||||||
Conflicts: devscripts (<< 2.10.7ubuntu5)
|
Conflicts: devscripts (<< 2.10.7ubuntu5)
|
||||||
Replaces: devscripts (<< 2.10.7ubuntu5)
|
Replaces: devscripts (<< 2.10.7ubuntu5)
|
||||||
XB-Python-Version: ${python:Versions}
|
|
||||||
Description: useful tools for Ubuntu developers
|
Description: useful tools for Ubuntu developers
|
||||||
This is a collection of useful tools that Ubuntu developers use to make their
|
This is a collection of useful tools that Ubuntu developers use to make their
|
||||||
packaging work a lot easier.
|
packaging work a lot easier.
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
DEB_PYTHON_SYSTEM := pycentral
|
DEB_PYTHON_SYSTEM := pysupport
|
||||||
|
|
||||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||||
|
9
debian/ubuntu-dev-tools.preinst
vendored
9
debian/ubuntu-dev-tools.preinst
vendored
@ -16,5 +16,14 @@ if [ -e /etc/bash_completion.d/pbuilder-dist/pbuilder-dist ]; then
|
|||||||
mv -fv "$tmp_file" /etc/bash_completion.d/pbuilder-dist
|
mv -fv "$tmp_file" /etc/bash_completion.d/pbuilder-dist
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove stale pycentral files on upgrades.
|
||||||
|
# This can be removed after the next LTS (likely 10.04) is released.
|
||||||
|
if [ "$1" = upgrade ]
|
||||||
|
then
|
||||||
|
if dpkg --compare-versions "$2" lt "0.76" ; then
|
||||||
|
pycentral pkgremove ubuntu-dev-tools
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#
|
#
|
||||||
# ##################################################################
|
# ##################################################################
|
||||||
#
|
#
|
||||||
# This script is a wrapper to be able to easily use pbuilder for
|
# This script is a wrapper to be able to easily use pbuilder/cowbuilder for
|
||||||
# different distributions (eg, Gutsy, Hardy, Debian unstable, etc).
|
# different distributions (eg, Gutsy, Hardy, Debian unstable, etc).
|
||||||
#
|
#
|
||||||
# You can create symlinks to a pbuilder-dist executable to get different
|
# You can create symlinks to a pbuilder-dist executable to get different
|
||||||
@ -85,10 +85,7 @@ class pbuilder_dist:
|
|||||||
|
|
||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
if 'PBUILDFOLDER' in os.environ:
|
self.base = os.path.expanduser(os.environ.get('PBUILDFOLDER', '~/pbuilder/'))
|
||||||
self.base = os.environ['PBUILDFOLDER']
|
|
||||||
else:
|
|
||||||
self.base = os.path.expanduser('~/pbuilder/')
|
|
||||||
|
|
||||||
if not os.path.exists(self.base):
|
if not os.path.exists(self.base):
|
||||||
os.makedirs(self.base)
|
os.makedirs(self.base)
|
||||||
@ -248,7 +245,9 @@ class pbuilder_dist:
|
|||||||
arguments.append('--debootstrapopts --arch')
|
arguments.append('--debootstrapopts --arch')
|
||||||
arguments.append('--debootstrapopts "%(build_architecture)s"' % self)
|
arguments.append('--debootstrapopts "%(build_architecture)s"' % self)
|
||||||
|
|
||||||
### $( [ $ISDEBIAN != "False" ] || echo "--aptconfdir \"${BASE_DIR}/etc/${DISTRIBUTION}/apt.conf/\"" ) \
|
apt_conf_dir = os.path.join(self.base, 'etc/%(target_distro)s/apt.conf' % self)
|
||||||
|
if os.path.exists(apt_conf_dir):
|
||||||
|
arguments.append('--aptconfdir "%s"' % apt_conf_dir)
|
||||||
|
|
||||||
# Append remaining arguments
|
# Append remaining arguments
|
||||||
if remaining_arguments:
|
if remaining_arguments:
|
||||||
|
21
requestsync
21
requestsync
@ -144,7 +144,7 @@ def cur_deb_version(sourcepkg, distro):
|
|||||||
|
|
||||||
return out.split('|')[1].rstrip('[]''').strip()
|
return out.split('|')[1].rstrip('[]''').strip()
|
||||||
|
|
||||||
def debian_changelog(sourcepkg, component, version):
|
def debian_changelog(sourcepkg, component, version, debver):
|
||||||
'''Return the Debian changelog from the latest up to the given version
|
'''Return the Debian changelog from the latest up to the given version
|
||||||
(exclusive).'''
|
(exclusive).'''
|
||||||
|
|
||||||
@ -158,7 +158,8 @@ def debian_changelog(sourcepkg, component, version):
|
|||||||
|
|
||||||
# Get the debian/changelog file from packages.debian.org.
|
# Get the debian/changelog file from packages.debian.org.
|
||||||
try:
|
try:
|
||||||
debianChangelogPage = urllib2.urlopen('http://packages.debian.org/changelogs/pool/%s/%s/%s/current/changelog.txt' % (component, subdir, sourcepkg))
|
pkgurl = 'http://packages.debian.org/changelogs/pool/%s/%s/%s/%s_%s/changelog.txt' % (component, subdir, sourcepkg, sourcepkg, debver)
|
||||||
|
debianChangelogPage = urllib2.urlopen(pkgurl)
|
||||||
except urllib2.HTTPError, error:
|
except urllib2.HTTPError, error:
|
||||||
print >> sys.stderr, "Unable to connect to packages.debian.org. " \
|
print >> sys.stderr, "Unable to connect to packages.debian.org. " \
|
||||||
"Received a %s." % error.code
|
"Received a %s." % error.code
|
||||||
@ -501,14 +502,14 @@ if __name__ == '__main__':
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# -s flag not specified - check if we do need sponsorship.
|
# -s flag not specified - check if we do need sponsorship.
|
||||||
if (not newsource):
|
if (not sponsorship):
|
||||||
if (not sponsorship):
|
if (not newsource):
|
||||||
sponsorship = checkNeedsSponsorship(srcpkg)
|
sponsorship = checkNeedsSponsorship(srcpkg)
|
||||||
else:
|
else:
|
||||||
sponsorship = PersonTeam.getMe().isLpTeamMember('motu') # assume going to universe
|
sponsorship = not PersonTeam.getMe().isLpTeamMember('motu') # assume going to universe
|
||||||
|
|
||||||
# Check for existing package reports.
|
# Check for existing package reports.
|
||||||
if not newsource and use_lp_bugs: checkExistingReports(srcpkg)
|
if (not newsource) and use_lp_bugs: checkExistingReports(srcpkg)
|
||||||
|
|
||||||
# Generate bug report.
|
# Generate bug report.
|
||||||
subscribe = 'ubuntu-archive'
|
subscribe = 'ubuntu-archive'
|
||||||
@ -527,7 +528,7 @@ if __name__ == '__main__':
|
|||||||
subscribe = 'motu-release'
|
subscribe = 'motu-release'
|
||||||
|
|
||||||
|
|
||||||
pkg_to_sync = '%s %s (%s) from Debian %s (%s).' % (srcpkg, deb_version, component, distro, debiancomponent)
|
pkg_to_sync = '%s %s (%s) from Debian %s (%s)' % (srcpkg, deb_version, component, distro, debiancomponent)
|
||||||
title = "Sync %s" % pkg_to_sync
|
title = "Sync %s" % pkg_to_sync
|
||||||
if ffe == True:
|
if ffe == True:
|
||||||
title = "FFe: " + title
|
title = "FFe: " + title
|
||||||
@ -571,7 +572,7 @@ if __name__ == '__main__':
|
|||||||
base_ver = force_base_ver
|
base_ver = force_base_ver
|
||||||
|
|
||||||
if not newsource: report += 'Changelog since current %s version %s:\n\n' % (release, cur_ver)
|
if not newsource: report += 'Changelog since current %s version %s:\n\n' % (release, cur_ver)
|
||||||
report += debian_changelog(srcpkg, debiancomponent, base_ver) + '\n'
|
report += debian_changelog(srcpkg, debiancomponent, base_ver, deb_version) + '\n'
|
||||||
|
|
||||||
if need_interaction:
|
if need_interaction:
|
||||||
(title, report) = edit_report(title, report, changes_required=True)
|
(title, report) = edit_report(title, report, changes_required=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user