com web/rmtools: sync for php < 5.6 exclusion and 7.1 addition: client/bin/pecl_build_all.bat client/bin/pecl_build _next.bat
client/bin/pecl_snap_pre.bat client/scr ipt/pecl_rss.php
| From: | Anatol Belski | Date: | Sun, 09 Apr 2017 18:37:18 +0000 |
| Subject: | com web/rmtools: sync for php < 5.6 exclusion and 7.1 addition: client/bin/pecl_build_all.bat client/bin/pecl_build _next.bat client/bin/pecl_snap_pre.bat client/scr ipt/pecl_rss.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26051@lists.php.net to get a copy of this message | ||
Commit: 64aa98e9d1e0df5048bcee36fd8437b156e3d9f9
Author: Anatol Belski <ab@php.net> Sun, 9 Apr 2017 20:37:18 +0200
Parents: 47d9cff50ebf34aa174d5520a97cbb385f8ecba8
Branches: pecl_legacy
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=64aa98e9d1e0df5048bcee36fd8437b156e3d9f9
Log:
sync for php < 5.6 exclusion and 7.1 addition
Changed paths:
M client/bin/pecl_build_all.bat
M client/bin/pecl_build_next.bat
M client/bin/pecl_snap_pre.bat
M client/script/pecl_rss.php
Diff:
diff --git a/client/bin/pecl_build_all.bat b/client/bin/pecl_build_all.bat
index 550e74d..4b8da1e 100644
--- a/client/bin/pecl_build_all.bat
+++ b/client/bin/pecl_build_all.bat
@@ -42,14 +42,14 @@ ECHO running > c:\php-sdk\locks\pecl.lock
rem Notice the --first and the --last calls marked, that's important
rem to maintain the state between call for the same package. For instance
rem if --aggregate-mail is used.
-call %BAT_DIR%pecl.bat --config=pecl70_x64 --first %* >> %LOG_FILE% 2<&1
+call %BAT_DIR%pecl.bat --config=pecl71_x64 --first %* >> %LOG_FILE% 2<&1
+call %BAT_DIR%pecl.bat --config=pecl71_x86 %* >> %LOG_FILE% 2<&1
+call %BAT_DIR%pecl.bat --config=pecl70_x64 %* >> %LOG_FILE% 2<&1
call %BAT_DIR%pecl.bat --config=pecl70_x86 %* >> %LOG_FILE% 2<&1
call %BAT_DIR%pecl.bat --config=pecl56_x64 %* >> %LOG_FILE% 2<&1
call %BAT_DIR%pecl.bat --config=pecl56_x86 %* >> %LOG_FILE% 2<&1
call %BAT_DIR%pecl.bat --config=pecl55_x64 %* >> %LOG_FILE% 2<&1
-call %BAT_DIR%pecl.bat --config=pecl55_x86 %* >> %LOG_FILE% 2<&1
-call %BAT_DIR%pecl.bat --config=pecl54 %* >> %LOG_FILE% 2<&1
-call %BAT_DIR%pecl.bat --config=pecl53 --last %* >> %LOG_FILE% 2<&1
+call %BAT_DIR%pecl.bat --config=pecl55_x86 --last %* >> %LOG_FILE% 2<&1
echo Done.>> %LOG_FILE%
diff --git a/client/bin/pecl_build_next.bat b/client/bin/pecl_build_next.bat
index 107becf..f3612d8 100644
--- a/client/bin/pecl_build_next.bat
+++ b/client/bin/pecl_build_next.bat
@@ -5,6 +5,14 @@ rem first try releases, if there aren't any, look for snaps
SET BAT_DIR=%~dp0
+cd c:\pecl-7.1-rebuild
+
+for /r %%i in (*) do (
+ call %BAT_DIR%pecl_build_all_7.1_rebuild.bat --upload --package=%%i
+ del %%i
+ goto ONLY_ONE
+)
+
cd c:\pecl-in-pkg
for /r %%i in (*) do (
diff --git a/client/bin/pecl_snap_pre.bat b/client/bin/pecl_snap_pre.bat
index b0b239e..df3121e 100644
--- a/client/bin/pecl_snap_pre.bat
+++ b/client/bin/pecl_snap_pre.bat
@@ -47,8 +47,8 @@ rem call %BAT_DIR%pecl.bat --config=pecl55_x86 %* >> %LOG_FILE% 2<&1
rem call %BAT_DIR%pecl.bat --config=pecl54 %* >> %LOG_FILE% 2<&1
rem call %BAT_DIR%pecl.bat --config=pecl53 --last %* >> %LOG_FILE% 2<&1
rem
-call %BAT_DIR%pecl.bat --config=pecl71_x86 --first %* >> %LOG_FILE% 2<&1
-call %BAT_DIR%pecl.bat --config=pecl71_x64 --last %* >> %LOG_FILE% 2<&1
+rem call %BAT_DIR%pecl.bat --config=pecl71_x86 --first %* >> %LOG_FILE% 2<&1
+rem call %BAT_DIR%pecl.bat --config=pecl71_x64 --last %* >> %LOG_FILE% 2<&1
echo Done.>> %LOG_FILE%
diff --git a/client/script/pecl_rss.php b/client/script/pecl_rss.php
index e84dd82..d061538 100644
--- a/client/script/pecl_rss.php
+++ b/client/script/pecl_rss.php
@@ -121,7 +121,7 @@ foreach($latest->item as $item) {
if (!$suspects) {
system($curl_cmd, $status);
/* This needs to be turned off after 7.1 GA */
- copy("$name-$version.tgz", "$download_dir_pre" . DIRECTORY_SEPARATOR .
"$name-$version.tgz");
+ //copy("$name-$version.tgz", "$download_dir_pre" . DIRECTORY_SEPARATOR .
"$name-$version.tgz");
if ($status) {
echo "<$name-$version> download failed" . PHP_EOL;