Bug 1092753 - virt-builder: If several repos contain the same os-version images, then they are duplicated in -l output
Summary: virt-builder: If several repos contain the same os-version images, then they ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pino Toscano
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-29 22:08 UTC by Richard W.M. Jones
Modified: 2014-06-10 10:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-10 10:20:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-04-29 22:08:49 UTC
Description of problem:

I have two repo files pointing at identical virt-builder
repositories.  Now my virt-builder -l output is:

$ virt-builder -l
centos-6                 x86_64     CentOS 6.5
cirros-0.3.1             x86_64     CirrOS 0.3.1
debian-6                 x86_64     Debian 6 (Squeeze)
debian-7                 x86_64     Debian 7 (Wheezy)
fedora-18                x86_64     Fedora® 18
fedora-19                x86_64     Fedora® 19
fedora-20                x86_64     Fedora® 20
scientificlinux-6        x86_64     Scientific Linux 6.5
ubuntu-10.04             x86_64     Ubuntu 10.04 (Lucid)
ubuntu-12.04             x86_64     Ubuntu 12.04 (Precise)
ubuntu-13.10             x86_64     Ubuntu 13.10 (Saucy)
centos-6                 x86_64     CentOS 6.5
cirros-0.3.1             x86_64     CirrOS 0.3.1
debian-6                 x86_64     Debian 6 (Squeeze)
debian-7                 x86_64     Debian 7 (Wheezy)
fedora-18                x86_64     Fedora® 18
fedora-19                x86_64     Fedora® 19
fedora-20                x86_64     Fedora® 20
scientificlinux-6        x86_64     Scientific Linux 6.5
ubuntu-10.04             x86_64     Ubuntu 10.04 (Lucid)
ubuntu-12.04             x86_64     Ubuntu 12.04 (Precise)
ubuntu-13.10             x86_64     Ubuntu 13.10 (Saucy)

It should probably disambiguate these.  Perhaps identical
entries could simply be combined?  A larger revision number
should probably override.

Version-Release number of selected component (if applicable):

virt-builder 1.27.7.

Comment 1 Pino Toscano 2014-06-03 12:42:45 UTC
Patch posted to the mailing list:
  https://www.redhat.com/archives/libguestfs/2014-June/msg00008.html

Comment 2 Pino Toscano 2014-06-10 10:20:20 UTC
Fixed with
https://github.com/libguestfs/libguestfs/commit/b28ef8791a21751b1def9f84108fec14ea73ffa9
which is in libguestfs >= 1.27.15


Note You need to log in before you can comment on or make changes to this bug.