summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-06FileFd(): Drop file name extension check in ReadOnlyGzip modemartin@piware.de
Drop the ".gz" extension check in FileFd::Open() in ReadOnlyGzip mode, to not depend on a particular file extension. This allows rewriting the gzip method using internal decompression (on ".decomp" files). This requires a zlib bug workaround in FileFd::Close(): When opening an empty file with gzdopen(), gzclose() fails with Z_BUF_ERROR. Do not count this as a failure.
2010-07-06wrap the mmap actions in the CacheGenerator in their own methods toDavid Kalnischkies
be able to react on condition changes later then we can move mmap
2010-07-05extends the ParseDepends testcase to have a look also at the WildcardsDavid Kalnischkies
2010-07-05merge with debian-experimental-maDavid Kalnischkies
2010-07-05fix typos and add a proper Closes tag after the unmerge in debbugsDavid Kalnischkies
2010-07-05Try to use NotEquals for the MultiArch Breaks dependencies instead ofDavid Kalnischkies
Less and Greater -> half the dependencies :)
2010-07-05make the specify order of packages irrelevant (half-close #196021)David Kalnischkies
2010-07-04clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies
instead of distributed in a few methods
2010-07-04* apt-pkg/policy.h:David Kalnischkies
- add another round of const& madness as the previous round accidently NOT override the virtual GetCandidateVer() method (Closes: #587725)
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-03reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies
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-29Fix the atomic replace.Julian Andres Klode
2010-06-29* apt-pkg/contrib/fileutl.cc:Julian Andres Klode
- Make FileFd replace files atomically in WriteTemp mode (for cache, etc).
2010-06-29for install, do all installs first and then the removes and vice versaDavid Kalnischkies
2010-06-29debian/control: Set Standards-Version to 3.9.0Julian Andres Klode
2010-06-28 - factor out code to get a single package FromName()David Kalnischkies
- check in Grouped* first without modifier interpretation
2010-06-28Also free regular expressions.Julian Andres Klode
2010-06-28Use _error->Warning() instead of writing to std::cerr.Julian Andres Klode
2010-06-28Remove debugging stuff, this was not meant to be here.Julian Andres Klode
2010-06-28Also support regular expressions and glob() patterns in "Pin: version".Julian Andres Klode
2010-06-28* apt-pkg/versionmatch.cc:Julian Andres Klode
- Support matching pins by regular expressions or glob() like patterns, regular expressions have to be put between to slashes; for example, /.*/.
2010-06-27deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode
2010-06-26apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode
Previously, linux-any was always matched, because the code simply appended linux- to the APT::Architecture value. Now, it does this only if the APT::Architecture value does not contain "-".
2010-06-26 - only print errors if all tries to get a package by string failedDavid Kalnischkies
*
2010-06-26debian/changelog: Fix a typoJulian Andres Klode
2010-06-26* apt-pkg/deb/deblistparser.cc:Julian Andres Klode
- Handle architecture wildcards (Closes: #547724).
2010-06-26always mark the all package if a pseudo package is marked for installDavid Kalnischkies
2010-06-26give the APT::Cache::Generate option her effect backDavid Kalnischkies
2010-06-26do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies
2010-06-26make the MMap Grow Error a fatal one as while in theory the code shouldDavid Kalnischkies
never segfault it still tend to do it so better show it directly
2010-06-26* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- show notice about ignored file instead of being always silent - add a Dir::Ignore-Files-Silently list option to control the notice *
2010-06-26 - use the new MatchAgainstConfig for the DefaultRootSetFuncDavid Kalnischkies
* apt-pkg/contrib/configuration.{cc,h}: - add a wrapper to match strings against configurable regex patterns
2010-06-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- show a deprecation notice for APT::Acquire::Translation
2010-06-25print all messages if the application is in an interactive runDavid Kalnischkies
2010-06-25add a simple stack handling to be able to delay error handlingDavid Kalnischkies
2010-06-25* apt-pkg/contrib/error.{cc,h}:David Kalnischkies
- complete rewrite but use the same API - add NOTICE and DEBUG as new types of a message
2010-06-24test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the ↵martin@piware.de
GzipIndexes option; not a big deal for now
2010-06-24apt-pkg/acquire-item.cc: Fix handling of local (file:/) sourcesmartin@piware.de
2010-06-24test-indexes.sh: Test handling of local file:// archivesmartin@piware.de
2010-06-24Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de
expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
2010-06-24methods/ftp.h: Handle different logins are on the same server (Closes: #586904).Julian Andres Klode
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-21debian/changelog: it is an ABI break after allmartin@piware.de
2010-06-19* cmdline/apt-get.cc:David Kalnischkies
- use the cachsets in the install commands
2010-06-19get packages by task^ with FromTask()David Kalnischkies
2010-06-19fix the gcc warning about the initialisation order of variables causedDavid Kalnischkies
by moving Policy to public again (and therefore after SrcList)