summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-09-25 10:56:12 +0200
committerRemi Collet <remi@php.net>2025-09-25 10:56:12 +0200
commit7c23ee5616b7ecad157644722d2aa653ec229623 (patch)
tree30867f024cc5ee9a21ed624f74466a81c5a548c0 /getmock
parent42f99bdf5314fd8900638cc29fb7609042e73e1b (diff)
Helpers for PHP 8.5 modulesHEADmaster
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock48
1 files changed, 47 insertions, 1 deletions
diff --git a/getmock b/getmock
index 829392a..79ca0ce 100755
--- a/getmock
+++ b/getmock
@@ -193,6 +193,26 @@ el???84)
fi
type=enterprise
;;
+el??85)
+ dep=${1:2:1}
+ if [ "$2" == "php85" -o "$2" == "test85" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php85
+ else rep=${2}85
+ fi
+ type=enterprise
+ ;;
+el???85)
+ dep=${1:2:2}
+ if [ "$2" == "php85" -o "$2" == "test85" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php85
+ else rep=${2}85
+ fi
+ type=enterprise
+ ;;
fc???74)
dep=${1:2:2}
if [ "$2" == "php74" -o "$2" == "test74" ]
@@ -253,6 +273,16 @@ fc???84)
fi
type=fedora
;;
+fc???85)
+ dep=${1:2:2}
+ if [ "$2" == "php85" -o "$2" == "test85" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php85
+ else rep=${2}85
+ fi
+ type=fedora
+ ;;
el*) dep=${dep#el}
type=enterprise
;;
@@ -612,6 +642,22 @@ elif [ $1 = all84 ]; then
getOneMock el10x84 $opt '*8.4*'
getOneMock el10a84 $opt '*8.4*'
+elif [ $1 = all85 ]; then
+ [ $opt = remi ] && opt=php85
+ [ $opt = test ] && opt=test85
+ getOneMock fc43x85 $opt '*module_php.8.5*'
+ getOneMock fc43a85 $opt '*module_php.8.5*'
+ getOneMock fc42x85 $opt '*module_php.8.5*'
+ getOneMock fc42a85 $opt '*module_php.8.5*'
+ getOneMock fc41x85 $opt '*module_php.8.5*'
+ getOneMock fc41a85 $opt '*module_php.8.5*'
+ getOneMock el8x85 $opt '*module_php.8.5*'
+ getOneMock el8a85 $opt '*module_php.8.5*'
+ getOneMock el9x85 $opt '*module_php.8.5*'
+ getOneMock el9a85 $opt '*module_php.8.5*'
+ getOneMock el10x85 $opt '*module_php.8.5*'
+ getOneMock el10a85 $opt '*module_php.8.5*'
+
elif [ $1 = allr60 ]; then
opt=redis60
getOneMock el8x $opt '*6.0*'
@@ -804,7 +850,7 @@ elif [ $1 = scl72 ]; then
elif [ $1 = allphp ]; then
LOG=$(mktemp out.XXXXXXXXXX)
- MOD="all72 all73 all74 all80 all81 all82 all83 all84"
+ MOD="all72 all73 all74 all80 all81 all82 all83 all84 all85"
SCL="scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83 scl84 scl85"
for i in $SCL $MOD
do $0 $opt $i | tee $LOG