summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure also the replacement before remove by adding Immediate flagDavid Kalnischkies2010-07-295-16/+106
|
* * apt-pkg/orderlist.cc:David Kalnischkies2010-07-285-2/+271
| | | | - try to install another or-group member in DepRemove before breaking the or group (Closes: #590438)
* auto-install Packages and status file of the testcaseDavid Kalnischkies2010-07-281-2/+14
|
* - show in (r)depends the canidate per default instead of newestDavid Kalnischkies2010-07-262-148/+67
| | | - share the (r)depends code instead of codecopy
* - add a 'newest' pseudo target release as in pkg/newestDavid Kalnischkies2010-07-262-2/+9
| | | *
* add APT::Cache::ShowOnlyFirstOr option to print only the firstDavid Kalnischkies2010-07-261-2/+10
| | | | alternative in the apt-cache (r)depends commands
* Strip the .sh extension from the libapt testrunner andDavid Kalnischkies2010-07-251-5/+6
| | | | make it a bit more robust against calling from outside
* - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)David Kalnischkies2010-07-254-2/+233
| | | | * test/integration/*: - add with bug#590041 testcase a small test "framework"
* * apt-pkg/pkgcache.cc:David Kalnischkies2010-07-253-6/+13
| | | - prefer non-virtual packages in FindPreferredPkg
* * apt-pkg/cacheset.cc:David Kalnischkies2010-07-177-10/+10
| | | - move them back to the library as they look stable now
* factor regex package name matches into newly created cachefilter classesDavid Kalnischkies2010-07-174-15/+91
|
* * cmdline/apt-cache.cc:David Kalnischkies2010-07-163-15/+78
| | | - be able to omit dependency types in (r)depends (Closes: #319006)
* * apt-pkg/depcache.cc:David Kalnischkies2010-07-142-4/+12
| | | - handle "circular" conflicts for "all" packages correctly
* merged from lp:~donkult/apt/sidMichael Vogt2010-07-1233-2056/+2884
|\
| * accidently prefilling the vectors results in segfaultsDavid Kalnischkies2010-07-111-1/+1
| |
| * * methods/bzip2.cc:David Kalnischkies2010-07-113-10/+191
| | | | | | - add a copycat of the old gzip.cc as we need it for bzip2 and lzma
| * mark all "Hash Sum mismatch" strings as translateableDavid Kalnischkies2010-07-111-1/+1
| |
| * rename ReOwn to ReMap in the cacheiteratorsDavid Kalnischkies2010-07-112-9/+9
| |
| * fix typo preventing display of architecture in Info()David Kalnischkies2010-07-112-1/+2
| |
| * * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2010-07-115-7/+21
| | | | | | - do not query each architecture for flat file archives
| * [ Martin Pitt ]David Kalnischkies2010-07-1125-2021/+2645
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
| | * methods/gzip.cc: With FileFd now being able to read gzipped files, theremartin@piware.de2010-07-062-56/+11
| | | | | | | | | | | | | | | is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
| | * FileFd(): Drop file name extension check in ReadOnlyGzip modemartin@piware.de2010-07-061-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the ↵martin@piware.de2010-06-241-1/+3
| | | | | | | | | | | | GzipIndexes option; not a big deal for now
| | * apt-pkg/acquire-item.cc: Fix handling of local (file:/) sourcesmartin@piware.de2010-06-241-1/+1
| | |
| | * test-indexes.sh: Test handling of local file:// archivesmartin@piware.de2010-06-241-3/+34
| | |
| | * Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-248-17/+25
| | | | | | | | | | | | 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
| | * debian/changelog: it is an ABI break after allmartin@piware.de2010-06-211-2/+3
| | |
| | * test-indexes.sh: quiesce apt-get source; we know that we cannot verify ↵martin@piware.de2010-06-171-1/+2
| | | | | | | | | | | | package signatures
| | * test-indexes.sh: Also test compressed index mode with apt.conf.d filemartin@piware.de2010-06-171-2/+27
| | |
| | * test-indexes.sh: Just for paranoia, test that apt-cache is still working ↵martin@piware.de2010-06-171-0/+4
| | | | | | | | | | | | after apt-get update with previously existing indexes
| | * pkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file ↵martin@piware.de2010-06-171-2/+7
| | | | | | | | | | | | in GzipIndexes mode, to avoid it being cleaned
| | * test-indexes.sh: fix check_indexes call in compressed modemartin@piware.de2010-06-171-2/+2
| | |
| | * test-indexes.sh: Actually test for non/pre-existing indexes in compressed modemartin@piware.de2010-06-171-3/+4
| | |
| | * test-indexes: Use /etc/apt from temporary work dir, not from systemmartin@piware.de2010-06-171-2/+8
| | |
| | * test-indexes.sh: Refactor common code into functionsmartin@piware.de2010-06-171-74/+81
| | |
| | * test-indexes.sh: More verbose failures on wrong/missing indexesmartin@piware.de2010-06-171-25/+28
| | |
| | * test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first ↵martin@piware.de2010-06-151-4/+7
| | | | | | | | | | | | failed apt-get update output
| | * apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵martin@piware.de2010-06-111-3/+7
| | | | | | | | | | | | indexes, to work with apt-get source as well
| | * * apt-pkg/acquire-item.cc:martin@piware.de2010-06-112-0/+6
| | | | | | | | | | | | | | | - Fix return value of pkgAcqFile::Custom600Headers() in the non-index case, to avoid returning NULL and causing crashers in callers. This also fixes a compiler warning.
| | * test-indexes.sh: Add source related tests, which uncovers two regressionsmartin@piware.de2010-06-111-2/+39
| | |
| | * changelog: clarify abi break, it's not externalmartin@piware.de2010-06-111-2/+2
| | |
| | * * configure.in:martin@piware.de2010-06-112-0/+6
| | | | | | | | | - Check for zlib library and headers.
| | * * doc/po/apt-doc.pot, doc/po/de.po:martin@piware.de2010-06-113-240/+275
| | | | | | | | | - German translation of new Acquire::GzipIndexes option.
| | * * doc/apt.conf.5.xml:martin@piware.de2010-06-112-0/+11
| | | | | | | | | - Document the new Acquire::GzipIndexes option.
| | * Fix compressed index retrieval for current timestampsmartin@piware.de2010-06-111-17/+16
| | | | | | | | | | | | | | | Fix a thinko in r1973, which did the Acquire::GzipIndexes test ealier than the IMS-Hit test. This led to rename errors.
| | * * debian/rules:martin@piware.de2010-06-112-1/+4
| | | | | | | | | | | | - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS.
| | * * Add test/test-indexes.sh:martin@piware.de2010-06-102-0/+109
| | | | | | | | | | | | - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes.
| | * mention abi break in changelogmartin@piware.de2010-06-101-0/+2
| | |
| | * * apt-pkg/acquire-item.cc:martin@piware.de2010-06-102-1/+23
| | | | | | | | | | | | | | | - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it.