[libvirt PATCH 26/33] ci: helper: Add a required_deps higher order helper/decorator

Daniel P. Berrangé berrange at redhat.com
Thu Aug 31 17:21:32 UTC 2023


On Fri, Aug 25, 2023 at 07:55:34PM +0200, Erik Skultety wrote:
> Since we'll depend on GitPython for repo cloning, we need to make sure
> to emit a user friendly error if the module is not installed. This
> patch introduces a helper which future patches will use as a decorator.
> Inspiration for this helper has been taken out of lcitool where we use
> an identical helper for this purpose.
> 
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
>  ci/helper | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the libvir-list mailing list