Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove php provides with a version, replace with providerPriority #34680

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions php-8.1-amqp.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-amqp
version: 2.1.2
epoch: 2
epoch: 3
description: "PHP extension to communicate with any AMQP compliant server"
copyright:
- license: PHP-3.01
Expand All @@ -11,11 +11,9 @@ package:
- php-${{vars.phpMM}}
- rabbitmq-c

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"
phpPriority: 801

environment:
contents:
Expand Down Expand Up @@ -53,7 +51,8 @@ subpackages:
- name: ${{package.name}}-config
dependencies:
provides:
- php-amqp-config=${{package.full-version}}
- php-amqp-config
provider-priority: ${{vars.phpPriority}}
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-apcu.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-apcu
version: 5.1.24
epoch: 1
epoch: 2
description: "PHP extension for User Cache"
copyright:
- license: PHP-3.01
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-ddtrace.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-ddtrace
version: 1.5.1
epoch: 0
epoch: 1
description: "Datadog PHP Clients"
copyright:
- license: Apache-2.0 OR BSD-3-Clause
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-decimal.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-decimal
version: 1.5.0
epoch: 1
epoch: 2
description: Correctly-rounded, arbitrary-precision decimal arithmetic for PHP
copyright:
- license: MIT
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-ds.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-ds
version: 1.5.0
epoch: 1
epoch: 2
description: "An extension providing efficient data structures for PHP"
copyright:
- license: MIT
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-excimer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-excimer
version: 1.2.3
epoch: 0
epoch: 1
description: "Excimer is a PHP extension that provides an interrupting timer and a low-overhead sampling profiler."
copyright:
- license: Apache-2.0
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-grpc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-grpc
version: 1.68.0
epoch: 0
epoch: 1
description: "A PHP extension for gRPC"
copyright:
- license: Apache-2.0
Expand All @@ -11,11 +11,8 @@ package:
- grpc
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
18 changes: 9 additions & 9 deletions php-8.1-igbinary.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-igbinary
version: 3.2.16
epoch: 2
epoch: 3
description: "Igbinary is a drop in replacement for the standard php serializer."
copyright:
- license: BSD-3-Clause
Expand All @@ -10,11 +10,9 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}
xnox marked this conversation as resolved.
Show resolved Hide resolved

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"
phpPriority: 801

environment:
contents:
Expand Down Expand Up @@ -51,17 +49,19 @@ subpackages:
- name: ${{package.name}}-config
dependencies:
provides:
- php-igbinary-config=${{package.full-version}}
- php-igbinary-config
provider-priority: ${{vars.phpPriority}}
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=igbinary.so" > "${{targets.subpkgdir}}/etc/php/conf.d/igbinary.ini"

- name: ${{package.name}}-dev
description: PHP ${{vars.phpMM}} igbinary development headers
description: "PHP ${{vars.phpMM}} igbinary development headers"
dependencies:
provides:
- php-igbinary-dev=${{package.full-version}}
- php-igbinary-dev
provider-priority: ${{vars.phpPriority}}
pipeline:
- uses: split/dev

Expand Down
9 changes: 3 additions & 6 deletions php-8.1-imagick.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-imagick
version: 3.7.0
epoch: 3
epoch: 4
description: "PHP extension for ImageMagick"
copyright:
- license: PHP-3.01
Expand All @@ -11,11 +11,8 @@ package:
- imagemagick
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-memcached.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-memcached
version: 3.3.0
epoch: 2
epoch: 3
description: "A PHP extension for Memcached"
copyright:
- license: PHP-3.01
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-msgpack.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-msgpack
version: 3.0.0
epoch: 2
epoch: 3
description: "A PHP extension for msgpack"
copyright:
- license: BSD-3-Clause
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-opentelemetry.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-opentelemetry
version: 1.1.0
epoch: 1
epoch: 2
description: "OpenTelemetry PHP auto-instrumentation extension"
copyright:
- license: Apache-2.0
Expand All @@ -10,11 +10,8 @@ package:
- ${{package.name}}-config
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-pdo_snowflake.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.1-pdo_snowflake
version: 3.0.3
epoch: 1
epoch: 2
description: "Snowflake driver that uses the PHP Data Objects (PDO) extension"
copyright:
- license: Apache-2.0
Expand All @@ -13,11 +13,8 @@ package:
runtime:
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-pecl-http.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
package:
name: php-8.1-pecl-http
version: 4.2.6
epoch: 0
epoch: 1
description: "Provides PHP ${{vars.phpMM}} HTTP module for PHP Extended HTTP Support- PECL"
copyright:
- license: BSD-2-Clause
dependencies:
runtime:
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
9 changes: 3 additions & 6 deletions php-8.1-pecl-mcrypt.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
package:
name: php-8.1-pecl-mcrypt
version: 1.0.7
epoch: 5
epoch: 6
description: "Provides PHP ${{vars.phpMM}} bindings for the unmaintained libmcrypt - PECL"
copyright:
- license: PHP-3.01
dependencies:
runtime:
- php-${{vars.phpMM}}

var-transforms:
- from: ${{package.name}}
match: ^php-(\d+\.\d+)-.*$
replace: "$1"
to: phpMM
vars:
phpMM: "8.1"

environment:
contents:
Expand Down
Loading
Loading