[buildd-tools-devel] sbuild 0.62.4 released

Roger Leigh rleigh at codelibre.net
Sat Jun 25 11:08:18 UTC 2011


Hi,

I have released sbuild version 0.62.4.  This release contains no major
changes, but does add a couple of configurable options and removes
some unused code.  It also replaces the built-in functions for parsing
RFC-822-style control files and versions with the Dpkg:: module
implementations.

  * sbuild:
    - Failing lintian checks are highlighted in red, and passes in
      green (Closes: #631060).
    - The distribution in the build summary is coloured yellow if it
      does not match the distribution in the changelog.  This is to
      indicate that there may be a potential problem, such as
      potentially uploading a package intended for experimental to
      unstable by building for unstable by accident.
    - Log colouring may now be disabled using $log_colour.
    - sbuild only permits building one source package at once.
      Previously sbuild would allow building of more than one package
      in a single invocation.  Making this change means that the exit
      status will always be the status of the build rather than the
      last build, and it also means the logging is simplified and may
      be started earlier.
    - Now that the main log has been removed, and packing of a source
      tree takes place before starting the build for real, we no longer
      create a log file in the build tree, confusing "dpkg-source -b"
      (Closes: #612324).
    - Added new directory /var/lib/sbuild/build to hold build trees for
      sbuild when building.  This will be bind mounted on /build inside
      the chroot following an update to the schroot sbuild and buildd
      fstab configuration for schroot.  This saves significant amounts
      of space when using LVM snapshot chroots, and it also makes it
      easier to preserve build trees for failing builds when using
      snapshots.
    - Extra environment variables to be set when running
      dpkg-buildpackage may now be set using $build_environment
      (Closes: #631595).  These variables will supplement the existing
      environment (e.g. PATH, LD_LIBRARY_PATH), and will not be subject
      to filtering with $environment_filter.
    - Existing hard-coded .dsc/.changes/dpkg-parsechangelog parsing has
      been replaced with use of Dpkg::Control.  Existing reimplmentation
      of the dpkg version comparison and regexes to split versions into
      epoch/version/revision have been replaced with use of
      Dpkg::Version.
  * sbuild-adduser: Use current sbuild-update options in example
    (Closes: #630791).


Regards,
Roger


 NEWS                           |   33 +++++-
 bin/Makefile.am                |    1 +
 bin/sbuild                     |  198 +++++++++++++++++++++----------
 bin/sbuild-adduser             |    3 +-
 debian/changelog               |   46 +++++++
 lib/Sbuild.pm                  |  177 ++++------------------------
 lib/Sbuild/AptResolver.pm      |    2 +-
 lib/Sbuild/AptitudeResolver.pm |    2 +-
 lib/Sbuild/Build.pm            |  253 +++++++++++++++++++---------------------
 lib/Sbuild/Chroot.pm           |   38 ++++---
 lib/Sbuild/Conf.pm             |   25 +++-
 lib/Sbuild/InternalResolver.pm |   27 +++--
 lib/Sbuild/Utility.pm          |  100 +----------------
 man/sbuild.1.in                |   10 +-

Roger Leigh (40):
      Sbuild::Conf: Sync signing options from buildd-0.62.3
      Bump version to 0.62.4
      debian: Bump version to 0.62.4-1
      Sbuild::Build: Highlight lintian results in red/green
      debian: Close #631060
      Sbuild::Build: Make log colouring generic
      Sbuild::Build: Colour distribution if different from changelog
      NEWS: Document log colouring
      debian: Document log colouring
      sbuild-adduser: Use current options
      debian: Close #630791
      Sbuild::Build: Tidy log colouring and reduce verbosity
      sbuild: Only permit one build at once
      man: Document sbuild only building a single package
      NEWS: Document sbuild building a single package only.
      debian: Document sbuild building a single package only.
      sbuild: Only create and run a single job
      Sbuild::Build: Only log to one logfile, dropping build log
      sbuild: Generate source package prior to real build
      debian: Close #612324
      sbuild: Use Dpkg::Control in place of parse_file
      Sbuild: Implement dsc_files in terms of Dpkg::Control and Dpkg::Checksums
      sbuild: Remove obsolete and unused SBUILD-FINISHED logic
      Sbuild: Replace built in version comparison with Dpkg::Version
      Sbuild::Build: Set HOME to /sbuild-nonexistent in the chroot
      Sbuild::Build: Use Dpkg::Version rather than regexes and split_version
      sbuild: Use Dpkg::Version in place of split_version
      Sbuild: drop unused split_version
      build: Install /var/lib/sbuild/build
      man: Update description of /var/lib/sbuild
      NEWS: Document /var/lib/sbuild/build
      debian: Document /var/lib/sbuild/build
      Sbuild::Chroot: Add ENV_FILTER to allow customisation of filter
      Sbuild::Conf: Add BUILD_ENVIRONMENT configuration key
      Sbuild::Conf: Note lack of filtering of build environment
      NEWS: Document $build_environment
      debian: Close #631595
      NEWS: Document log colouring for lintian and $log_colour
      debian: Document lintian log colouring and $log_colour
      debian: Document use of more Dpkg modules

-- 
  .''`.  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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110625/82440ba0/attachment.pgp>


More information about the Buildd-tools-devel mailing list