There are a few issues with the way virtme-ng-init is currently built, bundled and used. As a result many distros only ship virtme without the rust-based virtme-ng-init component.
The main problem is the submodule/git-fetch usage and the cargo invocation in setup.py. As a result offline compilation is made difficult, HTTP proxies fail to work, and simple control over cargo flags is not possible. These are all things common for package building and enterprise environments.
This situation could be improved by merging both repos, wrapping the init repo in a simple dummy python package and adding a dependency on that, or adding another search path for the init-ng binary outside of the package resources such that it could be build separately. Ideally this would also allow us to completely get rid of the setup.py file.
Please let me know your thoughts about these approaches. I myself have not yet completely explored the options so I am not yet sure which one would best suit packaging but they would all be an improvement over the status quo
There are a few issues with the way virtme-ng-init is currently built, bundled and used. As a result many distros only ship virtme without the rust-based virtme-ng-init component.
The main problem is the submodule/git-fetch usage and the cargo invocation in setup.py. As a result offline compilation is made difficult, HTTP proxies fail to work, and simple control over cargo flags is not possible. These are all things common for package building and enterprise environments.
This situation could be improved by merging both repos, wrapping the init repo in a simple dummy python package and adding a dependency on that, or adding another search path for the init-ng binary outside of the package resources such that it could be build separately. Ideally this would also allow us to completely get rid of the setup.py file.
Please let me know your thoughts about these approaches. I myself have not yet completely explored the options so I am not yet sure which one would best suit packaging but they would all be an improvement over the status quo