]> git.saurik.com Git - apt.git/commit - test/integration/test-bug-595691-empty-and-broken-archive-files
show URI.Path in all acquire item descriptions
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Jun 2015 08:56:31 +0000 (10:56 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Jun 2015 08:56:31 +0000 (10:56 +0200)
commit1da3b7b8e15b642135b54684e70a0c271471f07a
tree9bbe83f2aabd1e271fd2401d800dd66a50c03428
parent261727f05ca7ff7d9d6d9b8927cb5c6ad293ebce
show URI.Path in all acquire item descriptions

It is a rather strange sight that index items use SiteOnly which strips
the Path, while e.g. deb files are downloaded with NoUserPassword which
does not. Important to note here is that for the file transport Path is
pretty important as there is no Host which would be displayed by Site,
which always resulted in "interesting" unspecific errors for "file:".

Adding a 'middle' ground between the two which does show the Path but
potentially modifies it (it strips a pending / at the end if existing)
solves this "file:" issue, syncs the output and in the end helps to
identify which file is meant exactly in progress output and co as a
single site can have multiple repositories in different paths.
17 files changed:
apt-pkg/contrib/strutl.cc
apt-pkg/contrib/strutl.h
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debmetaindex.cc
test/integration/test-apt-cache
test/integration/test-apt-cli-show
test/integration/test-apt-get-update-unauth-warning
test/integration/test-apt-translation-has-no-packages
test/integration/test-apt-update-nofallback
test/integration/test-apt-update-rollback
test/integration/test-bug-543966-downgrade-below-1000-pin
test/integration/test-bug-595691-empty-and-broken-archive-files
test/integration/test-cve-2013-1051-InRelease-parsing
test/integration/test-policy-pinning
test/integration/test-releasefile-verification
test/integration/test-ubuntu-bug-1098738-apt-get-source-md5sum
test/libapt/uri_test.cc