summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-06methods/gzip.cc: With FileFd now being able to read gzipped files, theremartin@piware.de
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.
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-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-21debian/changelog: it is an ABI break after allmartin@piware.de
2010-06-17test-indexes.sh: quiesce apt-get source; we know that we cannot verify ↵martin@piware.de
package signatures
2010-06-17test-indexes.sh: Also test compressed index mode with apt.conf.d filemartin@piware.de
2010-06-17test-indexes.sh: Just for paranoia, test that apt-cache is still working ↵martin@piware.de
after apt-get update with previously existing indexes
2010-06-17pkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file ↵martin@piware.de
in GzipIndexes mode, to avoid it being cleaned
2010-06-17test-indexes.sh: fix check_indexes call in compressed modemartin@piware.de
2010-06-17test-indexes.sh: Actually test for non/pre-existing indexes in compressed modemartin@piware.de
2010-06-17test-indexes: Use /etc/apt from temporary work dir, not from systemmartin@piware.de
2010-06-17test-indexes.sh: Refactor common code into functionsmartin@piware.de
2010-06-17test-indexes.sh: More verbose failures on wrong/missing indexesmartin@piware.de
2010-06-15test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first ↵martin@piware.de
failed apt-get update output
2010-06-11apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵martin@piware.de
indexes, to work with apt-get source as well
2010-06-11* apt-pkg/acquire-item.cc:martin@piware.de
- 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.
2010-06-11test-indexes.sh: Add source related tests, which uncovers two regressionsmartin@piware.de
2010-06-11changelog: clarify abi break, it's not externalmartin@piware.de
2010-06-11* configure.in:martin@piware.de
- Check for zlib library and headers.
2010-06-11* doc/po/apt-doc.pot, doc/po/de.po:martin@piware.de
- German translation of new Acquire::GzipIndexes option.
2010-06-11* doc/apt.conf.5.xml:martin@piware.de
- Document the new Acquire::GzipIndexes option.
2010-06-11Fix compressed index retrieval for current timestampsmartin@piware.de
Fix a thinko in r1973, which did the Acquire::GzipIndexes test ealier than the IMS-Hit test. This led to rename errors.
2010-06-11* debian/rules:martin@piware.de
- Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS.
2010-06-10* Add test/test-indexes.sh:martin@piware.de
- Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes.
2010-06-10mention abi break in changelogmartin@piware.de
2010-06-10* apt-pkg/acquire-item.cc:martin@piware.de
- 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.
2010-06-09* apt-pkg/deb/debindexfile.cc:martin@piware.de
- If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones.
2010-06-09* apt-pkg/contrib/fileutl.{h,cc}:martin@piware.de
- Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
2010-05-16Italian translation completedbubulle@debian.org
2010-05-15Italian translation update. Closes: #581742bubulle@debian.org
2010-05-11Slovak translation update. Closes: #581159bubulle@debian.org
2010-05-05* debian/rules:Michael Vogt
- install html doxygen in libapt-pkg-doc as well
2010-05-05* debian/rules:Michael Vogt
- install html doxygen in libapt-pkg-doc as well
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-04merge from the mvo branchMichael Vogt
2010-05-03* apt-pkg/indexfile.cc:Michael Vogt
- 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
2010-04-28apt-pkg/policy.cc: yet another cout -> clog fixMichael Vogt
2010-04-28* apt-pkg/depcache.cc:Michael Vogt
- fix incorrect std::cout usage for debug output
2010-04-28* [ Abi break ] apt-pkg/acquire-item.{cc,h}:Michael Vogt
- add "IsIndexFile" to constructor of pkgAcqFile so that it sends the right cache control headers
2010-04-14Remember hosts with general failures forMichael Vogt
https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831).
2010-03-26ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.Julian Andres Klode
2010-03-26* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- 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
2010-03-26* ftparchive/apt-ftparchive.cc:Julian Andres Klode
- Read default configuration (Closes: #383257)
2010-03-23French translation completedbubulle@debian.org
2010-03-21cmdline/apt-cache.cc: Change behavior of showsrc to match the one of show ↵Julian Andres Klode
(Closes: #512046).
2010-03-21* cmdline/apt-key:Julian Andres Klode
- Honor Apt::GPGV::TrustedKeyring (Closes: #316390)