109 Commits

Author SHA1 Message Date
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
Iain Lane
230cc212ce pbuilder-dist: Explicitly use debian keyring when working with a
Debian chroot, working around #599695
2010-10-29 14:54:02 +01:00
Siegfried-Angel Gevatter Pujals
3515d7ac78 * pbuilder-dist, doc/pbuilder-dist.1:
- Export the distribution and architecture information to the environment
     so that it is available in pbuilderrc, etc. (LP: #628933).
2010-09-26 17:39:45 +02:00
Benjamin Drung
0189b27604 Remove trailing tab. 2010-09-25 13:13:59 +02:00
Siegfried-Angel Gevatter Pujals
2c2ba94a96 * pbuilder-dist:
- Fix regression where pbuilder would get an empty string as first
     positional argument.
   - Update --debug-echo so that it doesn't hide empty parameters (now
     that they are wrapped around quotes they are significant).
2010-09-25 10:47:48 +02:00
Siegfried-Angel Gevatter Pujals
ebff8fe69f * doc/pbuilder-dist.1:
- Move the documentation for --main-only (previously "mainonly") and
     --debug-echo to a new Options section.
* doc/pbuilder-dist.1: update manpage to indicate general architecture
2010-09-21 21:48:33 +02:00
Siegfried-Angel Gevatter Pujals
f0db65419b pbuilder-dist: wrap a couple long lines. 2010-09-21 21:27:52 +02:00
Siegfried-Angel Gevatter Pujals
8fda1ebdc1 Wrap any extra (user) arguments appended to the pbuilder command with
quotation marks, when needed (LP: #398989).
2010-09-21 21:25:33 +02:00
Siegfried-Angel Gevatter Pujals
4ca97770da * pbuilder-dist:
- Do not show a warning when "experimental" is used; there is no
     debootstrap file for it but it should just work anyway.
* bash_completion/pbuilder-dist:
   - Enable auto-completion for "pbuilder-experimental".
2010-09-21 20:45:45 +02:00
Emmet Hikory
2b34773630 pbuilder-dist: change requested/system arch order in check (LP: #557097) 2010-04-20 06:25:19 +09:00
Emmet Hikory
afdf9bfd63 pbuilder-dist: add self. before target_distro in powerpc check 2010-03-08 21:07:31 +09:00
Emmet Hikory
e5862f49c9 * pbuilder-dist: allow any foreign chroot (may not work, but we can try)
* docs/pbuilder-dist.1: update manpage to indicate general architecture
2010-03-08 18:54:54 +09:00
Emmet Hikory
6661936718 pbuilder-dist: change --mirror logic to use -ports when appropriate 2010-02-03 15:26:40 -08:00
Emmet Hikory
384cba2e19 pbuilder-dist: use --arch=foo rather than --arch foo for debootstrap 2010-02-03 15:06:03 -08:00
Emmet Hikory
54b102a92d s/=/ / in pbuilder-dist 2010-02-03 15:01:48 -08:00
Emmet Hikory
5a62f49527 elif is nicer than else if 2010-02-03 14:58:45 -08:00
Emmet Hikory
bffe719703 Fix bugs in architecture-switching 2010-02-03 14:38:27 -08:00
Emmet Hikory
5120e41e6a pbuilder-dist: Allow architecture-switching to armel on i386/amd64 2010-02-03 14:13:33 -08:00
Siegfried-Angel Gevatter Pujals
dc678ec284 * bash_completion/pbuilder-dist:
- Enable tab-completion for pbuilder-lucid and cowbuilder-lucid.
2010-02-03 12:37:19 +01:00
Iain Lane
df9a4986c5 pbuilder lives in /usr/sbin, not /usr/bin 2010-01-15 22:27:26 +00:00
Siegfried-Angel Gevatter Pujals
dc291e72df pbuilder-dist: some cleanup to --debug-echo's output. 2010-01-15 14:35:28 +01:00
Siegfried-Angel Gevatter Pujals
ee9561ae59 * pbuilder-dist:
- Set "--mirror" option also for Ubuntu chroots, so that they work
     on Debian.
2010-01-15 14:26:39 +01:00
Siegfried-Angel Gevatter Pujals
d97b54fc0a * pbuilder-dist, doc/pbuilder-dist.1:
- Add "--debug-echo" option which prints the resulting pbuilder/cowbuilder
     commands instead of executing it.
2009-11-17 19:50:26 +01:00
Iain Lane
2c4db266b4 Don't pass --logfile if logging in
pbuilder-dist: Don't pass --logfile if we are trying to log in to the
chrootthe logfile option swallows the prompt, and we probably don't
want to log if we are using login anyway.
2009-11-05 14:18:29 +00:00