Skip to content

Commit 9331e6e

Browse files
committed
Replace references to git.php.net
1 parent 53dd37e commit 9331e6e

8 files changed

+9
-22
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "shared"]
22
path = shared
3-
url = git://git.php.net/web/shared.git
3+
url = git@github.com:php/web-shared.git

howto_phpt.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in FAIL). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAIL).</p>
2525

26-
<p><a href="https://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/core/EPhptTestStatus.java;h=9c0e00a92b05e1f0bd21601e197ccb4466e2b6d4;hb=HEAD" target="_blank">Full info on PHPT Test Statuses</a></p>
26+
<p><a href="https://github.com/php/pftt2/blob/master/src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java#L28-L230" target="_blank">Full info on PHPT Test Statuses</a></p>
2727

2828
<p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p>
2929

howto_phpunit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in ERROR). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAILURE).</p>
2323

24-
<p><a href="https://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java;h=31aa09ba8ee577603af9f22d94f78c0ff830c038;hb=HEAD" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
24+
<p><a href="https://github.com/php/pftt2/blob/master/src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java#L28-L230" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
2525

2626
<p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p>
2727

pftt.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
?>
5959

60-
<p><strong>PFTT Source Code:</strong> <a href="https://git.php.net/?p=pftt2.git">https://git.php.net/?p=pftt2.git</a></p>
60+
<p><strong>PFTT Source Code:</strong> <a href="https://github.com/php/pftt2">https://github.com/php/pftt2</a></p>
6161

6262
<p><strong>PFTT Binaries:</strong> <a href="https://windows.php.net/downloads/snaps/ostc/pftt/" target="_blank">https://windows.php.net/downloads/snaps/ostc/pftt/</a></p>
6363

pftt_report.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
// all this script does is generate a directory for the branch+revision and store the (validated) report file in it
1010
//
11-
// the report file will either be for PHPT or PhpUnit reports generated by PFTT (see: git.php.net/pftt2.git )
11+
// the report file will either be for PHPT or PhpUnit reports generated by PFTT (see: https://github.com/php/pftt2)
1212
//
1313
// reports are stored as flat-files in reports/db/$branch/$revision (this is just a simple file upload script)
1414
//

pulls/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
<span id="loggedin"></span>
117117
<span id="notloggedin"><a href="#">Login</a></span>
118118
</div>
119-
<h1>Github Pull Requests</h1>
119+
<h1>Github Pull Requests (deprecated - github.com is now canonical)</h1>
120120
<?php
121121
if (!getenv('AUTH_TOKEN')) {
122122
echo '<div style="width: 100%; border: 2px solid red; padding:10px;"><b>Error:</b> AUTH_TOKEN not set</div><br>';

reports/viewreports.php

+2-15
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,8 @@
5858

5959

6060
//URL test
61-
if (substr($version, 0, 3) == '5.2') {
62-
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.2;f='.
63-
ltrim($testName, '/').'';
64-
} elseif (substr($version, 0, 3) == '5.3') {
65-
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.3;f='.
66-
ltrim($testName, '/').'';
67-
} elseif (substr($version, 0, 3) == '5.4') {
68-
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.4;f='.
69-
ltrim($testName, '/').'';
70-
} elseif (substr($version, 0, 3) == '5.5') {
71-
$urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/master;f='.
72-
ltrim($testName, '/').'';
73-
} else {
74-
$urlTest = '';
75-
}
61+
$v = substr($version, 0, 3);
62+
$urlTest = "https://github.com/php/php-src/blob/PHP-$v/".ltrim($testName, '/');
7663

7764
// BUG url
7865
if (preg_match('@bug([0-9]{1,}).phpt$@', $testName, $preg)) {

write-test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function get_active_branches() {
4949
php functions available. You can write a test on a basic language function (a string
5050
function or an array function) , or a function provided by one of PHP's numerous extensions
5151
(a mysql function or a image function or a mcrypt function).</p>
52-
<p>You can find out what functions already have phpt tests by looking in the <a href="https://git.php.net/?p=php-src.git;a=tree;">html
52+
<p>You can find out what functions already have phpt tests by looking in the <a href="https://github.com/php/php-src">html
5353
version</a> of the git repository (ext/standard/tests/ is a good place to start looking - though not
5454
<i>all</i> the tests currently written are in there). If you look at the <a href="http://gcov.php.net">gcov pages</a> you
5555
can see which functions have lots of tests and which need more, although these pages only

0 commit comments

Comments
 (0)