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

Daniel P. Berrangé posted 1 patch 4 years, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
guests/vars/mappings.yml             | 11 +++++++++++
guests/vars/projects/libvirt-php.yml |  6 ++++++
2 files changed, 17 insertions(+)
create mode 100644 guests/vars/projects/libvirt-php.yml
[libvirt-ci PATCH] guests: add libvirt-php project packages
Posted by Daniel P. Berrangé 4 years, 6 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 guests/vars/mappings.yml             | 11 +++++++++++
 guests/vars/projects/libvirt-php.yml |  6 ++++++
 2 files changed, 17 insertions(+)
 create mode 100644 guests/vars/projects/libvirt-php.yml

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 4808b12..4fec6f4 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -831,6 +831,17 @@ mappings:
     OpenSUSE:
     CentOS7:
 
+  php:
+    default: php
+    FreeBSD: php74
+
+  php-imagick:
+    default: php-imagick
+    FreeBSD: php74-pecl-imagick
+    Fedora: php-pecl-imagick
+    CentOS: php-pecl-imagick
+    CentOS8:
+
   pkg-config:
     default: pkgconf
     rpm: pkgconfig
diff --git a/guests/vars/projects/libvirt-php.yml b/guests/vars/projects/libvirt-php.yml
new file mode 100644
index 0000000..c911dc6
--- /dev/null
+++ b/guests/vars/projects/libvirt-php.yml
@@ -0,0 +1,6 @@
+---
+packages:
+  - php
+  - php-imagick
+  - xmllint
+  - xsltproc
-- 
2.26.2

Re: [libvirt-ci PATCH] guests: add libvirt-php project packages
Posted by Michal Privoznik 4 years, 6 months ago
On 5/4/20 6:13 PM, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>   guests/vars/mappings.yml             | 11 +++++++++++
>   guests/vars/projects/libvirt-php.yml |  6 ++++++
>   2 files changed, 17 insertions(+)
>   create mode 100644 guests/vars/projects/libvirt-php.yml

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal

Re: [libvirt-ci PATCH] guests: add libvirt-php project packages
Posted by Daniel P. Berrangé 4 years, 6 months ago
On Mon, May 04, 2020 at 05:13:27PM +0100, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  guests/vars/mappings.yml             | 11 +++++++++++
>  guests/vars/projects/libvirt-php.yml |  6 ++++++
>  2 files changed, 17 insertions(+)
>  create mode 100644 guests/vars/projects/libvirt-php.yml
> 
> diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
> index 4808b12..4fec6f4 100644
> --- a/guests/vars/mappings.yml
> +++ b/guests/vars/mappings.yml
> @@ -831,6 +831,17 @@ mappings:
>      OpenSUSE:
>      CentOS7:
>  
> +  php:
> +    default: php
> +    FreeBSD: php74

Opps, I sent the wrong version - I've sent a v2 which has the correct
packages listed here - its needs the -dev/-devel versions.

> +
> +  php-imagick:
> +    default: php-imagick
> +    FreeBSD: php74-pecl-imagick
> +    Fedora: php-pecl-imagick
> +    CentOS: php-pecl-imagick
> +    CentOS8:
> +
>    pkg-config:
>      default: pkgconf
>      rpm: pkgconfig
> diff --git a/guests/vars/projects/libvirt-php.yml b/guests/vars/projects/libvirt-php.yml
> new file mode 100644
> index 0000000..c911dc6
> --- /dev/null
> +++ b/guests/vars/projects/libvirt-php.yml
> @@ -0,0 +1,6 @@
> +---
> +packages:
> +  - php
> +  - php-imagick
> +  - xmllint
> +  - xsltproc
> -- 
> 2.26.2
> 

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