[buildd-tools-devel] [GIT] sbuild branch, master, updated. debian/sbuild-0.60.8-1-13-g27175af

Roger Leigh rleigh at alioth.debian.org
Mon Jan 3 21:23:43 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  27175af08d84de246b6a572615f2998feb734d0c (commit)
       via  dbf152d502e4816eac1ff4ffd2ead9b93e05e40c (commit)
       via  a47aa6af592d340603c401c9e7dd16ebb0e48ccd (commit)
       via  74cbd18e1fa7e2efb89937d46248a9bbc3b87e36 (commit)
      from  b57b76d1a835e9a01b826de43c7022cb1ab21690 (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 27175af08d84de246b6a572615f2998feb734d0c
Author: Roger Leigh <rleigh at debian.org>
Date:   Mon Jan 3 21:19:29 2011 +0000

    debian: Close #608789

commit dbf152d502e4816eac1ff4ffd2ead9b93e05e40c
Author: Modestas Vainius <modax at debian.org>
Date:   Mon Jan 3 02:29:50 2011 +0200

    AptitudeResolver: define a custom SolutionCost.
    
    aptitude 0.6.2 release replaced resolver tiers with resolver costs. sbuild
    AptitudeResolver used to rely on resolver tiers to deliver the following
    behaviour:
    
    1) Install non-default versions only if there is no solution among default (aka
    candidate) package versions.
    2) Solution should contain versions from sources with the highest possible
    priority (when pulling from non-default versions).
    
    While default SolutionCost (i.e. "safety, priority") configuration is supposed
    to deliver this, it's apparently not enough. In particular:
    
    1) "priority" cost component is broken in aptitude releases up to 0.6.3-3.2
    (see #608786). It does not prioritize non-default versions by their
    pin-priorities.  However, thanks to Non-Default-Level safety level, the issue
    does not affect configurations which have apt sources at two (one default and
    one non-default) or fewer pin priorities. As a result, standard buildd
    configurations (unstable, experimental, backports) are not affected by this
    bug.
    
    2) Once Non-Default safety level is breached, it is hard to guess what set of
    non-default versions the solution will produce (it will be based on the "score"
    criteria that is not easily predictable). Yet requirements are pretty clear: we
    want as few non-default versions as possible. Fortunately, we can tell aptitude
    that.
    
    So sbuild custom SolutionCost achieves the following:
    
    1) it gets the safest solution (tries only default versions first, then a mix of
    default and non-default versions),
    2) installs versions from the highest possible pin-priority source,
    3) installs as few non-default versions as possible,
    4) and finally picks a solution with the best score.
    
    See /usr/share/doc/aptitude/html/en/ch02s03s04.html (aptitude-doc-en package)
    for more information on aptitude resolver cost calculation.
    
    Signed-off-by: Modestas Vainius <modax at debian.org>
    Signed-off-by: Roger Leigh <rleigh at debian.org>

commit a47aa6af592d340603c401c9e7dd16ebb0e48ccd
Author: Roger Leigh <rleigh at debian.org>
Date:   Mon Jan 3 21:06:00 2011 +0000

    debian: Close #608659

commit 74cbd18e1fa7e2efb89937d46248a9bbc3b87e36
Author: Modestas Vainius <modax at debian.org>
Date:   Sun Jan 2 15:28:18 2011 +0200

    Do not filter out environment variables starting with DEBIAN_ by default.
    
    Notably, the fix enables export of DEBIAN_FRONTEND=noninteractive in the build
    environment.
    
    Signed-off-by: Modestas Vainius <modax at debian.org>
    Signed-off-by: Roger Leigh <rleigh at debian.org>

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

Summary of changes:
 debian/changelog               |    7 ++++++-
 lib/Sbuild/AptitudeResolver.pm |    1 +
 lib/Sbuild/Conf.pm             |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
sbuild



More information about the Buildd-tools-devel mailing list