]> git.saurik.com Git - apt.git/commit - test/integration/test-sourceslist-trusted-options
trusted=yes sources are secure, we just don't know why
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 13 Oct 2014 06:12:06 +0000 (08:12 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 13 Oct 2014 09:29:46 +0000 (11:29 +0200)
commit07cb47e71f4de7e3c57f9dcfbfb82e4e5566aed6
tree2a37a6e25fb33737919a222e8cd47257600f45b5
parent862bafea48af2ceaf96345db237b461307a021f6
trusted=yes sources are secure, we just don't know why

Do not require a special flag to be present to update trusted=yes
sources as this flag in the sources.list is obviously special enough.

Note that this is just disabling the error message, the user will still
be warned about all the (possible) failures the repository generated, it
is just triggering the acceptance of the warnings on a source-by-source
level.

Similarily, the trusted=no flag doesn't require the user to pass
additional flags to update, if the repository looks fine in the view of
apt it will update just fine. The unauthenticated warnings will "just" be
presented then the data is used.

In case you wonder: Both was the behavior in previous versions, too.
apt-pkg/acquire-item.cc
apt-pkg/deb/debmetaindex.cc
apt-pkg/indexrecords.cc
apt-pkg/indexrecords.h
test/integration/framework
test/integration/test-sourceslist-trusted-options [new file with mode: 0755]