DevHeads.net

com web/windows: Add 7.3 to the listings: docroot/listing.php script/generate_snap_page.php templates/snaps.php

Link: <a href="http://git.php.net/?p=web/windows.git;a=commitdiff;h=979d55ed3f240a7fb2e026d51a3eb47cd5bedc83" title="http://git.php.net/?p=web/windows.git;a=commitdiff;h=979d55ed3f240a7fb2e026d51a3eb47cd5bedc83">http://git.php.net/?p=web/windows.git;a=commitdiff;h=979d55ed3f240a7fb2e...</a>

Log:
Add 7.3 to the listings

Changed paths:
M docroot/listing.php
M script/generate_snap_page.php
M templates/snaps.php

Diff:
diff --git a/docroot/listing.php b/docroot/listing.php
index 3e1967d..3f8e0c5 100644
--- a/docroot/listing.php
+++ b/docroot/listing.php
@@ -33,7 +33,7 @@ include __DIR__ . '/../include/listing.php';
$baseurl = '/' . $dir_to_parse . '/';

$versions = generate_listing($dir_to_parse, $snaps);
-$major_order = array('7.2', '7.1', '7.0', '5.6');
+$major_order = array('7.3' '7.2', '7.1', '7.0', '5.6');
$minor_order = array(
'5.6' => array(
'nts-VC11-x64',
@@ -59,6 +59,12 @@ $minor_order = array(
'nts-VC15-x86',
'ts-VC15-x86'
),
+ '7.3' => array(
+ 'nts-VC15-x64',
+ 'ts-VC15-x64',
+ 'nts-VC15-x86',
+ 'ts-VC15-x86'
+ ),
);

$labels = array(
diff --git a/script/generate_snap_page.php b/script/generate_snap_page.php
index a553ca4..b5cb101 100644
--- a/script/generate_snap_page.php
+++ b/script/generate_snap_page.php
@@ -3,7 +3,7 @@
include __DIR__ . '/../include/config.php';

/* TODO: use exported branches list when available instead */
-$active_branches = array('master', '7.2', '7.1', '7.0', '5.6');
+$active_branches = array('master', '7.3', '7.2', '7.1', '7.0', '5.6');

$builds = array(
'master' => array(
@@ -14,6 +14,14 @@ $builds = array(
'nts-windows-vc15-x86-avx',
'ts-windows-vc15-x86-avx'
),
+ '7.3' => array(
+ 'nts-windows-vc15-x64',
+ 'ts-windows-vc15-x64',
+ 'nts-windows-vc15-x86',
+ 'ts-windows-vc15-x86',
+ 'nts-windows-vc15-x86-avx',
+ 'ts-windows-vc15-x86-avx'
+ ),
'7.2' => array(
'nts-windows-vc15-x64',
'ts-windows-vc15-x64',
diff --git a/templates/snaps.php b/templates/snaps.php
index 6cd5a38..98fa139 100644
--- a/templates/snaps.php
+++ b/templates/snaps.php
@@ -1,7 +1,7 @@
<?php
include __DIR__ . '/../include/tools.php';

-$major_order = array('7.2', '7.1', '7.0', '5.6', 'master');
+$major_order = array('7.3', '7.2', '7.1', '7.0', '5.6', 'master');
$minor_order = array(
'master' => array(
'nts-windows-vc15-x64',
@@ -11,6 +11,14 @@ $minor_order = array(
'nts-windows-vc15-x64-avx',
'ts-windows-vc15-x64-avx',
),
+ '7.3' => array(
+ 'nts-windows-vc15-x64',
+ 'ts-windows-vc15-x64',
+ 'nts-windows-vc15-x86',
+ 'ts-windows-vc15-x86',
+ 'nts-windows-vc15-x64-avx',
+ 'ts-windows-vc15-x64-avx',
+ ),
'7.2' => array(
'nts-windows-vc15-x64',
'ts-windows-vc15-x64',