Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | methods/gzip.cc: With FileFd now being able to read gzipped files, there | martin@piware.de | 2010-07-06 | 2 | -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 mode | martin@piware.de | 2010-07-06 | 1 | -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.de | 2010-06-24 | 1 | -1/+3 |
| | | | | GzipIndexes option; not a big deal for now | ||||
* | apt-pkg/acquire-item.cc: Fix handling of local (file:/) sources | martin@piware.de | 2010-06-24 | 1 | -1/+1 |
| | |||||
* | test-indexes.sh: Test handling of local file:// archives | martin@piware.de | 2010-06-24 | 1 | -3/+34 |
| | |||||
* | Switch FileFd to not transparently gunzip, since that breaks code which ↵ | martin@piware.de | 2010-06-24 | 8 | -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 all | martin@piware.de | 2010-06-21 | 1 | -2/+3 |
| | |||||
* | test-indexes.sh: quiesce apt-get source; we know that we cannot verify ↵ | martin@piware.de | 2010-06-17 | 1 | -1/+2 |
| | | | | package signatures | ||||
* | test-indexes.sh: Also test compressed index mode with apt.conf.d file | martin@piware.de | 2010-06-17 | 1 | -2/+27 |
| | |||||
* | test-indexes.sh: Just for paranoia, test that apt-cache is still working ↵ | martin@piware.de | 2010-06-17 | 1 | -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.de | 2010-06-17 | 1 | -2/+7 |
| | | | | in GzipIndexes mode, to avoid it being cleaned | ||||
* | test-indexes.sh: fix check_indexes call in compressed mode | martin@piware.de | 2010-06-17 | 1 | -2/+2 |
| | |||||
* | test-indexes.sh: Actually test for non/pre-existing indexes in compressed mode | martin@piware.de | 2010-06-17 | 1 | -3/+4 |
| | |||||
* | test-indexes: Use /etc/apt from temporary work dir, not from system | martin@piware.de | 2010-06-17 | 1 | -2/+8 |
| | |||||
* | test-indexes.sh: Refactor common code into functions | martin@piware.de | 2010-06-17 | 1 | -74/+81 |
| | |||||
* | test-indexes.sh: More verbose failures on wrong/missing indexes | martin@piware.de | 2010-06-17 | 1 | -25/+28 |
| | |||||
* | test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first ↵ | martin@piware.de | 2010-06-15 | 1 | -4/+7 |
| | | | | failed apt-get update output | ||||
* | apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵ | martin@piware.de | 2010-06-11 | 1 | -3/+7 |
| | | | | indexes, to work with apt-get source as well | ||||
* | * apt-pkg/acquire-item.cc: | martin@piware.de | 2010-06-11 | 2 | -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 regressions | martin@piware.de | 2010-06-11 | 1 | -2/+39 |
| | |||||
* | changelog: clarify abi break, it's not external | martin@piware.de | 2010-06-11 | 1 | -2/+2 |
| | |||||
* | * configure.in: | martin@piware.de | 2010-06-11 | 2 | -0/+6 |
| | | | - Check for zlib library and headers. | ||||
* | * doc/po/apt-doc.pot, doc/po/de.po: | martin@piware.de | 2010-06-11 | 3 | -240/+275 |
| | | | - German translation of new Acquire::GzipIndexes option. | ||||
* | * doc/apt.conf.5.xml: | martin@piware.de | 2010-06-11 | 2 | -0/+11 |
| | | | - Document the new Acquire::GzipIndexes option. | ||||
* | Fix compressed index retrieval for current timestamps | martin@piware.de | 2010-06-11 | 1 | -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.de | 2010-06-11 | 2 | -1/+4 |
| | | | | - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. | ||||
* | * Add test/test-indexes.sh: | martin@piware.de | 2010-06-10 | 2 | -0/+109 |
| | | | | - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. | ||||
* | mention abi break in changelog | martin@piware.de | 2010-06-10 | 1 | -0/+2 |
| | |||||
* | * apt-pkg/acquire-item.cc: | martin@piware.de | 2010-06-10 | 2 | -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. | ||||
* | * apt-pkg/deb/debindexfile.cc: | martin@piware.de | 2010-06-09 | 2 | -3/+22 |
| | | | | - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. | ||||
* | * apt-pkg/contrib/fileutl.{h,cc}: | martin@piware.de | 2010-06-09 | 5 | -11/+55 |
| | | | | - Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. | ||||
* | Italian translation completed | bubulle@debian.org | 2010-05-16 | 1 | -5/+7 |
| | |||||
* | Italian translation update. Closes: #581742 | bubulle@debian.org | 2010-05-15 | 2 | -2/+11 |
| | |||||
* | Slovak translation update. Closes: #581159 | bubulle@debian.org | 2010-05-11 | 2 | -6/+17 |
| | |||||
* | * debian/rules: | Michael Vogt | 2010-05-05 | 4 | -2/+8 |
|\ | | | | | - install html doxygen in libapt-pkg-doc as well | ||||
| * | * debian/rules: | Michael Vogt | 2010-05-05 | 4 | -2/+8 |
| | | | | | | - install html doxygen in libapt-pkg-doc as well | ||||
* | | * apt-pkg/deb/debrecords.cc: | Michael Vogt | 2010-05-05 | 2 | -1/+4 |
|\| | | | | | - fix max tag buffer size (LP: #545336, closes: #578959) | ||||
| * | * apt-pkg/deb/debrecords.cc: | Michael Vogt | 2010-05-05 | 2 | -1/+4 |
| | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959) | ||||
* | | merge from the mvo branch | Michael Vogt | 2010-05-04 | 7 | -6/+46 |
|\| | |||||
| * | * apt-pkg/indexfile.cc: | Michael Vogt | 2010-05-03 | 2 | -0/+7 |
| | | | | | | | | | | | | - If no "_" is found in the language code, try to find a "." This is required for languages like Esperanto that have no county associated with them (LP: #560956) Thanks to "Aisano" for the fix | ||||
| * | apt-pkg/policy.cc: yet another cout -> clog fix | Michael Vogt | 2010-04-28 | 1 | -1/+1 |
| | | |||||
| * | * apt-pkg/depcache.cc: | Michael Vogt | 2010-04-28 | 2 | -2/+4 |
| | | | | | | - fix incorrect std::cout usage for debug output | ||||
| * | * [ Abi break ] apt-pkg/acquire-item.{cc,h}: | Michael Vogt | 2010-04-28 | 3 | -3/+23 |
| | | | | | | | | - add "IsIndexFile" to constructor of pkgAcqFile so that it sends the right cache control headers | ||||
| * | Remember hosts with general failures for | Michael Vogt | 2010-04-14 | 2 | -0/+7 |
| | | | | | | | | https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831). | ||||
* | | ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h. | Julian Andres Klode | 2010-03-26 | 1 | -0/+1 |
| | | |||||
* | | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | 2010-03-26 | 6 | -5/+31 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option | ||||
| * | apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManager | Michael Vogt | 2010-03-16 | 2 | -0/+6 |
| | | |||||
| * | * apt-pkg/indexfile.cc: | Michael Vogt | 2010-03-12 | 2 | -5/+15 |
| | | | | | | - deal correctly with three letter langcodes (LP: #391409) | ||||
| * | * cmdline/apt-get.cc: | Michael Vogt | 2010-03-12 | 3 | -50/+58 |
| | | | | | | | | - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) | ||||
| * | * cmdline/apt-mark: | Michael Vogt | 2010-03-12 | 2 | -0/+6 |
| | | | | | | | | - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler |