Revert correctly.
/sigh
diff --git a/commits/repositories.php b/commits/repositories.php
index d34e1b8..71c8fb9 100644
--- a/commits/repositories.php
+++ b/commits/repositories.php
@@ -167,7 +167,7 @@
function getGerritUrl($path) {
preg_match('/\/gitroot\/(.+)\.git$/', $path, $matches);
$partial = $matches[1];
- $gerrit = "https://git.eclipse.org/r/$partial";
+ $gerrit = "https://git.eclipse.org/r/p/$partial";
$known = getGerritRepositoryData();
if (isset($known[$partial])) return $gerrit;
@@ -183,7 +183,7 @@
* @return mixed
*/
function getGerritRepositoryData() {
- $file = fopen('https://git.eclipse.org/r/p/projects/', 'r');
+ $file = fopen('https://git.eclipse.org/r/projects/', 'r');
fgets($file); // Skip the first line
$data = '';
while ($line = fgets($file)) $data .= $line;