[Kimchi-devel] [PATCH V3 0/3] Issue #662 - Display repo name without variables

Jose Ricardo Ziviani joserz at linux.vnet.ibm.com
Thu Sep 10 15:59:14 UTC 2015


V3:
 - add the new field in docs/API.md.
V2:
 - get releasever from rpm api instead of command line.

This patch expands the repo name of all YUM repos to values if any known
variable is found in it.

For example:
Fedora $releasever - $basearch
will (based on the running system) be displayed:
Fedora 21 - x86_64

Note: this is only an user experience improvement for the host tab. If
user decides to edit the repo, the original variables will be displayed.

Jose Ricardo Ziviani (3):
  Implement a method to display the repo name expanding variables
  Display the expanded repo name instead of variables
  Adds the new display_repo_name field in the JSON API

 docs/API.md                |  2 ++
 src/kimchi/repositories.py |  4 ++++
 src/kimchi/yumparser.py    | 60 +++++++++++++++++++++++++++++++++++++++++++++-
 ui/js/src/kimchi.host.js   |  2 +-
 4 files changed, 66 insertions(+), 2 deletions(-)

-- 
1.9.1




More information about the Kimchi-devel mailing list