Bug 1128135
| Summary: | [RFE] provide api for easy printing tables | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jmracek, jzeleny, packaging-team-maint, pnemade, tim.lauridsen |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-25 17:59:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1123886 | ||
|
Description
Igor Gnatenko
2014-08-08 11:26:59 UTC
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. |