[Buildd-tools-devel] sbuild 0.57.3

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun May 11 11:29:58 UTC 2008


Hi folks,

I just released sbuild version 0.57.3.  This is just a bugfix release
and contains no new features.  It's tagged in git as sbuild-0.57.3.

Internally, Sbuild::Chroot has been converted to OO perl, so chroot
objects can be instantiated and destroyed.  This has several uses:
- we can reintroduce sudo support via another class that implements
  the same functionality (interface)
- multiple chroots can be used at the same time
- the code is rather simpler; there's no global state since it's all
  contained in the object

The next change I'm planning to to objectify the main sbuild code as
Sbuild::Build so all of the main:: namespace state is kept inside the
object.  This will allow the sbuild code to be reused in buildd
(currently there's a bunch of duplicated code).  This will again
reduce the amount of global state and make things much more
self-contained and maintainable.


Regards,
Roger


commit fc4d76072737d1b1fe2a561f35c41285776c3a64
Author: Roger Leigh <rleigh at debian.org>
Date:   Sun May 11 10:58:01 2008 +0100

    [NEWS] Update for 0.57.3

commit 7d660a72018eb82ae1f25ccc171a77171b59cf0d
Author: Roger Leigh <rleigh at debian.org>
Date:   Sun May 11 10:50:27 2008 +0100

    [debian] Finalise for 0.57.3.
    
    Closes: #479714.

commit 8a837f653a7c279454138a5bdd3d5ef1b00b433b
Author: Roger Leigh <rleigh at debian.org>
Date:   Sun May 11 10:35:15 2008 +0100

    [Sbuild::Chroot] Add directory argument to chroot _command functions
    
    This allows commands non needing to be run in the build directory to
    run if the build directory does not exist.
    sbuild no longer needs to chdir at any point.

commit fc34a567e6cc1b734d2d2ca918b9fe265b1efa3f
Author: Roger Leigh <rleigh at debian.org>
Date:   Sun May 4 09:32:37 2008 +0100

    [Sbuild::Chroot] Convert to object-oriented Perl
    
    * lib/Sbuild/Chroot.pm:
      - Add constructor and convert all functions to methods.
      - Remove all global variables.
    * lib/Sbuild/ChrootInfo.pm: New file; non-class functions from Chroot.pm.
    * lib/Sbuild/Utility.pm: Create and use a Chroot object.
    * bin/*: Create and use a Chroot object.  sbuild passes this to all
      functions using chroot functionality.

commit 79b01b95d9fbae7b0d023d4f0a41c801d2dad58a
Author: Roger Leigh <rleigh at debian.org>
Date:   Sun May 4 09:24:26 2008 +0100

    [utility] Call shutdown with signal name
    
    Needed to satisfy signal handler function prototype.

commit 28736396de60496f610f3b26d2ba8a3a72b39123
Author: Roger Leigh <rleigh at debian.org>
Date:   Sat May 3 18:08:36 2008 +0100

    [Sbuild::Conf] Use INIT block to save need to call init() by hand

commit b272e02437348bc2651b9d38ee0dc91bb0d3da59
Author: Roger Leigh <rleigh at debian.org>
Date:   Sat May 3 18:02:25 2008 +0100

    [Sbuild] Use same exporting style as other modules

commit 250ccf0cfced7c962d3f93cc8c00107f021f326d
Author: Roger Leigh <rleigh at debian.org>
Date:   Sat May 3 18:01:24 2008 +0100

    [build] Bump version to 0.57.3.


-- 
  .''`.  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: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080511/35b5b34b/attachment-0001.pgp 


More information about the Buildd-tools-devel mailing list