[Buildd-tools-devel] sbuild 0.57.4 released

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Jul 6 12:02:22 UTC 2008


Hi folks,

sbuild 0.57.4 has been tagged in git (sbuild-0.57.4), and also
uploaded to unstable.

This release contains quite a number of internal changes, mostly
refactoring of the main build code.  This has been split out of sbuild
into the Sbuild::Build module.  This module is a perl object, and an
instance of this is created for each package build.  Doing this has
cleaned up the code quite significantly--all of the package build
state is kept in the object, instead of global variables, and this
also saves passing around duplicate information all over the place
(often in subtly different forms).

This step also lays the groundwork for running sbuild code directly
within buildd (well into the future), rather than invoking sbuild.  It
can now just use the perl module.  This is needed for buildd to work
nicely with schroot.

Options parsing has also been split out into a separate object,
Sbuild::Options, again to remove the use of globals and allow reuse in
buildd in the future.

Now this major refactoring is complete, there's still work needed on
cleaning up the dependency code to fix all those bugs in the BTS!


Regards,
Roger


Niko Tyni (1):
      [Sbuild::Build] Correctly handle versioned provides

Roger Leigh (74):
      [sbuild] All functions take self argument
      [sbuild] Replace $main::distribution
      [sbuild] Replace $main::current_session
      [sbuild] Remove $session (1)
      [sbuild] Remove $session (2)
      [sbuild] Build object creation and initialisation separated into function
      [sbuild] Move global statements into main function
      [sbuild] Replace $main::arch
      [sbuild] Replace $main::user_arch
      [sbuild] Replace $main::batchmode
      [sbuild] Replace $main::auto_giveback*
      [sbuild] Remove $main::cwd
      [sbuild] Remove $main::nolog
      [sbuild] Replace $main::username
      [sbuild] Replace $main::verbose
      [sbuild] Replace $main::build_arch_all and $main::build_source
      [sbuild] Remove redundant main:: namespace usage
      [sbuild] Replace $main::jobs_file
      [Sbuild::Conf] Move lock timeout settings from being hardcoded in sbuild
      [sbuild] Replace $main::chroot*
      [sbuild] Replace $main::srcdep_lock*
      [sbuild] Replace $main::ilock_file
      [sbuild] Replace $main::pkg*
      [sbuild] Replace $main::this_space
      [sbuild] Replace @main::toolchain_pkgs
      [sbuild] Replace $main::override_distribution
      [sbuild] Replace $main::sub_task
      [sbuild] Replace $main::additional_deps
      [sbuild] Replace $main::binNMU*
      [sbuild] Replace $main::build_start_time
      [sbuild] Replace %main::changes
      [sbuild] Replace $main::database
      [sbuild] Replace $main::deps
      [sbuild] Replace $main::dpkg_buildpackage_signopt
      [sbuild] Replace $main::have_dsc_build_deps
      [sbuild] Replace $main::ld_library_path
      [sbuild] Remove @main::manual_srcdeps
      [sbuild] Replace $main::sub_pid and remove $main::shutdown in dump code
      [sbuild] Replace $main::pkg_fail_stage and $main::useSNAP
      [sbuild] Replace %main::this_watches
      [Sbuild::Conf] Move $stats_dir from sbuild
      [sbuild] build_new: Initialise 'GCC Snapshot' as integer, not array
      [Sbuild] Move copy() from sbuild
      [sbuild] Move shutdown() to end of file
      [TODO] Are build and package start times the same?
      [Sbuild] copy() does not need a self argument
      [Sbuild::Chroot] Don't export new
      [sbuild] Convert build hash into Sbuild::Build class
      [Sbuild::Build] Move Sbuild::Build from sbuild
      [TODO] Note logging issues
      Merge branch 'master' into build-object
      [sbuild] Split options parsing into separate function
      [Sbuild::Build] Pass arrays as references where needed
      [Sbuild] Prototype copy()
      [Sbuild::Chroot*] Use schroot "Session Purged" flag in place of "Session Cloned".
      [sbuild::Build] Path and filenames don't include epochs in version numbers
      [Sbuild::Options] New class to parse sbuild options
      [build] Bump version to 0.57.4
      [man] Replace buildd.chroot with sbuild-createchroot
      [README] Use new script names
      Merge branch 'master' into options-object
      [NEWS] Bump version to 0.57.4
      Merge branch 'master' into options-object
      [Sbuild::Build] Store DSC, package and version information in class
      [Sbuild::Build] open_pkg_log and close_pkg_log take no arguments
      [Sbuild::Build] fetch_source_files and build take no arguments
      [Sbuild::Build] analyze_fail_stage, install_deps, append_to_FINISHED and should_skip take no arguments
      [build] Distribute lib/Sbuild/Options.pm
      [Build] Correct use of DSC Base
      [Sbuild::Build] Unify package metadata handling
      [Sbuild::Build] Add additional uses of build metadata
      [debian] Close bugs for release
      [debian] Update to Standards Version 3.8.0.
      [Sbuild::Build] Add missing bracket

-- 
  .''`.  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: 196 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080706/254497b4/attachment.pgp 


More information about the Buildd-tools-devel mailing list