DevHeads.net

Postings by Anatoliy Belsky

com web/php: 7.0.24 announce: ChangeLog-7.php archive/archive.xml archive/entries/2017-09-28-1.xml include/releases.inc include/version.inc releases/7_0_24.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=e0fc895ba70c6107e8472c8ee065d04f8819d494" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=e0fc895ba70c6107e8472c8ee065d04f8819d494">http://git.php.net/?p=web/php.git;a=commitdiff;h=e0fc895ba70c6107e8472c8...</a>

Log:
7.0.24 announce

Changed paths:
M ChangeLog-7.php
M archive/archive.xml
A archive/entries/2017-09-28-1.xml
M include/releases.inc
M include/version.inc
A releases/7_0_24.php

Diff:
diff --git a/ChangeLog-7.php b/ChangeLog-7.php
index 550146a..8e1c2c9 100644
--- a/ChangeLog-7.php
+++ b/ChangeLog-7.php
@@ -7,6 +7,56 @@ site_header("PHP 7 ChangeLog", array("current" => "docs", "css" => array("change

<h1>PHP 7 ChangeLog</h1>

+<section class="version" id="7.0.24"><!--

com web/php: Sync distributions for 7.0.24 tarballs: distributions

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=b167522b99e59fb9892c14806f4232fb86065245" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=b167522b99e59fb9892c14806f4232fb86065245">http://git.php.net/?p=web/php.git;a=commitdiff;h=b167522b99e59fb9892c148...</a>

Log:
Sync distributions for 7.0.24 tarballs

Changed paths:
M distributions

Diff:
diff --git a/distributions b/distributions
index adbb2e0..748b803 160000
--- a/distributions
+++ b/distributions
@@ -1 +1 @@
-Subproject commit adbb2e089ebe2c5b23a832a27ba57806712eb455
+Subproject commit 748b8039bd2a02e4a4499f84a027b124ff4614b6

com web/php-distributions: 7.0.24 tarballs: php-7.0.24.tar.bz2 php-7.0.24.tar.bz2.asc php-7.0.24.tar.gz php-7.0.24.tar.gz.asc php-7.0.24.tar.xz php-7.0.24.tar.xz.asc

Link: <a href="http://git.php.net/?p=web/php-distributions.git;a=commitdiff;h=748b8039bd2a02e4a4499f84a027b124ff4614b6" title="http://git.php.net/?p=web/php-distributions.git;a=commitdiff;h=748b8039bd2a02e4a4499f84a027b124ff4614b6">http://git.php.net/?p=web/php-distributions.git;a=commitdiff;h=748b8039b...</a>

Log:
7.0.24 tarballs

Changed paths:
A php-7.0.24.tar.bz2
A php-7.0.24.tar.bz2.asc
A php-7.0.24.tar.gz
A php-7.0.24.tar.gz.asc
A php-7.0.24.tar.xz
A php-7.0.24.tar.xz.asc

Diff:
diff --git a/php-7.0.24.tar.bz2 b/php-7.0.24.tar.bz2
new file mode 100644
index 0000000..2f7b024
Binary files /dev/null and b/php-7.0.24.tar.bz2 differ
diff --git a/php-7.0.24.tar.bz2.asc b/php-7.0.24.tar.bz2.asc
new file mode 100644
index 0000000..683d270
--- /dev/null
+++ b/php-7.0.2

tag web/rmtools: create tag rmtools-2.0.0beta1

Tag rmtools-2.0.0beta1 in web/rmtools.git was created
Tag: a5d450f2bcb7746002a2ec0a9681f2b380e1faf7
Tagger: Anatol Belski< ... at php dot net> Mon Sep 25 16:39:33 2017 +0200
Log:
Tag rmtools-2.0.0beta1

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=tag;h=a5d450f2bcb7746002a2ec0a9681f2b380e1faf7" title="http://git.php.net/?p=web/rmtools.git;a=tag;h=a5d450f2bcb7746002a2ec0a9681f2b380e1faf7">http://git.php.net/?p=web/rmtools.git;a=tag;h=a5d450f2bcb7746002a2ec0a96...</a>

Target: 78297905d0b9b2de0a53358bd173fa54e161366b
Author: Anatol Belski < ... at php dot net> Wed, 20 Sep 2017 17:53:06 +0200
Parents: dcf582032671c3333828fb24e54bcdf977cfecfa
Target link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a53358bd173fa54e161366b" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a53358bd173fa54e161366b">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a5...</a>

com web/rmtools: Fix var name: script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a53358bd173fa54e161366b" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a53358bd173fa54e161366b">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a5...</a>

Log:
Fix var name

Changed paths:
M script/snap.php

Diff:
diff --git a/script/snap.php b/script/snap.php
index 2f0db45..7b1927b 100644
--- a/script/snap.php
+++ b/script/snap.php
@@ -218,7 +218,7 @@ if ($branch->hasNewRevision() || !$branch->isLastRevisionExported($branch->getLa
$src_dir = $branch_name . '/r' . $last_rev;
rm\upload_build_result_ftp_curl($toupload_dir, $src_dir);
/* FIXME This is still not safe, locking needed!

com web/rmtools: Workaround issue where files can't be deleted because of security scan: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=dcf582032671c3333828fb24e54bcdf977cfecfa" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=dcf582032671c3333828fb24e54bcdf977cfecfa">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=dcf582032671c333382...</a>

Log:
Workaround issue where files can't be deleted because of security scan

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 323e16c..b8dd6a1 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -249,6 +249,10 @@ class Branch {
}
elseif ($is_zip === true) {
$extract_dir = $build_dir . DIRECTORY_SEPARATOR .

com web/rmtools: Last exported revision should not be rebuilt: include/Branch.php script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=073975a5a8e1401cbb21e0d6a1744816d4cd9042" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=073975a5a8e1401cbb21e0d6a1744816d4cd9042">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=073975a5a8e1401cbb2...</a>

Log:
Last exported revision should not be rebuilt

Changed paths:
M include/Branch.php
M script/snap.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 4bb86a5..323e16c 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -276,6 +276,11 @@ class Branch {
return $target;
}

+ public function getLastCommitId()
+ {
+ return $this->repo->getLastCommitId();
+ }
+
public function createSourceSnap($build_type = false, $revision = false)
{
return $th

com web/rmtools: Enable partial uploads, still needs improvement: script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=433bd0a90d8f0f89cecbdad37c81c1867087bdbf" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=433bd0a90d8f0f89cecbdad37c81c1867087bdbf">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=433bd0a90d8f0f89cec...</a>

Log:
Enable partial uploads, still needs improvement

Changed paths:
M script/snap.php

Diff:
diff --git a/script/snap.php b/script/snap.php
index 79e3791..234f821 100644
--- a/script/snap.php
+++ b/script/snap.php
@@ -213,16 +213,21 @@ if ($branch->hasNewRevision() || $branch->hasUnfinishedBuild() || $force) {
$branch->buildFinished();
}

com web/rmtools: Truncate the db file for reset: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=cb41be0fb0a690e01d1f743779bf49e0d1ea38c2" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=cb41be0fb0a690e01d1f743779bf49e0d1ea38c2">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=cb41be0fb0a690e01d1...</a>

Log:
Truncate the db file for reset

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 6cf84aa..4bb86a5 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -44,10 +44,14 @@ class Branch {
/* If both read and write are requested, read and yield data first. The fd
is still open and the exclusive lock is held. Call the function once
more to write.

com web/rmtools: These should be atomic, too: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=fd4448d3d3edae90a186c859bebfccbd197d555e" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=fd4448d3d3edae90a186c859bebfccbd197d555e">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=fd4448d3d3edae90a18...</a>

Log:
These should be atomic, too

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index b87c38d..6cf84aa 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -346,14 +346,14 @@ class Branch {

function buildFinished()
{
- $this->data = $this->readdata();
+ $this->data = $this->atomicDataRW(true, true);
$this->data->build_num++;
- $this->writeData();
+ $this->atomicDataRW(false, true);
}

function resetBuildInfo()

com web/rmtools: Rewrite for atomic rw for the db file: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=b8f48f651c5e80d2a877316becc75a6a25ee6c6f" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=b8f48f651c5e80d2a877316becc75a6a25ee6c6f">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=b8f48f651c5e80d2a87...</a>

Log:
Rewrite for atomic rw for the db file

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index c26cc21..b87c38d 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -12,6 +12,7 @@ class Branch {
public $config;
private $repo;
public $db_path;
+ protected $db_fd;
public $data = NULL;

public function __construct($config_path)
@@ -25,7 +26,7 @@ class Branch {
$this->repo->setBranch($this->config->getRepoBranch());

com web/rmtools: Check also for "all": include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=6659d824d1a42db91fcf8aaa117abae3f4dfc316" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=6659d824d1a42db91fcf8aaa117abae3f4dfc316">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=6659d824d1a42db91fc...</a>

Log:
Check also for "all"

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 53f0bab..c26cc21 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -75,7 +75,7 @@ class Branch {
$builds = $this->config->getBuildList();

if (!empty($builds)) {
- if ($build_name) {
+ if ($build_name && "all" != $build_name) {
if (in_array($build_name, $this->data->builds) && $this->hasUnfinishedBuild()) {
throw new \Exceptio

com web/rmtools: More refactoring: include/Branch.php include/Git.php script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d7f919649b7732510222164a1771331416b2e352" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d7f919649b7732510222164a1771331416b2e352">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d7f919649b773251022...</a>

Log:
More refactoring

- partial locking on the db file
- fix revision fetching, previously only the latest was fetched
- upload snaps as they built for now

Changed paths:
M include/Branch.php
M include/Git.php
M script/snap.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 3a7b1c3..53f0bab 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -28,13 +28,22 @@ class Branch {
$this->data = $this->readdata();
}

+ protected function getEmptyData()

com web/rmtools: Fix typo remove non applicable comment: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d77306bd7f239e4ac7dcd2010241a87f3efda8af" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d77306bd7f239e4ac7dcd2010241a87f3efda8af">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d77306bd7f239e4ac7d...</a>

Log:
Fix typo remove non applicable comment

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index d3e2a47..3a7b1c3 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -197,8 +197,6 @@ class Branch {

public function setLastRevisionExported($last_rev)
{
- /* Basically, we need two runs for x64 and x86, every run covers ts and nts.
- Only set the revision exported, if we're on last required build run.

com web/rmtools: Rework update and cleanup in parallel build: include/Branch.php script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4515772d8121ae352f3917f47245940913b47811" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4515772d8121ae352f3917f47245940913b47811">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4515772d8121ae352f3...</a>

Log:
Rework update and cleanup in parallel build

Changed paths:
M include/Branch.php
M script/snap.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index c10db48..d3e2a47 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -52,6 +52,10 @@ class Branch {
$data->builds = array();
}

+ if ($data->build_num > self::REQUIRED_BUILDS_NUM) {
+ throw new \Exception("Inconsistent db, build number can't be {$data->build_num}.");
+ }
+
return $data;
}

com web/rmtools: Fix condition: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=9920e2f5d82d1fceb558c4d5cde008da017481a2" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=9920e2f5d82d1fceb558c4d5cde008da017481a2">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=9920e2f5d82d1fceb55...</a>

Log:
Fix condition

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index c137038..c10db48 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -137,7 +137,7 @@ class Branch {
{
$last = $this->repo->getLastCommitId();

- return $last && !$this->isLastRevisionExported($last) || is_null($data->revision_last);
+ return $last && !$this->isLastRevisionExported($last) || is_null($this->data->revision_last);
}

public functi

com web/rmtools: Fix skip for non requested build type: script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f22c2591172301ca7fbd225cf0d86d74c4dff35a" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f22c2591172301ca7fbd225cf0d86d74c4dff35a">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f22c2591172301ca7fb...</a>

Log:
Fix skip for non requested build type

Changed paths:
M script/snap.php

Diff:
diff --git a/script/snap.php b/script/snap.php
index eae659c..2f64dc8 100644
--- a/script/snap.php
+++ b/script/snap.php
@@ -89,8 +89,8 @@ if ($branch->hasNewRevision() || $branch->hasUnfinishedBuild() || $force) {
$build_errors = array();

foreach ($builds as $build_name) {
- if (strcmp($build_type, 'all') != 0) {
- if (substr_compare($build_name, $build_type, 0, 2) != 0) { // i.e.

com web/rmtools: Reset number of running builds after all are finished: include/Branch.php script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=1a51e1d9cc8d8285c3b8360828460b5241274783" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=1a51e1d9cc8d8285c3b8360828460b5241274783">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=1a51e1d9cc8d8285c3b...</a>

Log:
Reset number of running builds after all are finished

Changed paths:
M include/Branch.php
M script/snap.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index c6eefb3..c137038 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -272,6 +272,15 @@ class Branch {
$this->writeData();
}

+ function resetBuildNum()
+ {
+ if (rm\Branch::REQUIRED_BUILDS_NUM <= $branch->numBuildsRunning()) {
+ $this->data = $this->readdata();
+ $this->data->build_num

com web/rmtools: Fix exception msg: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=2b498ff0c5cd112f8e146e9ed5cf93878ffb2b01" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=2b498ff0c5cd112f8e146e9ed5cf93878ffb2b01">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=2b498ff0c5cd112f8e1...</a>

Log:
Fix exception msg

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 31e5be1..c6eefb3 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -68,7 +68,7 @@ class Branch {
if (!empty($builds)) {
if ($build_name) {
if (in_array($build_name, $this->data->builds) && $this->hasUnfinishedBuild()) {
- throw new \Exception("Builds for '$n' are already done or in progress");
+ throw new \Exception("Builds for '$b

com web/rmtools: Parallel build for snaps, basic changes: include/Branch.php script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=89296f7a9eaecd03fe4c62737f6ba10bd5e1271c" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=89296f7a9eaecd03fe4c62737f6ba10bd5e1271c">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=89296f7a9eaecd03fe4...</a>

Log:
Parallel build for snaps, basic changes

Changed paths:
M include/Branch.php
M script/snap.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index fd9edd2..31e5be1 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -6,6 +6,7 @@ include __DIR__ . '/Repository.php';
include __DIR__ .

com web/rmtools: If only one build was requested, don't write all the available into db: include/Branch.php script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=311b929c81d58a3e5e446d39bff4447a7ecc3651" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=311b929c81d58a3e5e446d39bff4447a7ecc3651">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=311b929c81d58a3e5e4...</a>

Log:
If only one build was requested, don't write all the available into db

Changed paths:
M include/Branch.php
M script/snap.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 91ba18f..fd9edd2 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -58,7 +58,7 @@ class Branch {
return file_put_contents($this->db_path, $json, LOCK_EX);
}

- private function addBuildList()
+ private function addBuildList($build_name = NULL)
{
$builds = $this->confi

com web/rmtools: Locking reads: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7886bfcb221e56c2f53491eaa510aadad5ffa9bc" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7886bfcb221e56c2f53491eaa510aadad5ffa9bc">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7886bfcb221e56c2f53...</a>

Log:
Locking reads

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index ad95daf..91ba18f 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -30,7 +30,18 @@ class Branch {
protected function readData()
{
if (file_exists($this->db_path)) {
- $data = json_decode(file_get_contents($this->db_path));
+ $fd = fopen($this->db_path, "rb");
+ if (!$fd) {
+ throw new \Exception("Failed to open {$this->db_path}.");
+ }
+

com web/rmtools: Also don't create the lock file: bin/snapshot_task.bat

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4a58be2b90eb0df8ed9ab282adf58847d8c09fa3" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4a58be2b90eb0df8ed9ab282adf58847d8c09fa3">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=4a58be2b90eb0df8ed9...</a>

Log:
Also don't create the lock file

Changed paths:
M bin/snapshot_task.bat

Diff:
diff --git a/bin/snapshot_task.bat b/bin/snapshot_task.bat
index 64590ff..e651aee 100644
--- a/bin/snapshot_task.bat
+++ b/bin/snapshot_task.bat
@@ -23,7 +23,7 @@ rem ECHO Snapshot script is already running.
rem GOTO EXIT_LOCKED
rem )

-ECHO running > %LOCK_FILE%
+rem ECHO running > %LOCK_FILE%

if not exist "%PHP_RMTOOLS_ROOT_PATH%\data\config\credentials_ftps.php" (
echo FTP config %PHP_SD

com web/rmtools: Fix extract path: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ed1333d79db39e741a428ab6cde387562fc3cd58" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ed1333d79db39e741a428ab6cde387562fc3cd58">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ed1333d79db39e741a4...</a>

Log:
Fix extract path

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 58e7f63..ad95daf 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -147,7 +147,7 @@ class Branch {
if (!$res) {
throw new \Exception("Unzipping $exportfile failed.");
}
- $gitname = $build_dir . '/php-src-' . strtoupper($this->config->getName()) . '-' . $rev_name;
+ $gitname = $extract_dir . '/php-src-' .

com web/rmtools: Fix source unzipping which previously might collide in parallel runs: include/Branch.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=5e27760dfdfe7fcdd00b127951f41cea2d453172" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=5e27760dfdfe7fcdd00b127951f41cea2d453172">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=5e27760dfdfe7fcdd00...</a>

Log:
Fix source unzipping which previously might collide in parallel runs

Changed paths:
M include/Branch.php

Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 2a20638..58e7f63 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -137,13 +137,24 @@ class Branch {
}
}
elseif ($is_zip === true) {
- $cmd = 'unzip -q -o ' . $exportfile . ' -d ' . $build_dir;
+ $extract_dir = $build_dir . DIRECTORY_SEPARATOR .

com web/rmtools: Deactivate locking for snaps for now: bin/snapshot_task.bat

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ce11cbf8b1ff5a799ad096ba8d226a383c93dcce" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ce11cbf8b1ff5a799ad096ba8d226a383c93dcce">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=ce11cbf8b1ff5a799ad...</a>

Log:
Deactivate locking for snaps for now

Changed paths:
M bin/snapshot_task.bat

Diff:
diff --git a/bin/snapshot_task.bat b/bin/snapshot_task.bat
index 5173a74..64590ff 100644
--- a/bin/snapshot_task.bat
+++ b/bin/snapshot_task.bat
@@ -18,10 +18,10 @@ set PART=%*
set LOG_FILE=%PHP_RMTOOLS_LOG_PATH%\task-%PART: =-%-%cur_date%.log
set LOCK_FILE=%PHP_RMTOOLS_LOCK_PATH%\snaps.lock

-IF EXIST %LOCK_FILE% (
- ECHO Snapshot script is already running.
- GOTO EXIT_LOCKED
-)
+rem IF EXIST

com web/rmtools: Don't enforce all, allow for an exact single build: script/snap.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=3d77ce63738d8c82603c21e7b20285814ec5b10d" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=3d77ce63738d8c82603c21e7b20285814ec5b10d">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=3d77ce63738d8c82603...</a>

Log:
Don't enforce all, allow for an exact single build

Changed paths:
M script/snap.php

Diff:
diff --git a/script/snap.php b/script/snap.php
index 29d9a04..e9512fd 100644
--- a/script/snap.php
+++ b/script/snap.php
@@ -12,7 +12,7 @@ if ($argc < 2 || $argc > 4) {

$have_build_run = false;
$branch_name = $argv[1];
-$build_type = "all"; /* $argv[2] */ /* Build both ts and NTS for one given arch. This also complies with the top level script, otherwise it'd need a special SDK setup.

com web/php: 7.0.24RC1 info: include/version.inc

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=622044416a2a8401d3809dc788459e9e508849ed" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=622044416a2a8401d3809dc788459e9e508849ed">http://git.php.net/?p=web/php.git;a=commitdiff;h=622044416a2a8401d3809dc...</a>

Log:
7.0.24RC1 info

Changed paths:
M include/version.inc

Diff:
diff --git a/include/version.inc b/include/version.inc
index dd12879..9fbe976 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -29,8 +29,8 @@ $PHP_7_1_SHA256 = array(
);

/* PHP 7.0 Release */
-$PHP_7_0_RC = false; // Current RC version (e.g., '5.6.7RC1') or false
-$PHP_7_0_RC_DATE = "17 August 2017";
+$PHP_7_0_RC = "7.0.24RC1"; // Current RC version (e.g., '5.6.7RC1') or false
+$PHP_7_0_RC_DATE = "14 Sep

com web/rmtools: Enable PGO for 7.2: data/config/branch/x64/php72.ini data/config/branch/x86/php72.ini

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7ba06049e44b71fe5be6a4cad9b974bd7531a52a" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7ba06049e44b71fe5be6a4cad9b974bd7531a52a">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7ba06049e44b71fe5be...</a>

Log:
Enable PGO for 7.2

Changed paths:
M data/config/branch/x64/php72.ini
M data/config/branch/x86/php72.ini

Diff:
diff --git a/data/config/branch/x64/php72.ini b/data/config/branch/x64/php72.ini
index 0a30908..caed799 100644
--- a/data/config/branch/x64/php72.ini
+++ b/data/config/branch/x64/php72.ini
@@ -7,7 +7,7 @@ build_dir=C:/php-snap-build/obj-x64
build_location=C:/php-snap-build/snap_7.2/vc15/x64
appver=
debug=0
-pgo=0
+pgo=1
compiler=vc15
arch=x64

diff --git a/data

com web/rmtools: Fix missing ;: include/PeclExt.php

Link: <a href="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=5ed475d0a7022297760c6130230b441b6c27beed" title="http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=5ed475d0a7022297760c6130230b441b6c27beed">http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=5ed475d0a7022297760...</a>

Log:
Fix missing ;

Changed paths:
M include/PeclExt.php

Diff:
diff --git a/include/PeclExt.php b/include/PeclExt.php
index 42632ea..059ba94 100644
--- a/include/PeclExt.php
+++ b/include/PeclExt.php
@@ -888,7 +888,7 @@ nodoc:
chdir($target);
$zip_file = TMP_DIR . DIRECTORY_SEPARATOR . $this->getPackageName() .