[Libguestfs] Continuing the split (was: Let's split up the libguestfs git repo and tarballs)

Richard W.M. Jones rjones at redhat.com
Fri Nov 29 12:09:47 UTC 2019


So, the difficulty of git submodules aside, we have now split off
virt-v2v and virt-p2v into separate projects.

I also yesterday split off the boot analysis tools into a repo which
is likely to be rarely used and which I'll probably not bother to
package in Fedora.
https://github.com/libguestfs/libguestfs-analysis-tools

Where do we go from here?

I think one of three ways.  Either:

* (1) * All libguestfs tools, whether written in C or OCaml, are
sufficiently similar to each other and so are moved into a new
libguestfs-tools project.

libguestfs.git would end up containing only the daemon, core library
and language bindings.  (Splitting out the language bindings is
technically difficult because of their interdependence with the
generator, and the language bindings are closely related to the API,
so I don't see the point of splitting them out anyway.)

Or:

* (2) * Libguestfs tools in OCaml are different, and heavier-weight,
from the C ones so we put those in a new project (named ...?)  The
libguestfs tools in C are "lightweight" in some sense so we keep those
in libguestfs.git.

Note that the OCaml tools are quite interdependent on each other,
eg. most of them use virt-customize code.  So splitting them further
is difficult.

Or:

* (3) * Libguestfs tools in C and OCaml are different from both
libguestfs and each other, and so we should move them into two new
projects (again, naming suggestions welcome).


I'm not especially wedded to a particular approach, but I would like
to get something going on this sooner rather than later.

Rich.


PS.
If you want to follow the rest of this lengthy thread then:
https://www.redhat.com/archives/libguestfs/2018-February/thread.html#00067
https://www.redhat.com/archives/libguestfs/2019-April/thread.html#00260
https://www.redhat.com/archives/libguestfs/2019-June/thread.html#00095

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list