[Kimchi-devel] [PATCH V2 0/2] Issue #662 - Display repo name without variables
Aline Manera
alinefm at linux.vnet.ibm.com
Thu Sep 10 15:05:03 UTC 2015
I forgot to say before, but as you are changing the JSON returned in the
API you need to update docs/API.md to reflect it.
On 09/09/2015 16:23, Jose Ricardo Ziviani wrote:
> 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(-)
>
More information about the Kimchi-devel
mailing list