[Buildd-tools-devel] New sbuild release 0.39

Roger Leigh rleigh at whinlatter.ukfsn.org
Tue Feb 21 23:57:07 UTC 2006


Hi folks,

I have released a new version of sbuild, version 0.39.  The changes
follow.


Regards,
Roger


 sbuild (0.39) unstable; urgency=low
 .
   * sbuild:
     - fetch_source_files(): Merge from upstream SVN (cset 94); Strip trailing
       whitespace from each line in $dscfile/debian/.sbuild-build-deps
       early on, making all subsequent regexes simpler.
     - Update copyright notice (add myself as a copyright holder).
     - Add %main::sessioncaps to store whether or not a chroot is
       session-capable.  Check the schroot "Session Managed" attribute to
       determine session capability.
     - If a chroot is session-capable, skip running uninstall_deps() (thanks
       to Reinhard Tartler).
     - Add debugging messages for distribution selection and schroot
       session creation (thanks to Reinhard Tartler).
   * debian/control:
     - Recommend schroot (>= 0.2.3-2), for its "Session Managed"
       information in --info output, used for skipping chroot cleanup.
 .
 sbuild (0.38) experimental; urgency=low
 .
   * Full sudo access is no longer mandatory when using the schroot
     chroot_mode (Closes: #287669, #331506).
   * schroot session management is now fully implemented and completely
     functional.
   * sbuild:
     - Move schroot metadata parsing to a separate function,
       get_schroot_info().  Parse both "Location" (for
       backwards-compatibility) and "Mount Location".
     - Move path and APT setup into a separate function, setup_options().
     - Remove check_dpkg_version().  This has not been necessary since the
       release of potato (Debian 2.2), which had a dpkg version 1.6.14.
     - When $chroot_mode == "schroot", clear %main::dist_order and
       %main::dist_locations using an empty array, rather than undef.
     - New functions get_command(), run_command(), get_apt_command() and
       run_apt_command() to run a command inside or outside the build
       chroot under the specified user, or run apt inside or outside the
       chroot (depending on the chroot_mode), respectively.
     - New function exec_command().  This is the same as run_command(), but
       runs the command with exec rather than system().
     - New functions log_command() to log a command being run,
       get_command_internal() and get_apt_command_internal() to get a
       command string without logging it; these are used by get_command(),
       run_command, exec_command(), get_apt_command() and run_apt_command(),
       which do log the command being run.  Commands are logged in for all
       chroot modes.
     - get_apt_command() and run_apt_command() take an additional parameter,
       the command to run (apt-get or apt-cache).
     - get_apt_command() and run_apt_command() take an additional parameter,
       the user to run as, because not all commands need (or should) run as
       root.
     - Use new commands for running commands inside and outside chroots:
       + Signing options for dpkg-buildpackage are double-quoted rather than
         single-quoted (because the main command is single-quoted).
       + All commands run in a pipeline are obtained with get_command() or
         get_apt_command().
       + All other commands are run with run_command(), exec_command() or
         run_apt_command().
       + check_space() only requires root access in the chroot.
     - Add schroot session management.  Sessions are created, run and
       removed automatically.  The current session is stored in
       $main::schroot_session.  setup_options is called once per build, in
       order to set up the session options.
     - Add missing newline to log message.
   * sbuild.1:
     - Update outdated information.
     - Correct macro usage and reindent.
     - Correct command-line summary (Closes: #311589).
   * sbuild-setup.7: New manpage.  This describes how to set up a chroot
     (Closes: #311363).
   * avg-pkg-build-time.1: Clean up.
   * update-sourcedeps.1: Clean up.
   * sbuild.conf: $schroot_options defaults to "-q" to match the built-in
     default.
   * example.sbuildrc: Single quote example email addresses in
     $maintainer_name, $uploader_name, and $key_id (Closes: #341327).
   * chroot/buildd.chroot:
     - Use "set -e" to abort on all errors (Closes: #342357).
     - Correctly quote all shell variables.
     - Use cdebootstrap rather than debootstrap.
   * chroot/buildd.chroot.pre-sarge: Remove.
   * chroot/README-buildd.chroot.pre-sarge: Remove (Closes: #308065).
   * debian/control:
     - Recommend schroot.
     - Recommend cdebootstrap rather than debootstrap.
   * debian/README.Debian: Update information about src-deps and schroot.
Files: 
 ffb40183aec209ed83c1e7e1cdbcb84c 659 devel extra sbuild_0.39.dsc
 29567ab12ae98120ea07ba44f6b7ebd9 60729 devel extra sbuild_0.39.tar.gz
 b9485bd6f2370da994f3e4fc1140b946 68046 devel extra sbuild_0.39_all.deb

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060221/a0ba3e0e/attachment.pgp


More information about the Buildd-tools-devel mailing list