[libvirt-ci PATCH] guests: add libvirt-rust project packages

Daniel P. Berrangé posted 1 patch 3 years, 11 months ago
Failed in applying to current master (apply log)
guests/vars/mappings.yml              | 8 ++++++++
guests/vars/projects/libvirt-rust.yml | 4 ++++
2 files changed, 12 insertions(+)
create mode 100644 guests/vars/projects/libvirt-rust.yml
[libvirt-ci PATCH] guests: add libvirt-rust project packages
Posted by Daniel P. Berrangé 3 years, 11 months ago
On FreeBSD there is no separate "cargo" package, as the command is part
of the amin "rust" package.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 guests/vars/mappings.yml              | 8 ++++++++
 guests/vars/projects/libvirt-rust.yml | 4 ++++
 2 files changed, 12 insertions(+)
 create mode 100644 guests/vars/projects/libvirt-rust.yml

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 4808b12..b78ce95 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -109,6 +109,10 @@ mappings:
     default: ca-certificates
     FreeBSD: ca_root_nss
 
+  cargo:
+    default: cargo
+    pkg:
+
   ccache:
     default: ccache
 
@@ -935,6 +939,10 @@ mappings:
   rpmbuild:
     rpm: rpm-build
 
+  rust:
+    default: rust
+    deb: rustc
+
   sanlock:
     deb: libsanlock-dev
     rpm: sanlock-devel
diff --git a/guests/vars/projects/libvirt-rust.yml b/guests/vars/projects/libvirt-rust.yml
new file mode 100644
index 0000000..978d5ef
--- /dev/null
+++ b/guests/vars/projects/libvirt-rust.yml
@@ -0,0 +1,4 @@
+---
+packages:
+  - cargo
+  - rust
-- 
2.26.2

Re: [libvirt-ci PATCH] guests: add libvirt-rust project packages
Posted by Andrea Bolognani 3 years, 11 months ago
On Tue, 2020-05-05 at 15:52 +0100, Daniel P. Berrangé wrote:
> On FreeBSD there is no separate "cargo" package, as the command is part
> of the amin "rust" package.

I'm not sure what you were going for here, but "amin" was probably
not it :)

> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  guests/vars/mappings.yml              | 8 ++++++++
>  guests/vars/projects/libvirt-rust.yml | 4 ++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 guests/vars/projects/libvirt-rust.yml

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

Re: [libvirt-ci PATCH] guests: add libvirt-rust project packages
Posted by Daniel P. Berrangé 3 years, 11 months ago
On Tue, May 05, 2020 at 05:52:52PM +0200, Andrea Bolognani wrote:
> On Tue, 2020-05-05 at 15:52 +0100, Daniel P. Berrangé wrote:
> > On FreeBSD there is no separate "cargo" package, as the command is part
> > of the amin "rust" package.
> 
> I'm not sure what you were going for here, but "amin" was probably
> not it :)

"main"

> 
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
> >  guests/vars/mappings.yml              | 8 ++++++++
> >  guests/vars/projects/libvirt-rust.yml | 4 ++++
> >  2 files changed, 12 insertions(+)
> >  create mode 100644 guests/vars/projects/libvirt-rust.yml
> 
> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
> 
> -- 
> Andrea Bolognani / Red Hat / Virtualization
> 

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 :|