[libvirt] [jenkins-ci PATCH] guests: Fix os_version for development branches

Daniel P. Berrangé berrange at redhat.com
Tue Jun 5 10:35:12 UTC 2018


On Wed, May 09, 2018 at 03:50:28PM +0200, Andrea Bolognani wrote:
> We currently know about three development branches: Fedora
> Rawhide, Debian sid and FreeBSD -CURRENT.
> 
> For all three, we use the name of the development branch in
> the guest name; however, the value of os_version is not set
> consistently, making it awkward to create package mappings
> specific to these development branches.
> 
> As an added bonus, this makes the code setting os_name and
> os_version more straightforward by simplifying conditionals
> and removing regexp-based string replacement.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  guests/tasks/base.yml | 20 ++++++++++++++------
>  1 file changed, 14 insertions(+), 6 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list