akozumpl/dnf — pull request #143 by rholy (2014-07-21 12:42:33+00:00)
Title: Add "updateinfo" command. (RhBug:850912)

Please note that https://github.com/akozumpl/hawkey/pull/64 is required for proper non-ASCII chars handling.

For the record:
- ```updateinfo info``` does not display information that is not accessible through libsolv.
- advisories may be sorted differently -- it was easier to implement
- the output formatting may be slightly different (I would say better/fixed) -- it was easier to implement
- output of any sub-commands is affected by ``--exclude`` (in YUM, it affects only ```updateinfo updates```) -- it was easier to implement
- ```enhancement``` and friends are recognized at any ```...``` position (not only at the first position like in YUM) -- it allows to filter by multiple advisory types at once
- advisory IDs and package names are also matched against ```enhancement``` and friends -- I think it makes the command more consistent
- advisory reference IDs are not matched
None of these properties are described in YUM man pages.

```updateinfo [bugzillas|cves]``` are not supported yet, because they only affect ```updateinfo list``` and they make the output very different -- I think it would be better to add a new sub-command for it
```updateinfo [severity|recommended|new-packages]``` are not supported yet, because the are not supported on the Hawkey level.