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

Jose Ricardo Ziviani joserz at linux.vnet.ibm.com
Wed Sep 9 19:23:06 UTC 2015


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 (2):
  Implement a method to display the repo name expanding variables
  Display the expanded repo name instead of variables

 src/kimchi/repositories.py |  4 ++++
 src/kimchi/yumparser.py    | 60 +++++++++++++++++++++++++++++++++++++++++++++-
 ui/js/src/kimchi.host.js   |  2 +-
 3 files changed, 64 insertions(+), 2 deletions(-)

-- 
1.9.1




More information about the Kimchi-devel mailing list