[buildd-tools-devel] [GIT] sbuild branch, master, updated. debian/sbuild-0.61.0-1-111-gcca8c8f

Roger Leigh rleigh at alioth.debian.org
Thu Mar 10 12:46:24 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "sbuild".

The branch, master has been updated
       via  cca8c8fa2483bcd2bdb9b040b0fc94231e7d0e50 (commit)
       via  1d48ef90bd8c51ee41aa0bb803065fc56c1f812f (commit)
       via  e206f9620435f2a18bad2464a7d904c649a42cde (commit)
      from  fe05ff0952d19bee8e9eac601eece95772fcc2dc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cca8c8fa2483bcd2bdb9b040b0fc94231e7d0e50
Author: Roger Leigh <rleigh at debian.org>
Date:   Thu Mar 10 12:45:50 2011 +0000

    debian: Document signal handling

commit 1d48ef90bd8c51ee41aa0bb803065fc56c1f812f
Author: Roger Leigh <rleigh at debian.org>
Date:   Thu Mar 10 12:45:38 2011 +0000

    NEWS: Document signal handling

commit e206f9620435f2a18bad2464a7d904c649a42cde
Author: Roger Leigh <rleigh at debian.org>
Date:   Thu Mar 10 12:39:24 2011 +0000

    sbuild: Add safe signal handling
    
    Remove all cleanup logic from the shutdown signal handler.  The
    handler now just calls the abort method on the Build object, which
    sets an ABORT variable containing the reason for aborting.  The build
    sequence calls the check_abort method to poll for an ABORT request at
    frequent intervals (before every long running job, and for each log
    line printed when dpkg-buildpackage is being run.
    
    The normal cleanup and shutdown logic is used on trapping a signal,
    so the chroot should always be left clean.  Once exception is if hitting
    C-c from a shell, which may cause SIGINT to be sent to all processes in
    the process group when apt-get or aptitude are part way through
    installing packages.  This may or may not result in a bad package state
    inside the chroot (but is more reliable than the existing method).
    Signals may now also be received multiple times, leading to multiple
    ABORT requests, but not premature program termination.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                |    5 +++
 bin/sbuild          |   80 ++++----------------------------------------------
 debian/changelog    |    4 ++
 lib/Sbuild/Build.pm |   67 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 83 insertions(+), 73 deletions(-)


hooks/post-receive
-- 
sbuild



More information about the Buildd-tools-devel mailing list