]> git.saurik.com Git - apt.git/commit
suggest transport-packages based on established namescheme
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 1 Aug 2016 15:52:55 +0000 (17:52 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 21:19:44 +0000 (23:19 +0200)
commitd0ef571416e1ff6266c89e6285898d269768cf8f
tree3d86a515a2b909ca5683bd28dcec5bdca47dd34d
parentd415fc795a69d6a5039964e88f97561183d6ab44
suggest transport-packages based on established namescheme

apt-transports not shipped in apt directly are usually named
apt-transport-% with % being what is in the name of the transport.
tor additional introduced aliases via %+something, which isn't a bad
idea, so be strip the +something part from the method name before
suggesting the installation of an apt-transport-% package.

This avoids us the maintainance of a list of existing transports
creating a two class system of known and unknown transports which would
be quite arbitrary and is unfriendly to backports.
apt-pkg/acquire-worker.cc