summaryrefslogtreecommitdiff
path: root/cmdline/cacheset.cc
AgeCommit message (Collapse)Author
2010-07-04prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies
if DepCache is not available as fallback built the Policy
2010-07-03Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies
and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
2010-07-02add a ConstructedBy member to the PackageSet which can be used by theDavid Kalnischkies
e.g. FromString to tell the caller if the string was an exact match or found by regex or task. The two later ones can match packages for which we want to ignore failures in the VersionSet
2010-06-29if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies
one package provides it - if it is only one use this package instead
2010-06-29rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies
2010-06-28 - factor out code to get a single package FromName()David Kalnischkies
- check in Grouped* first without modifier interpretation
2010-06-26 - only print errors if all tries to get a package by string failedDavid Kalnischkies
*
2010-06-22Use an abstract helper for error handling and outputDavid Kalnischkies
instead of doing this directly in the CacheSets. With this method an application like apt-get can change the behavior of the CacheSets to his liking. It can for example easily keep track of how packages were added to the set: by names or with regex's…
2010-06-19get packages by task^ with FromTask()David Kalnischkies
2010-06-15* cmdline/cacheset.cc:David Kalnischkies
- doesn't include it in the library for now as it is too volatile