This is an inital version of a patch I'm using on my system. I'm using rpkg and other tools from git and I'm not using osbs for any purpose. Therefore I'm using this patch to make it work. Please let me know if you require a cleaner solution and how should that work.
The general idea seems fine to me. However, with current implementation if the dependency is not installed and a command that needs it is used, it will crash with a non-descriptive error message. This should probably be improved.
$ fedpkg container-build --build-with osbs Could not execute container_build: global name 'Configuration' is not defined
Do you mean this as a convenience when running from directly from git or would you like to see it in real package as well?
@twaugh I believe we discussed optional dependency on osbs in the past. Has anything changed in the process? Or can we have this optional in rpkg but required in rpkg's client - here it is rhpkg?
I don't think it needs to be required anywhere now, even rhpkg.
@lsedlar I'm running the tools from the git repo.
@tkdchen I've noticed this pull request and I guess it can be used with the proposed removal of osbs-client dependency removal from rpkg.
This PR is included in https://pagure.io/rpkg/pull-request/220 with an update.
Hi @pavlix
#220 has been merged. This PR can be closed.
Pull-Request has been closed by lsedlar