summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.cc
AgeCommit message (Expand)Author
2020-02-18Merge branch 'pu/source-version' into 'master'Julian Andres Klode
2020-02-16Revert "Add a Packages-Require-Authorization Release file field"Julian Andres Klode
2020-02-16policy: Add SetPriority() methodsJulian Andres Klode
2020-01-17policy: Implement pinning by source packageJulian Andres Klode
2019-06-14policy: Get rid of Pins arrayJulian Andres Klode
2019-06-14policy: Remove GetMatch and GetPriority(pkgIterator)Julian Andres Klode
2019-02-01Add a Packages-Require-Authorization Release file fieldJulian Andres Klode
2019-02-01Introduce experimental 'never' pinning for sourcesJulian Andres Klode
2018-05-07Remove obsolete RCS keywordsGuillem Jover
2017-07-26show warnings instead of errors if files are unreadableDavid Kalnischkies
2017-07-26use FileFd to parse all apt configuration filesDavid Kalnischkies
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode
2017-07-12Drop cacheiterators.h includeJulian Andres Klode
2017-06-26avoid explicit types for pkg counts by autoDavid Kalnischkies
2016-08-29don't loop on pinning pkgs from absolute debs by regexDavid Kalnischkies
2016-06-29if conf unset, don't read / as conf/pref/sources dirDavid Kalnischkies
2016-05-20fail instead of segfault on unreadable config filesDavid Kalnischkies
2016-04-25policy: Remove TODO for replacing old GetCandidateVer()Julian Andres Klode
2016-04-25policy: Get rid of old (pre-1.1) GetCandidateVer algorithmJulian Andres Klode
2016-04-25restore pinning to min/max value of shortDavid Kalnischkies
2016-04-25give rc-status packages a pin of -1David Kalnischkies
2016-01-02properly parse comments in apt_preferences and deb822-style sourcesDavid Kalnischkies
2015-11-05apply various suggestions made by cppcheckDavid Kalnischkies
2015-11-04provide public interface to hold/unhold packagesDavid Kalnischkies
2015-09-14avoid using global PendingError to avoid failing too often too soonDavid Kalnischkies
2015-09-14implement autobit and pinning in EDSP solver 'apt'David Kalnischkies
2015-08-20Re-indent GetCandidateVerNew() and make ConsiderFiles argument explicitJulian Andres Klode
2015-08-17Fix all the wrong removals of includes that iwyu got wrongMichael Vogt
2015-08-17Cleanup includes after running iwyuMichael Vogt
2015-08-15Add GetPriority(VerIterator) to pkgDepCache::PolicyJulian Andres Klode
2015-08-13Deprecate SPtrArray<T> and convert everyone to unique_ptr<T[]>Julian Andres Klode
2015-08-12policy: Be more strict about parsing pin files, and document prio 0Julian Andres Klode
2015-08-12Add a parameter ConsiderFiles to GetPriority(VerIterator)Julian Andres Klode
2015-08-11Simply ignore cruft in the status files, do not treat it as prio 0Julian Andres Klode
2015-08-11Replace INT_MIN with std::numeric_limits<int>::minJulian Andres Klode
2015-08-10initialize PinVers to a nullptrDavid Kalnischkies
2015-08-10bring back deb822 sources.list entries as .sourcesDavid Kalnischkies
2015-08-10make all d-pointer * const pointersDavid Kalnischkies
2015-08-10policy: Fix the handling of config-files statesJulian Andres Klode
2015-08-10policy: Fix the new policy implementation to handle downgrades correctlyJulian Andres Klode
2015-08-10Determine the candidate based on per-version pins, instead of old codeJulian Andres Klode
2015-08-10policy: Return highest file pin if version pin == 0 in GetPriority()Julian Andres Klode
2015-08-10policy: Assign per-version pinsJulian Andres Klode
2015-08-10pkgPolicy: Introduce storage and helpers for per-version pinsJulian Andres Klode
2015-06-16add d-pointer, virtual destructors and de-inline de/constructorsDavid Kalnischkies
2015-06-12store Release files data in the CacheDavid Kalnischkies
2015-05-11remove unused and strange default-value for pinsDavid Kalnischkies
2015-05-11a pin of 1000 always means downgrade allowedDavid Kalnischkies
2014-03-13follow method attribute suggestions by gccDavid Kalnischkies
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies