summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.cc
AgeCommit message (Expand)Author
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
2014-03-13warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies
2013-12-21make /etc/apt/preferences parser deal with comment only sectionsMichael Vogt
2013-08-08specific pins below 1000 cause downgradesDavid Kalnischkies
2012-10-13* apt-pkg/policy.cc:David Kalnischkies
2011-10-30merge with my debian-sid branchDavid Kalnischkies
2011-10-04* apt-pkg/policy.cc:David Kalnischkies
2011-09-13merge with debian/experimentalDavid Kalnischkies
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-08-15merged from the debian-sid branchMichael Vogt
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies