Skip to content
Snippets Groups Projects
Forked from APT Developers / apt
Source project has a limited visibility.
  • Julian Andres Klode's avatar
    a8352c28
    Add public phased update API · a8352c28
    Julian Andres Klode authored
    This moves the functions of the PhasedUpgrader class into
    various other classes so they can be publicly exposed.
    
    This introduces three new functions:
    
    pkgDepCache::PhasingApplied() tells you whether phasing should
    be applied to the package.
    
    pkgProblemResolver::KeepPhasedUpdates() keeps back updates that
    have phasing applied.
    
    pkgCache::VerIterator::IsSecurityUpdate() determines whether this
    version contains security fixes.
    a8352c28
    History
    Add public phased update API
    Julian Andres Klode authored
    This moves the functions of the PhasedUpgrader class into
    various other classes so they can be publicly exposed.
    
    This introduces three new functions:
    
    pkgDepCache::PhasingApplied() tells you whether phasing should
    be applied to the package.
    
    pkgProblemResolver::KeepPhasedUpdates() keeps back updates that
    have phasing applied.
    
    pkgCache::VerIterator::IsSecurityUpdate() determines whether this
    version contains security fixes.