summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-30 13:27:41 +0200
committerRemi Collet <remi@php.net>2023-08-30 13:27:41 +0200
commit070cda579b3ba88a989dd84819dcd8b0f4c4f35c (patch)
tree8c36a6a965f9c71c217b332ac2e43f2040c35fa1 /getmock
parent6016bf5362719105b4fbf79b903def6722072346 (diff)
php 8.3 as base helpers
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock82
1 files changed, 67 insertions, 15 deletions
diff --git a/getmock b/getmock
index a4fb7f2..fd5e7da 100755
--- a/getmock
+++ b/getmock
@@ -133,6 +133,16 @@ el??80)
fi
type=enterprise
;;
+el??81)
+ dep=${1:2:1}
+ if [ "$2" == "php81" -o "$2" == "test81" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php81
+ else rep=${2}81
+ fi
+ type=enterprise
+ ;;
el??82)
dep=${1:2:1}
if [ "$2" == "php82" -o "$2" == "test82" ]
@@ -143,13 +153,13 @@ el??82)
fi
type=enterprise
;;
-el??81)
+el??83)
dep=${1:2:1}
- if [ "$2" == "php81" -o "$2" == "test81" ]
+ if [ "$2" == "php83" -o "$2" == "test83" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php81
- else rep=${2}81
+ then rep=php83
+ else rep=${2}83
fi
type=enterprise
;;
@@ -173,6 +183,16 @@ fc??x80)
fi
type=fedora
;;
+fc??x81)
+ dep=${1:2:2}
+ if [ "$2" == "php81" -o "$2" == "test81" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php81
+ else rep=${2}81
+ fi
+ type=fedora
+ ;;
fc??x82)
dep=${1:2:2}
if [ "$2" == "php82" -o "$2" == "test82" ]
@@ -183,13 +203,13 @@ fc??x82)
fi
type=fedora
;;
-fc??x81)
+fc??x83)
dep=${1:2:2}
- if [ "$2" == "php81" -o "$2" == "test81" ]
+ if [ "$2" == "php83" -o "$2" == "test83" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php81
- else rep=${2}81
+ then rep=php83
+ else rep=${2}83
fi
type=fedora
;;
@@ -488,13 +508,45 @@ elif [ $1 = all82 ]; then
getOneMock el9x82 $opt '*8.2*'
getOneMock el9a82 $opt '*8.2*'
+elif [ $1 = all83 ]; then
+ [ $opt = remi ] && opt=php83
+ [ $opt = test ] && opt=test83
+ getOneMock fc37x83 $opt '*8.3*'
+ getOneMock fc38x83 $opt '*8.3*'
+ getOneMock fc39x83 $opt '*8.3*'
+ getOneMock el7x83 $opt '*8.3*'
+ getOneMock el8x83 $opt '*8.3*'
+ getOneMock el9x83 $opt '*8.3*'
+ getOneMock el9a83 $opt '*8.3*'
+
+elif [ $1 = allfc39x ]; then
+
+ getOneMock fc39x $opt
+ getOneMock scl74fc39x $opt
+ getOneMock scl80fc39x $opt
+ getOneMock scl81fc39x $opt
+ getOneMock scl82fc39x $opt
+ getOneMock scl83fc39x $opt
+ if [ $opt = test ]; then
+ getOneMock fc39x74 test74 '*7.4*'
+ getOneMock fc39x80 test80 '*7.4*'
+ getOneMock fc39x81 test81 '*7.4*'
+ getOneMock fc39x82 test82 '*7.4*'
+ getOneMock fc39x83 test83 '*7.4*'
+ else
+ getOneMock fc39x74 php74 '*7.4*'
+ getOneMock fc39x80 php80 '*8.0*'
+ getOneMock fc39x81 php81 '*8.1*'
+ getOneMock fc39x83 php83 '*8.2*'
+ fi
+
elif [ $1 = allr60 ]; then
opt=remi
getOneMock el7x $opt '*6.0*'
opt=redis60
- getOneMock fc36x $opt '*6.0*'
getOneMock fc37x $opt '*6.0*'
getOneMock fc38x $opt '*6.0*'
+ getOneMock fc39x $opt '*6.0*'
getOneMock el8x $opt '*6.0*'
getOneMock el9x $opt '*6.0*'
getOneMock el9a $opt '*6.0*'
@@ -503,9 +555,9 @@ elif [ $1 = allr62 ]; then
opt=remi
getOneMock el7x $opt '*6.2*'
opt=redis62
- getOneMock fc36x $opt '*6.2*'
getOneMock fc37x $opt '*6.2*'
getOneMock fc38x $opt '*6.2*'
+ getOneMock fc39x $opt '*6.2*'
getOneMock el8x $opt '*6.2*'
getOneMock el9x $opt '*6.2*'
getOneMock el9a $opt '*6.2*'
@@ -514,9 +566,9 @@ elif [ $1 = allr70 ]; then
opt=remi
getOneMock el7x $opt '*7.0*'
opt=redis70
- getOneMock fc36x $opt '*7.0*'
getOneMock fc37x $opt '*7.0*'
getOneMock fc38x $opt '*7.0*'
+ getOneMock fc39x $opt '*7.0*'
getOneMock el8x $opt '*7.0*'
getOneMock el9x $opt '*7.0*'
getOneMock el9a $opt '*7.0*'
@@ -525,9 +577,9 @@ elif [ $1 = allr72 ]; then
opt=remi
getOneMock el7x $opt '*7.2*'
opt=redis72
- getOneMock fc36x $opt '*7.2*'
getOneMock fc37x $opt '*7.2*'
getOneMock fc38x $opt '*7.2*'
+ getOneMock fc39x $opt '*7.2*'
getOneMock el8x $opt '*7.2*'
getOneMock el9x $opt '*7.2*'
getOneMock el9a $opt '*7.2*'
@@ -537,9 +589,9 @@ elif [ $1 = allm ]; then
getOneMock el7x $opt '*1.6*'
getOneMock el8x $opt '*1.6*'
opt=memcached
- getOneMock fc36x $opt '*1.6*'
getOneMock fc37x $opt '*1.6*'
getOneMock fc38x $opt '*1.6*'
+ getOneMock fc39x $opt '*1.6*'
getOneMock el9x $opt '*1.6*'
getOneMock el9a $opt '*1.6*'
@@ -560,7 +612,7 @@ elif [ $1 = for55 ]; then
done
elif [ $1 = allx ]; then
- for i in 36 37 38
+ for i in 37 38 39
do
getOneMock fc${i}x $opt
done
@@ -610,7 +662,7 @@ elif [ $1 = scl82 ]; then
done
elif [ $1 = scl83 ]; then
- for i in fc37 fc38 39 el7 el8 el9
+ for i in fc37 fc38 fc39 el7 el8 el9
do
getOneMock scl83${i}x $opt
done