Hello, fellow developers,

The current virtualx.eclass API is a bit insane. It seems a bit like
stacking of a few next APIs, mostly designed to quickly run 'make
check', then extended to general functions.

For example running a function 'run_tests' with parameter '--foo' would
look like:

        VIRTUALX_COMMAND=run_tests virtualmake --foo

which is really awful, considering that '--foo' is a parameter to
'run_tests' and not virtualmake.

My patches introduce a single wrapper with argv-as-parameter syntax.
That is, the fore-mentioned example would look like:

        virtualx run_tests --foo

Depending on the maintainer decisions and your feedback, I believe that
even all the X* short-hand functions could be deprecated. They are a bit
shorter:

        Xemake check

vs:

        virtualx emake check

but I don't think that's much of a difference.

What are your thoughts?


Reply via email to