I have used output.fmtKeyValue for copr plugin, but now it doesn't work. https://github.com/akozumpl/dnf-plugins-core/blob/master/plugins/copr.py#L138
Hi, Ales must decide what should go to API. I see 3 options: * make it API * copy it to pluginscore module - this function is too complex and long so I would not recommend that. * use it at own risk, just make sure that any string you pass into it is unicode AFAIK copr is the only plugin now that uses it. I would suggest go with choice 3 and when another plugin will need it, add it to dnf API.
Another option is for a plugin to handle it's own text output. The output module is part of the dnf cli, not the dnf backend api and plugins should not use that IMO.
We probably should provide some output API so the results are unified across plugins.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I think it doesn't have much sense to keep opened the bug report, because propose of the new API should be handled by pull request with explanation why it has to be approved. This is also mentioned as option in the firs point (make it API) of Comment 1. Hope that you understand that.