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

Jose Ricardo Ziviani joserz at linux.vnet.ibm.com
Fri Sep 4 16:20:23 UTC 2015


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    | 47 +++++++++++++++++++++++++++++++++++++++++++++-
 ui/js/src/kimchi.host.js   |  2 +-
 3 files changed, 51 insertions(+), 2 deletions(-)

-- 
1.9.1




More information about the Kimchi-devel mailing list