132 Commits

Author SHA1 Message Date
Benjamin Drung
12ee7e71e3 pbuilder-dist: Set different aptcache directories for Debian and Ubuntu. 2014-04-15 12:03:14 +02:00
Benjamin Drung
b0209ce796 pbuilder-dist: PEP 8 fixes. 2014-04-15 11:25:28 +02:00
Benjamin Drung
ad94031d84 Remove trailing spaces. 2014-03-18 23:31:19 +01:00
Dimitri John Ledkov
1ecf020703 * Add ppc64el to valid architectures in pbuilder-dist and ubuntu-build.
* Simplify mirror detection in mk-sbuild, all supported releases, all
  architectures but i386/amd64 are on ports.ubuntu.com
2013-12-20 15:03:55 +00:00
Dmitrijs Ledkovs
06874a8bad add arm64 knowledge to mk-sbuild, ubuntu-build, pbuilder-dist. 2013-10-13 21:54:31 +01:00
Benjamin Drung
c2aa97dba2 Move devscripts.logger to ubuntutools.logger. 2013-03-19 00:18:02 +01:00
Stefano Rivera
fabb0119ef pbuilder-dist: Build with -proposed enabled for Ubuntu dev releases.
Thanks Scott Kitterman (LP: #1082452)
2012-12-02 12:20:02 +02:00
Stefano Rivera
c0708dd41b pbuilder-dist: Don't try to enable -updates for the current codename
referring to Debian testing, either (LP: #1011870)
2012-06-19 16:42:59 +02:00
Stefano Rivera
343ac49b39 pbuilder-dist, pull-debian-source, pull-lp-source, requestsync,
reverse-depends, submittodebian, syncpackage:
Handle outdated distro-info data. Fall back to sane defaults where
possible.
2012-05-06 10:15:54 +02:00
Stefano Rivera
4dbde5f886 pbuilder-dist: Don't try to enable -updates for Debian testing
(LP: #993006)
2012-05-06 08:36:37 +02:00
John S Gruber
6e7a7bac35 Don't use --override-config with operations other than update. (LP: #409696) 2012-03-26 10:42:09 +02:00
Daniel Hahler
dead85ee75 pbuilder-dist: Do not force default value for --aptcache argument
Instead of passing the default from /usr/share/pbuilder/pbuilderrc to
pbuilder, let it be configured from the config files, e.g. ~/.pbuilderrc.
(LP: #956903)
2012-03-16 14:49:32 +01:00
Stefano Rivera
346aae9d42 pbuilder-dist: Use the same chroot, whether the system-architecture was
the supplied architecture or was chosen by default (LP: #943435)
2012-02-29 23:23:05 +02:00
Stefano Rivera
2afe15c4a3 pbuilder-dist: Pass DEB_BUILD_OPTIONS through (LP: #685786) 2012-02-15 16:24:14 +02:00
Stefano Rivera
0713ff4f94 pbuilder-dist: Export DISTRIBUTION and ARCHITECTURE as well as DIST and
ARCH. (Closes: #659060, LP: #423609)
2012-02-08 01:05:15 +02:00
Alessio Treglia
4e8e44a788 The same of the previous commit, replace ARCH with ARCHITECTURE (as per pbuilderrc's manpage) 2012-02-07 22:27:09 +01:00
Alessio Treglia
f245b24f30 Use DISTRIBUTION instead of DIST to override the default distribution of {p,cow}builder-dist.
Closes: #659060
2012-02-07 22:14:13 +01:00
Stefano Rivera
fc9ddd974e mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf. 2011-11-29 11:42:40 +02:00
Stefano Rivera
6a6f0ca9cb Lengthen variable name, we can afford to now 2011-11-15 01:37:29 +02:00
Stefano Rivera
6f9551f1cb pbuilder-dist: Enable non-release pockets by default (LP: #781003) 2011-11-15 01:26:16 +02:00
Stefano Rivera
cefbe3ccc2 * New scripts:
- reverse-depends: Replaces reverse-build-depends. Uses an UbuntuWire
    webservice for determining all reverse(-build)-dependencies for a
    package. (LP: #696373)
  - requestbackport: Files a backport request bug report, including a full
    testing checklist.
* Don't allow boilerplate prompts through in submittodebian and requestsync
  (LP: #887336)
2011-11-13 21:31:01 +02:00
Stefano Rivera
054423d016 Use YesNoQuestion in pbuilder-dist 2011-11-13 20:17:50 +02:00
Stefano Rivera
cdec3f5868 pbuilder-dist: Support using non-master mirrors. Thanks Mathieu Parent.
(LP: #824285)
2011-11-13 02:32:25 +02:00
Benjamin Drung
a03fa654f3 Move debian-distro-info, distro-info, and ubuntu-distro-info from
ubuntu-dev-tools into distro-info.
2011-06-25 17:53:44 +02:00
Benjamin Drung
ebbaada218 Add experimental to list of Debian distributions. 2011-06-25 16:20:22 +02:00
Evan Broder
d82e65e0e2 * ubuntutools.subprocess:
- New drop-in replacement wrapper module around subprocess that
    backports the restore_signals kwarg and defaults close_fds=True
  - Switch everything previously using subprocess to use
    ubuntutools.subprocess instead (LP: #785854)
2011-05-24 20:22:37 +02:00
Benjamin Drung
e8b3a18c45 Move suspicious-source and wrap-and-sort from ubuntu-dev-tools into devscripts. 2011-05-23 23:41:00 +02:00
Stefano Rivera
574f6a239d Drop redundant 'Error:' 2011-01-22 18:05:26 +02:00
Stefano Rivera
9bb93b6fc0 Dropped exit 2011-01-22 17:58:19 +02:00
Stefano Rivera
3db76b355a pbuilder-dist: Use ubuntutools.logger. 2011-01-22 11:21:52 +02:00
Benjamin Drung
1a8951e82d Use new ubuntutools.distro_info in various scripts. 2011-01-21 19:20:04 +01:00
Benjamin Drung
b09ddfee2f Make pylint happier. 2010-12-27 21:54:31 +01:00
Benjamin Drung
7b7c84a9fe pbuilder-dist: Make pylint happier. 2010-12-27 20:23:08 +01:00
Benjamin Drung
2e9a5c3db6 Fix some errors found by pylint. 2010-12-26 01:01:57 +01:00
Stefano Rivera
fab2200666 Strengthen sudo warning to an error and abort if user doesn't own $HOME 2010-12-19 01:45:31 +02:00
Stefano Rivera
a10ca5753f * pbuilder-dist:
- Fix typo in local archive support, introduced in 0.107.
  - Warn user if they run sudo pbuilder-dist (LP: #691999).
2010-12-18 22:09:59 +02:00
Benjamin Drung
6aafc793dd Fix indentation and formatting of previous commit. 2010-12-17 13:56:36 +01:00
Bilal Akhtar
1747986a88 pbuilder-dist: Override the default build result location if
--buildresult is specified.
2010-12-17 13:47:48 +03:00
Stefano Rivera
53652d8cee pbuilder-dist: Fix typo in local archive support, introduced in 0.107. 2010-12-11 12:35:18 +02:00
Stefano Rivera
cbbd22fa5b Pass --debootstrap qemu-debootstrap as separate arguments 2010-12-02 10:25:31 +02:00
Stefano Rivera
67734216ab Add bidirectional workarounds for LP: #599695 (pbuilder uses the host
apt keyring). Complain if the target's keyring isn't installed.
2010-12-02 09:37:44 +02:00
Stefano Rivera
27365f9dd4 Set HOME so pbuilder reads .pbuilderrc 2010-12-02 09:30:21 +02:00
Stefano Rivera
b2a400fe50 Pass --basetgz foo as separate arguments 2010-12-02 00:56:56 +02:00
Stefano Rivera
43781fb79a Compress Vertical Whitespace 2010-11-23 09:00:16 +02:00
Stefano Rivera
afb27f1e1b Minor tweaks 2010-11-23 08:56:23 +02:00
Stefano Rivera
b78b21f43e Whitespace -> PEP-8 2010-11-23 08:54:42 +02:00
Stefano Rivera
04eb3ada8b Catch OSErrors when creating directories (LP: #671067) 2010-11-22 14:29:52 +02:00
Stefano Rivera
7126a9e894 * pbuilder-dist:
- Refactor to use subprocess.popen instead of os.system (LP: #398974)
2010-11-22 14:26:10 +02:00
Stefano Rivera
2f4abf3d71 Print errors to stderr 2010-11-22 13:33:19 +02:00
Stefano Rivera
781d077af8 Check for builder in sbin paths even if they aren't in PATH 2010-11-22 13:25:55 +02:00