summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/acquire-item.cc:Ben Finney2011-04-261-1/+1
| | | | | - apply fix for poorly worded 'locate file' error message from Ben Finney, thanks! (Closes: #623171)
* apt-pkg/acquire-item.cc: Only try to rename existing Release files (Closes: ↵Julian Andres Klode2011-04-161-1/+1
| | | | #622912)
* * apt-pkg/acquire-item.cc:Julian Andres Klode2011-04-081-0/+20
| | | - Use Release files even if they cannot be verified (LP: #704595)
* merged from lp:~donkult/apt/sidMichael Vogt2011-04-041-24/+0
|\
| * * apt-pkg/vendor.cc, apt-pkg/vendorlist.cc:David Kalnischkies2011-03-161-24/+0
| | | | | | - mark them as deprecated as they are unused
* | apt-pkg/acquire-item.cc: Use stat buffer if stat wasJulian Andres Klode2011-04-021-1/+1
|/ | | successful, not if it failed (Closes: #620546)
* apt-pkg/acquire-item.cc: add some more missing Fail-IgnoreMichael Vogt2011-03-141-4/+10
|
* apt-pkg/acquire-item.{cc,h}: mark InRelease with Fail-Ignore to ensure the ↵Michael Vogt2011-03-141-0/+15
| | | | mirror methods does not retry on each mirror
* * apt-pkg/acquire-item.cc:Michael Vogt2011-03-111-2/+2
| | | | - mark pkgAcqIndexTrans as Index-File to avoid asking the user to insert the CD on each apt-get update
* merged from lp:~donkult/apt/sidMichael Vogt2011-02-081-93/+310
|\
| * - download and use i18n/Index to choose which Translations to downloadDavid Kalnischkies2011-01-281-21/+197
| | | | | | | | * apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
| * - change the internal handling of Extensions in pkgAcqIndexDavid Kalnischkies2011-01-261-49/+65
| | | | | | | | | | - add a special uncompressed compression type to prefer those files * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero
| * - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies2011-01-201-5/+49
| | | | | | | | * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
| * * methods/rred.cc:David Kalnischkies2011-01-151-18/+1
|/ | | | | - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred
* Fix missing space after dot in a message from apt-pkgbubulle@debian.org2010-09-091-1/+1
| | | Translations unfuzzied. Thanks to Holger Wansing.
* * apt-pkg/acquire-item.cc:David Kalnischkies2010-09-091-6/+10
| | | - use also unsigned Release files again (Closes: #596189)
* * apt-pkg/acquire-item.cc:David Kalnischkies2010-08-211-3/+3
| | | | | | | - don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work in combination with the AddFd methods of our hashclasses Add also 2 testcases: one to test pdiffs in general and one to test the handling of compressed indexes.
* mark all "Hash Sum mismatch" strings as translateableDavid Kalnischkies2010-07-111-1/+1
|
* [ Martin Pitt ]David Kalnischkies2010-07-111-4/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * apt-pkg/acquire-item.cc: Fix handling of local (file:/) sourcesmartin@piware.de2010-06-241-1/+1
| |
| * Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-241-2/+2
| | | | | | | | 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
| * 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
| * * apt-pkg/acquire-item.cc:martin@piware.de2010-06-111-0/+2
| | | | | | | | | | - 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.
| * 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.
| * * apt-pkg/acquire-item.cc:martin@piware.de2010-06-101-1/+19
| | | | | | | | | | - 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.
* | sent Last-Modified header also for Translation filesDavid Kalnischkies2010-06-091-3/+10
| |
* | merged from lp:~donkult/apt/sidMichael Vogt2010-06-091-6/+21
|\ \
| * \ - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies2010-06-091-1/+13
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
| | * | enhance the Valid-Until code a bit by using the correct RFC1123StrToTimeDavid Kalnischkies2010-06-081-7/+9
| | | | | | | | | | | | | | | | method and allow for better translations of the error messages
| | * | * apt-pkg/indexrecords.cc:David Kalnischkies2010-06-081-1/+11
| | | | | | | | | | | | | | | | | | | | - backport forgotten Valid-Until patch from the obsolete experimental branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897)
| * | | * apt-pkg/indexrecords.{cc,h}:David Kalnischkies2010-05-291-5/+8
| |/ / | | | | | | | | | | | | - add a constant Exists check for MetaKeys * apt-pkg/acquire-item.cc: - do not try PDiff if it is not listed in the Meta file
* | | merge lp:~mvo/apt/ubuntu-mirror-method-improvementsMichael Vogt2010-06-091-0/+7
|\ \ \
| * | | implement Fail-Ignore bool in FetchItem that tells the method that a failure ↵Michael Vogt2010-06-021-0/+7
| | | | | | | | | | | | | | | | of this item is ok and does not need to be tried on all mirrors
* | | | * merge the remaining Ubuntu change:Michael Vogt2010-06-091-43/+95
|\| | | | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
| * | merged from the mvo branchMichael Vogt2010-02-171-13/+49
| |\ \
| * \ \ merged from debianMichael Vogt2009-09-231-30/+35
| |\ \ \
| * \ \ \ merged from debianMichael Vogt2009-07-301-62/+40
| |\ \ \ \
| * \ \ \ \ merged from debian-sidMichael Vogt2008-11-241-9/+27
| |\ \ \ \ \
| * \ \ \ \ \ * apt-pkg/acquire-item.cc:Michael Vogt2008-04-221-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | - fix signaure removal on transient network failures (thanks to Scott James Remnant)
| | * | | | | | apt-pkg/acquire-item.cc: fix breaking on unreachable networksMichael Vogt2008-04-221-1/+1
| | | | | | | |
| * | | | | | | merged from apt-authentication-reliabilityMichael Vogt2008-02-041-0/+1
| |\| | | | | |
| | * | | | | | add APT::Update::Auth-Failure scriptMichael Vogt2008-02-041-0/+1
| | | | | | | |
| * | | | | | | * Merged apt-authentication-reliabilty branch. This meansMichael Vogt2008-01-161-37/+37
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that apt will refuse to update and use the old lists if the authentication of a repository that used to be authenticated fails. See https://wiki.ubuntu.com/AptAuthenticationReliability for more details.
| | * | | | | | * test/authReliability/sources.list.good:Michael Vogt2008-01-021-1/+5
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing file to make the tests work again * apt-pkg/acquire-item.cc: - fix I-M-S hits with file:// uris * test/pre-upload-check.py: - better error messages - use "apt-get" by default (instead of ../bin/apt-get)
| | | * | | | | | test/authReliability/sources.list.good:Michael Vogt2008-01-021-0/+4
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing file to make the test/pre-upload-check.py work again apt-pkg/acquire-item.cc: - fix auth-reliable code when file:// uris are used test/pre-upload-check.py: - use the standard apt, not "../bin/apt-get" by default - make the error messages more useful on test-failure
| | * | | | | | implement AptAuthenticationReliabtlity specMichael Vogt2007-12-211-42/+37
| | | | | | | |
| * | | | | | | * apt-pkg/acquire-item.{cc,h}:Michael Vogt2007-12-071-6/+15
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make the authentication download code more robust against servers/proxies with broken If-Range implementations
| * | | | | | | merge with the debian treeMichael Vogt2007-11-281-1/+1
| |\ \ \ \ \ \ \
| * | | | | | | | * apt-pkg/acquire-item.ccMichael Vogt2007-10-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - fix disappearing local Packages.gz file (LP: #131166)
| * | | | | | | | apt-pkg/acquire-item.cc:Michael Vogt2007-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cherry pick from --mvo