118 Commits

Author SHA1 Message Date
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
Siegfried-Angel Gevatter Pujals
ab78b51a9f * debian/control:
- Improve description of pbuilder-dist and mention cowbuilder-dist.
  * pbuilder-dist:
     - Abort if the host's architecture can't be determined.
     - Error out instead of showing a traceback if pbuilder-dist is called
       without any argument.
  * pbuilder-dist, ubuntutools/misc.py:
     - Move the functions used to determine the hosts architecture and
       distribution to the ubuntutools.misc module.
2009-10-25 13:57:39 +01:00
Siegfried-Angel Gevatter Pujals
9842049f21 Change pbuilder-dist header to mention cowbuilder in addition to pbuilder. 2009-08-16 00:20:27 +02:00
Siegfried-Angel Gevatter Pujals
1028885576 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).
2009-08-16 00:18:24 +02:00
Siegfried-Angel Gevatter Pujals
5069952a4a * pbuilder-dist:
- Expand "~" in PBUILDFOLDER to the user's home directory.
2009-08-16 00:12:37 +02:00
Siegfried-Angel Gevatter Pujals
ad0ee7b350 * pbuilder-dist:
- Fallback to calling lsb_release if /etc/lsb-release doesn't
     exist; this makes it possible to run pbuilder-dist on Debian.
2009-04-18 23:38:52 +02:00
Siegfried-Angel Gevatter Pujals
0bb9ebc0d8 * pbuilder-dist:
- Add squeeze as a Debian distribution. Thanks to Marco Rodrigues.
2009-03-28 15:19:36 +01:00
Siegfried-Angel Gevatter Pujals
0fecbc40ba pbuilder-dist: check if package debootstrap is installed (LP: #334848) 2009-03-04 19:13:29 +01:00
Siegfried-Angel Gevatter Pujals
68e7eafe79 pbuilder-dist: abort if pbuilder/cowbuilder is not installed. 2009-03-04 19:00:57 +01:00
Siegfried-Angel Gevatter Pujals
7a5865fd07 pbuilder-dist: abort if the value of builder isn't recognized. 2009-03-04 18:52:45 +01:00
Siegfried-Angel Gevatter Pujals
18f87873a4 * bash-completion/pbuilder-dist: recognize cowbuilder- and -jaunty.
* pbuilder-dist:
   - Fixed a bug which broke pbuilder-dist when "build" was omited; just
     giving a .dsc works now.
   - {p,cow}builder-dist will now complain if you try to build a .changes
     file (or anything else that isn't a .dsc).
2009-02-05 16:50:19 +01:00
Iain Lane
07ceae19b3 Merge jpds's quoting fix 2009-01-11 17:34:00 +00:00
Jonathan Davies
c1b9bd2081 pbuilder-dist: Added missing quote. 2009-01-11 17:29:28 +00:00
Jonathan Davies
1fa547d059 pbuilder-dist: Remove extra ". 2009-01-11 17:23:03 +00:00
Siegfried-Angel Gevatter Pujals
4e476d4755 - Add compatibility for cowbuilder.
- Fix the mainonly support.
  - Rename build.log to last_operation.log.
* pbuilder-dist, pbuilder-dist.new:
  - Replace pbuilder-dist with pbuilder-dist.new.
* debian/links:
  - Symlink /usr/bin/cowbuilder-dist to /usr/bin/pbuilder-dist, and the
    same with the manpage.
* debian/control:
  - Add cowdancer as alternative recommends to pbuilder.
* doc/pbuilder-dist.1:
  - Update it to explain the usage for the new pbuilder-dist script.
* doc/mk-sbuild-lv.1:
  - Fix an error (and get ride of a lintian warning).
2009-01-10 15:09:09 +01:00
Michael Casadevall
9e1272482c * buildd: Fixed rescore (tested by Sarah Hobbs)
* submittodebian: Changed default tag to Jaunty
* pbuilder-dist: Added jaunty to ubuntu releases
* pull-lp-source: Made jaunty the default
* dch-repeat: Added jaunty
2008-11-09 06:54:51 -05:00
Adrien Cunin
e1138e8482 * pbuilder-dist:
- Eliminated some warning with a better check for whether a given distro
     already has a pbuilder chroot in $BASE_DIR, when that distro is not
     known by the script
   - Added intrepid as a known distro
2008-09-13 00:16:09 +02:00
Siegfried-Angel Gevatter Pujals
d3efcc879f Remove unneeded AUTHORS and README. Add the GPL header to all scripts. 2008-08-11 20:06:35 +02:00
Kees Cook
62c5cb5f0b move pbuilder-dist to pbuilder-dist.new and restore published pbuilder-dist so the bzr tree is publishable 2008-06-13 11:22:01 -07:00
Iain Lane
17cb5f8283 Add my name (Iain Lane) as contributor of requestsync and pbuilder-dist 2008-05-22 18:55:45 +01:00
Iain Lane
2ccec91f3b Get rid of double slashes in paths 2008-05-22 18:47:25 +01:00
Iain Lane
c098ed3931 Make ~/pbuilder if it doesn't exist. Pbuilder complains if this isn't created when it is called as "pbuilder create". 2008-05-22 18:46:47 +01:00
Iain Lane
e5cb75e9cb Correctly get symlink name 2008-05-22 18:46:05 +01:00
Iain Lane
07dd830414 Fix bug in pbuilder-dist whereby the error message with invalid distribution names (not alpha) printed "%s" instead of the name. 2008-05-16 19:51:45 +01:00
Siegfried-Angel Gevatter Pujals
0869bcb2b9 pbuilder-dist (rewrite): always save the last log. 2008-04-08 16:22:31 +02:00
Siegfried-Angel Gevatter Pujals
80435aaceb Further progress with the pbuilder-dist rewrite. 2008-03-13 22:56:27 +01:00
Siegfried-Angel Gevatter Pujals
eb67a7bbac Reimplement pbuilder-dist in python. 2008-03-12 00:40:45 +01:00
Siegfried-Angel Gevatter Pujals
53cef1a285 pbuilder-dist: more fixes (thanks to Adrien Cunin), accept 'upgrade' as an alias for 'update', comment out not used stuff (authenticacion method detection), etc. 2008-02-24 14:08:48 +01:00
Siegfried-Angel Gevatter Pujals
1db357f778 Fixes (presumably) in pbuilder-dist and comment the code better. Fix a regression in update-maintainer. Other changes? 2008-02-23 21:40:39 +01:00
Siegfried-Angel Gevatter Pujals
5eb5427dc2 Commit patch from Adrien Cunin for 404main. 2008-02-23 17:53:22 +01:00
Siegfried-Angel Gevatter Pujals
498b7d681d Fixes in pbuilder-dist (seems it works now, but needs testing) 2008-02-17 19:27:32 +01:00
Stephan Hermann
cc7c0f544c bug fix for pbuilder-dist 2008-01-23 20:23:14 +01:00
Stephan Hermann
cbaaa07dab pbuilder-dist:
- add support for gksudo|kdesudo|sudo depending on $DESKTOP_SESSION.
      or if $PBUILDAUTH is set to something else, it will be used instead of
      sudo|gksudo|kdesudo (LP: #172943)
2008-01-22 19:12:40 +01:00
Stephan Hermann
84f00a9165 check if $BASE_DIR/etc/$DISTRIBUTION/apt.conf/sources.list already exists,
if not, create new, if yes, leave it untouched
2008-01-22 19:01:44 +01:00
Stephan Hermann
a4411984ad pbuilder-dist: removed set -x ;) 2008-01-22 18:52:02 +01:00
Stephan Hermann
519d99d407 * pbuilder-dist:
- check if $SYSCACHE is not set and stay with the default, if 
      SYSCACHE = 0 use the default from pbuilderrc or honor $DEBCACHE
      (LP: #156183)
    - removed $BINARCH check in pbuilder call, and set --debootstrapopts
      directly, it doesn't matter when it's always set.  The Subshell call
      didn't work  (LP: #175183)
    - added support for --http-proxy, honours now $http_proxy or $HTTP_PROXY
    - removed $COMPONENTS_LINE from pbuilder call, data is crippled in the
      pbuilder chroot.
      Instead of this behaviour add $BASE_DIR/etc/$DISTRIBUTION/apt.conf/
      directory and install a sane sources.list, depending on the releases of Ubuntu
      and add --aptconfdir to pbuilder call (LP: #175183)
    - add support for gksudo|kdesudo|sudo depending on $DESKTOP_SESSION.
      (LP: #172943)
  * pbuilder-dist.bash_completion: (LP: #175728)
    - added bash_completion instructions
  * debian/rules:
    - install pbuilder-dist.bash_completion to /etc/bash_completion.d/
2008-01-22 18:35:56 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
11a3f04603 Update my email address. 2008-01-17 19:43:26 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
660c7f8eae Merge with trunk. 2008-01-04 18:23:35 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
7957399f70 what-patch: apply patch by Daniel Hahler (LP: #163454). pbuilder-dist: assume action 'build' when .dsc is passed, and update it's manpage. 2007-12-01 22:56:45 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
9ebf3062e4 merge with trunk; remove unnecesary fix 2007-11-23 22:18:34 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
b23a437c2c Fix 2 bugs in pbuilder (one of them with an ugly solution -.-) 2007-11-22 18:37:50 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
b5f2c5e9e8 Improvements to pbuilder-dist (close bug #160769, bug 160769 and fix compatibility issue with the existing fix for bug #140964) 2007-11-07 23:21:40 +01:00