]> git.saurik.com Git - apt.git/commit - test/integration/test-bug-722207-print-uris-even-if-very-quiet
use pkgAcqArchive in 'download' for proper errors
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 3 Oct 2013 13:11:21 +0000 (15:11 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 3 Oct 2013 13:11:21 +0000 (15:11 +0200)
commitd57f6084aaa3972073114973d149ea2291b36682
tree774dbdb94391386bb809593ef7cb44ae5b0e8462
parent866893a619e00966ae6b1549c4bfce92d6c17db1
use pkgAcqArchive in 'download' for proper errors

With a bit of trickery we can reuse the usual infrastructure we have in
place to acquire deb files for the 'download' operation as well, which
gains us authentification check & display, error messages, correct
filenames and "downloads" from the root-owned archives.
apt-pkg/acquire-item.cc
cmdline/apt-get.cc
test/integration/test-apt-get-download
test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted
test/integration/test-bug-722207-print-uris-even-if-very-quiet