[buildd-tools-devel] sbuild 0.62.2 released

Roger Leigh rleigh at codelibre.net
Tue Apr 5 10:05:37 UTC 2011


Hi,

I have released sbuild 0.62.2.  This release is mainly small bug
fixes, and a couple of new options:

* Major changes in 0.62.2:

  1) New options --no-apt-clean, --no-apt-update, --no-apt-upgrade and
     --no-apt-distupgrade have been added to allow these actions to be
     disabled even when set as the default in the configuration.

  2) --keep-session is replaced by
     --purge-session=(always|successful|never).  This will allow the
     session to be purged for all, successful and no builds,
     respectively.

  3) $purge_session uses the same purge modes as $purge_build_deps and
     $purge_build_directory, rather than a boolean value.

  4) Log filtering may be disabled using $log_filter = 0 in the
     configuration.  The replacement text is now also surrounded with
     "«" and "»" so that strings such as CHROOT and BUILDDIR can't be
     confused with any actual appearance of the same string in the
     build log.

  5) Log colouring may be disabled using $log_colour = 0 in the
     configuration.

  * sbuild:
    - New options --no-apt-clean, --no-apt-update, --no-apt-upgrade and
      --no-apt-distupgrade have been added to allow these actions to be
      disabled even when set as the default in the configuration.
    - root is not required to be a member of the sbuild group in order
      to run schroot via the sbuild-schroot wrapper
      (Closes: #619128, #619002).
    - Don't require HOME to be set in the environment (Closes: #619288).
    - Work around broken build-essential on Ubuntu Lucid
      (Closes: #619526).  Thanks to Marc Deslauriers.
    - --keep-session is replaced by
      --purge-session=(always|successful|never).  This will allow the
      session to be purged for all, successful and no builds,
      respectively (Closes: #619332).
    - sources.list fragments stored in /etc/apt/sources.list.d have
      0644 permissions, so that normal users can run apt-cache in the
      chroot during a build (Closes: #620797).  Thanks to Julian Andres
      Klode for identifying this problem.
    - Log filtering may be disabled using $log_filter = 0 in the
      configuration (Closes: #620589).  The replacement text is now
      also surrounded with "«" and "»" so that strings such as CHROOT
      and BUILDDIR can't be confused with any actual appearance of the
      same string in the build log.
    - Log colouring may be disabled using $log_colour = 0 in the
      configuration.
    - Improve binNMU handling to permit binNMUs for multiarch packages
      (Closes: #620112).  Currently, binary NMUs use the current date
      in the new changelog entry, but co-installable packages require
      an identical changelog.  To avoid this, take the date from the
      previous changelog entry to ensure the same date for all binNMUs.
      Thanks to Anders Kaseorg for this patch.
    - Abort early if maintainer is not defined when performing a binNMU
      or appending a version suffix (Closes: #620758).
  * sbuild.conf:
    - Don't set a default value for $build_dir (Closes: #619416).
      This value is set each run, and so varies between builds when
      generating the configuration file.  Exclude from the generated
      output to prevent unnecessary differences between builds.
    - $purge_session uses the same purge modes as $purge_build_deps and
      $purge_build_directory, rather than a boolean value.
  * buildd:
    - Merge latest changes from buildd-0.61.0.

I'd like to thank everyone for their hard work in making this release.
In particular, many thanks to Phil for his work on getting 0.61.0 into
a usable state for buildd use on buildd-0.61.0 (most of the changes
below are forward merges of those changes onto the master branch), and
implementing autosigning, arch:all autobuilding and adding the build
summary to the MIME build logs.

I'll now work on merging the buildd-0.61.0 changes onto a new
buildd-0.62.2 branch, which will also contain the 0.62.2 changes from
the master branch.  This will remove the sbuild-schroot wrapper and
do all building as the buildd user, returning sbuild to an arch:any
package.  I am considering moving this wrapper into the schroot
package itself, which will mean it can be guaranteed to be available,
and it will mean sbuild can remain arch:any on all branches.


Kind regards,
Roger


Anders Kaseorg (1):
      Sbuild::Build: Improve binNMU changelog handling

Andreas Barth (2):
      take build_dep_resolver from wanna-build if not locally configured
      squeeze released: git rid of etch-only code, change codenames in creat-chroot

Marc Deslauriers (1):
      Sbuild::Build: Add work around for wrong build-essential entry on Ubuntu Lucid

Modestas Vainius (1):
      Sbuild::Conf: Rename end_session to purge_session

Philipp Kern (19):
      [Buildd::Daemon] fix up retry
      debian/buildd.*{inst,rm}: remove 0.58.3-1 upgrade code
      debian/rules: do not install the init script on buildd builds
      [Buildd::Daemon] remove unused read_config function
      [Buildd::DistConf] SIGN_WITH added as a new variable
      [Buildd::Daemon] pass SIGN_WITH as keyid to sbuild
      [Buildd::Daemon] put signed builds into the upload queue
      [Sbuild::Build] put KEY_ID into the log mail header if set
      [Sbuild::Build] attach a .summary file to MIME build logs
      [Buildd::Uploader] make .changes -> .upload substitution clearer
      [Sbuild::Build] check correctly for SIGNING_OPTIONS being an ARRAY
      [Sbuild::Conf] handle command-line signing options correctly
      [Sbuild::Build] invoke debsign post-build
      [Buildd::Daemon] add arch_all building support
      sbuild: Add new option to suppress log mails for successful builds
      Sbuild::Build: Forward port build autosigning
      [Sbuild::Conf] adjust ENVIRONMENT_FILTER to be sane
      [Buildd::Daemon] support autosigning of binNMUs
      [Buildd::Daemon] move_to_upload: fix binNMU uploading

Roger Leigh (38):
      sbuild: Add --no-apt-* options to disable default actions
      Buildd::Daemon: Don't upgrade or distupgrade running sbuild
      NEWS: Bump version to 0.62.2 and document new options
      debian: Bump version to 0.62.2-1 and document new options
      wrapper: Allow root to bypass sbuild group membership checks
      debian: Close #619128
      Sbuild::ConfBase: Don't fail if HOME is unset
      debian: Close #619288
      Sbuild::ConfBase: Warn if $HOME is unset
      Sbuild::Conf: Don't output BUILD_DIR by default
      debian: Close #619416
      TODO: Update
      Sbuild::Build: Don't log repeated schroot deprecation warnings
      .gitignore: Add newly-generated files
      man: Document --suppress-successful-logs
      debian: Close #619002
      debian: Close #619526
      Sbuild::Conf: END_SESSION allows same purge modes as purge options
      NEWS: Document --purge-session and $end_session
      debian: Close #619332
      Revert "sbuild: Add new option to suppress log mails for successful builds"
      Revert "man: Document --suppress-successful-logs"
      Sbuild::ResolverBase: sources.list fragments must have 0644 permissions
      debian: Close #620797
      Sbuild::Build: Improve clarity of log filtering
      Sbuild::Conf: Add LOG_FILTER
      NEWS: Document log filtering changes
      debian: Close #620589
      debian: Close #620112
      Sbuild::Build: Add extra checks when doing binNMU
      debian: Merge buildd-0.61.0 changes
      sbuild: Move binNMU check to top level
      Sbuild::Conf: Set maintainer name in trigger
      Sbuild::ConfBase: Set MAILTO from hash in DISTRIBUTION SET trigger
      debian: Close #620758
      Sbuild: Allow log colouring to be disabled
      NEWS: Log colouring is configurable
      debian: Log colouring is configurable

% git diff --stat release/sbuild-0.62.1..release/sbuild-0.62.2
 NEWS                       |   27 ++++++++++-
 TODO                       |   49 ++-------------------
 bin/create-chroot          |   22 +++------
 bin/sbuild                 |    5 ++
 debian/buildd.postinst     |   16 -------
 debian/buildd.postrm       |   37 ---------------
 debian/buildd.preinst      |   21 ---------
 debian/changelog           |   48 ++++++++++++++++++++
 debian/rules               |    7 +++-
 etc/99builddsourceslist    |   35 +--------------
 lib/Buildd/Daemon.pm       |   65 ++++++++++++++++++++++-----
 lib/Buildd/DistConf.pm     |    3 +
 lib/Buildd/Uploader.pm     |    4 +-
 lib/Sbuild/Build.pm        |  106 ++++++++++++++++++++++++++++++++++++-------
 lib/Sbuild/Conf.pm         |   90 +++++++++++++++++++++++++------------
 lib/Sbuild/ConfBase.pm     |   25 +++++++++-
 lib/Sbuild/Options.pm      |   24 +++++++---
 lib/Sbuild/ResolverBase.pm |    9 ++++
 man/.gitignore             |    2 +
 man/sbuild.1.in            |   39 +++++++++++-----
 wrapper/.gitignore         |    1 +
 wrapper/wrapper.cc         |    4 +-
 22 files changed, 386 insertions(+), 253 deletions(-)

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110405/a77e08a3/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list