cvs: php-windows-web /docroot listing.php /include listing.php /templates header.php
| From: | Pierre-Alain Joye | Date: | Fri, 12 Jun 2009 13:48:05 +0000 |
| Subject: | cvs: php-windows-web /docroot listing.php /include listing.php /templates header.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-5024@lists.php.net to get a copy of this message | ||
pajoye Fri Jun 12 13:48:05 2009 UTC
Modified files:
/php-windows-web/docroot listing.php
/php-windows-web/include listing.php
/php-windows-web/templates header.php
Log:
- add team menu entry, link to the webPi, and little hack for test releases (used for release time
- 1d tests)
http://cvs.php.net/viewvc.cgi/php-windows-web/docroot/listing.php?r1=1.3&r2=1.4&diff_format=u
Index: php-windows-web/docroot/listing.php
diff -u php-windows-web/docroot/listing.php:1.3 php-windows-web/docroot/listing.php:1.4
--- php-windows-web/docroot/listing.php:1.3 Sun Mar 15 17:17:15 2009
+++ php-windows-web/docroot/listing.php Fri Jun 12 13:48:05 2009
@@ -102,6 +102,15 @@
}
?>
<p><a href="<?php echo $baseurl .
$versions[$major]['source']['path']; ?>">Download source
code</a> [<?php echo $versions[$major]['source']['size'];
?>]</p>
+
+<?php
+if (isset($versions[$major]['test_pack'])) {
+?>
+ <p><a href="<?php echo $baseurl .
$versions[$major]['test_pack']['path']; ?>">Download tests package
(phpt)</a> [<?php echo $versions[$major]['test_pack']['size'];
?>]</p>
+<?php
+}
+?>
+
<?php
foreach ($minor_order[$major] as $minor) {
?>
@@ -126,6 +135,11 @@
<span class="md5sum">sha1: <?php echo
$versions[$major][$minor]['installer']['sha1']; ?></span>
</li>
<?php } ?>
+<?php if (isset($versions[$major][$minor]['webpi_installer'])) { ?>
+ <li>
+ <a href="<?php echo $versions[$major][$minor]['webpi_installer'];
?>">Web Platform Installer (general installer for IIS only)</a><br />
+ </li>
+<?php } ?>
<?php if (isset($versions[$major][$minor]['debug_pack'])) { ?>
<li>
<a href="<?php echo $baseurl .
$versions[$major][$minor]['debug_pack']['path']; ?>">Debug
Pack</a>
http://cvs.php.net/viewvc.cgi/php-windows-web/include/listing.php?r1=1.6&r2=1.7&diff_format=u
Index: php-windows-web/include/listing.php
diff -u php-windows-web/include/listing.php:1.6 php-windows-web/include/listing.php:1.7
--- php-windows-web/include/listing.php:1.6 Sun Mar 15 17:17:15 2009
+++ php-windows-web/include/listing.php Fri Jun 12 13:48:05 2009
@@ -86,6 +86,9 @@
$releases = array();
$sha1sums = processSha1Sums($path);
foreach ($versions as $file) {
+ if (0&& !$snap && strpos($file, '5.2.9-2')) {
+ continue;
+ }
$file_ori = $file;
if ($snaps) {
$file = readlink($file);
@@ -118,7 +121,7 @@
if ($snaps) {
$debug_pack = 'php-debug-pack-' . $elms['version_short'] .
($elms['nts'] ? '-' . $elms['nts'] : '') .
'-win32' . ($elms['ts'] ? '-' . $elms['vc'] . '-'
. $elms['arch'] . '-latest' : '') . '.zip';
$installer = 'php-' . $elms['version_short'] . ($elms['nts'] ?
'-' . $elms['nts'] : '') . '-win32' . ($elms['ts']
? '-' . $elms['vc'] . '-' . $elms['arch'] .
'-latest' : '') . '.msi';
-
+ $testpack = 'php-test-pack-' . $elms['version_short'] .
'-latest.zip';
$source = 'php-' . $elms['version_short'] . '/php-' .
$elms['version_short'] . '-src-latest.zip';
$configure = 'configure-' . $elms['version_short'] . '-' .
$elms['vc'] . '-' . $elms['arch'] . '-' .
($elms['nts'] ? $elms['nts'] . '-' : '') .
$snap_time_suffix . '.log';
$compile = 'compile-' . $elms['version_short'] . '-' .
$elms['vc'] . '-' . $elms['arch'] . '-' .
($elms['nts'] ? $elms['nts'] . '-' : '') . $snap_time_suffix
. '.log';
@@ -152,6 +155,14 @@
'sha1' => $sha1sums[strtolower($installer)]
);
}
+ if (file_exists($testpack)) {
+ $releases[$version_short]['test_pack'] = array(
+ 'size' => bytes2string(filesize($testpack)),
+ 'path' => $testpack,
+ 'sha1' => $sha1sums[strtolower($testpack)]
+ );
+ }
+
if ($snaps) {
if ($buildconf) {
@@ -163,6 +174,10 @@
if ($configure) {
$releases[$version_short][$key]['configure'] = $configure;
}
+ } else {
+ if ($version_short == '5.2' && strpos($key, 'nts') !== false) {
+ $releases[$version_short][$key]['webpi_installer'] = 'http://www.microsoft.com/web/gallery/install.aspx?appsxml=www.microsoft.com%2Fweb%2Fwebpi%2F2.0%2FWebProductList.xml%3Bwww.microsoft.com%2Fweb%2Fwebpi%2F2.0%2FWebProductList.xml%3Bwww.microsoft.com%2Fweb%2Fwebpi%2F2.0%2FWebProductList.xml&appid=201%3B202%3B203';
+ }
}
}
http://cvs.php.net/viewvc.cgi/php-windows-web/templates/header.php?r1=1.4&r2=1.5&diff_format=u
Index: php-windows-web/templates/header.php
diff -u php-windows-web/templates/header.php:1.4 php-windows-web/templates/header.php:1.5
--- php-windows-web/templates/header.php:1.4 Fri Jun 12 00:54:29 2009
+++ php-windows-web/templates/header.php Fri Jun 12 13:48:05 2009
@@ -3,21 +3,21 @@
<head>
<title>PHP For Windows: <?php echo $title_page; ?></title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
/>
+ <meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<!-- base href="http://windows.php.net/index.php" -->
- <link type="text/css" media="screen" rel="stylesheet"
href="/styles/screen.css" />
- <link type="text/css" media="print" rel="stylesheet"
href="/styles/print.css" />
- <link type="text/css" media="handfield" rel="stylesheet"
href="/styles/handfield.css" />
+ <link type="text/css" media="screen" rel="stylesheet"
href="/styles/screen.css">
+ <link type="text/css" media="print" rel="stylesheet"
href="/styles/print.css">
+ <link type="text/css" media="handfield" rel="stylesheet"
href="/styles/handfield.css">
<!--[if lt IE 8]>
- <link type="text/css" rel="stylesheet" media="screen"
href="/styles/ie.css" />
+ <link type="text/css" rel="stylesheet" media="screen"
href="styles/ie.css" />
<![endif]-->
<link rel="icon" href="http://windows.php.net/favicon.ico"
type="image/x-icon" />
- <link rel="search" type="application/opensearchdescription+xml"
href="http://www.php.net/phpnetimprovedsearch.src"
title="Add PHP.net search" />
- <link rel="alternate" type="application/atom+xml" href="http://www.php.net/releases.atom"
title="PHP Release feed" />
+ <link rel="search" type="application/opensearchdescription+xml"
href="http://www.php.net/phpnetimprovedsearch.src"
title="Add PHP.net search">
+ <link rel="alternate" type="application/atom+xml" href="http://www.php.net/releases.atom"
title="PHP Release feed">
- <link rel="alternate" type="application/atom+xml" title="PHP:
Hypertext Preprocessor" href="http://windows.php.net/feed.atom" />
+ <link rel="alternate" type="application/atom+xml" title="PHP:
Hypertext Preprocessor" href="http://windows.php.net/feed.atom">
<script type="text/javascript"
src="/js/userprefs.js"></script>
</head>