Remove special handling of polarsys.
Change-Id: I06889cb47fd6d5c0c753a6bb84366d10b482eccc
diff --git a/classes/Forge.class.inc b/classes/Forge.class.inc
index 055e2d7..024b7f2 100644
--- a/classes/Forge.class.inc
+++ b/classes/Forge.class.inc
@@ -35,12 +35,6 @@
'id' => 'eclipse',
'name' => 'Eclipse',
'url' => 'https://projects.eclipse.org'
- ),
- // FIXME When we complete the migration, we will just remove this entry.
- 'polarsys' => array(
- 'id' => 'polarsys',
- 'name' => 'PolarSys',
- 'url' => 'https://projects.eclipse.org'
)
);
diff --git a/classes/projects.ini b/classes/projects.ini
index 3972bdc..d8e1009 100644
--- a/classes/projects.ini
+++ b/classes/projects.ini
@@ -5,12 +5,12 @@
; Brands apply to a project and all of its subprojects. For projects under the
; particular TLP, the brand name is added when it is not already present.
tlp[locationtech] = LocationTech
-tlp[polarsys.polarsys] = PolarSys
; Describe project moves. In the past, we duplicated records when
; we moved a project. This configuration should be relatively stable
; as we now just change the records in place.
+move[modeling.mmt.modisco] = modeling.modisco
move[technology.ecf] = rt.ecf
move[technology.dash.athena] = technology.athena
move[technology.buckminster] = tools.buckminster
@@ -52,7 +52,6 @@
move[technology.jwt] = soa.jwt
remove[] = galileo
-remove[] = polarsys
remove[] = technology.soc
; Some project names are registered trademarks.
diff --git a/export/project_info.json.php b/export/project_info.json.php
index c944203..963d78c 100644
--- a/export/project_info.json.php
+++ b/export/project_info.json.php
@@ -24,12 +24,7 @@
require_once(dirname(__FILE__) . "/../classes/debug.php");
function getProjectBaseUrl($id) {
- // FIXME Use the Forge class.
- if (preg_match('/^polarsys\.(.+)$/', $id, $matches)) {
- return 'https://projects.eclipse.org/projects/' . $matches[1];
- } else {
- return 'https://projects.eclipse.org/projects/' . $id;
- }
+ return 'https://projects.eclipse.org/projects/' . $id;
}
if (!$id = $_SERVER['REQUEST_METHOD'] == 'GET' ? @$_GET['text'] : @$_POST['text']) {
@@ -50,7 +45,6 @@
from Projects
where IsActive
and (ProjectID like '%:id%' or Name like '%:id%')
- and ProjectID not in ('polarsys')
limit 10";
$projects = array();
diff --git a/export/repositories.json.php b/export/repositories.json.php
index a5d8d71..6b44c1b 100644
--- a/export/repositories.json.php
+++ b/export/repositories.json.php
@@ -23,7 +23,6 @@
$json = array();
$json['eclipse'] = getRepositories('http://projects.eclipse.org/json/repos/git', 'git://git.eclipse.org');
-$json['polarsys'] = getRepositories('https://polarsys.org/json/repos/git', 'git://polarsys.org');
echo json_encode($json);
?>
\ No newline at end of file
diff --git a/export/updates.json.php b/export/updates.json.php
index acd5e9f..ab796ad 100644
--- a/export/updates.json.php
+++ b/export/updates.json.php
@@ -18,7 +18,7 @@
$output = array();
// FIXME Use the Forge class.
-$forges = array('polarsys');
+$forges = array();
// We build up a "where" clause bit-by-bit. The $and variable is an array
// that will contain all of the conjunctive conditions. Based on various