]> git.saurik.com Git - apt.git/commit
gpgv: cleanup statusfd parsing a bit
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 29 Apr 2016 08:08:13 +0000 (10:08 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sun, 1 May 2016 08:50:24 +0000 (10:50 +0200)
commit5419a6ce20967902102358a07632ae3688788d62
tree31410326b746c95cfbb2b035e37a9cf510d63deb
parentfb7b11ebb852fa255053ecab605bc9cfe9de0603
gpgv: cleanup statusfd parsing a bit

We parse the messages we receive into two big categories: Most of the
messages have a keyid as well as a userid and as they are errors we want
to show the userids as well. The other category is also errors, but have
no userid (like NO_PUBKEY). Explicitly expressing this in code should
make it a bit easier to look at and it also help in dropping additional
fields or just the newline at the end consistently.

Git-Dch: Ignore
methods/gpgv.cc
test/integration/test-apt-update-ims