summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * apt-pkg/deb/debindexfile.cc:martin@piware.de2010-06-092-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.de2010-06-095-11/+55
| | | | - Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
* Italian translation completedbubulle@debian.org2010-05-161-5/+7
|
* Italian translation update. Closes: #581742bubulle@debian.org2010-05-152-2/+11
|
* Slovak translation update. Closes: #581159bubulle@debian.org2010-05-112-6/+17
|
* * debian/rules:Michael Vogt2010-05-054-2/+8
|\ | | | | - install html doxygen in libapt-pkg-doc as well
| * * debian/rules:Michael Vogt2010-05-054-2/+8
| | | | | | - install html doxygen in libapt-pkg-doc as well
* | * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-052-1/+4
|\| | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-052-1/+4
| | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
* | merge from the mvo branchMichael Vogt2010-05-047-6/+46
|\|
| * * apt-pkg/indexfile.cc:Michael Vogt2010-05-032-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 fixMichael Vogt2010-04-281-1/+1
| |
| * * apt-pkg/depcache.cc:Michael Vogt2010-04-282-2/+4
| | | | | | - fix incorrect std::cout usage for debug output
| * * [ Abi break ] apt-pkg/acquire-item.{cc,h}:Michael Vogt2010-04-283-3/+23
| | | | | | | | - add "IsIndexFile" to constructor of pkgAcqFile so that it sends the right cache control headers
| * Remember hosts with general failures forMichael Vogt2010-04-142-0/+7
| | | | | | | | https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831).
* | ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.Julian Andres Klode2010-03-261-0/+1
| |
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-266-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::pkgPackageManagerMichael Vogt2010-03-162-0/+6
| |
| * * apt-pkg/indexfile.cc:Michael Vogt2010-03-122-5/+15
| | | | | | - deal correctly with three letter langcodes (LP: #391409)
| * * cmdline/apt-get.cc:Michael Vogt2010-03-123-50/+58
| | | | | | | | - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641)
| * * cmdline/apt-mark:Michael Vogt2010-03-122-0/+6
| | | | | | | | - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler