Title: [294013] trunk/Websites/webkit.org
- Revision
- 294013
- Author
- [email protected]
- Date
- 2022-05-10 12:58:58 -0700 (Tue, 10 May 2022)
Log Message
[webkit.org] Replace svn.webkit.org with GitHub
https://bugs.webkit.org/show_bug.cgi?id=240093
<rdar://problem/92760014>
Reviewed by Ryan Haddad, Aakash Jain and Dewei Zhu.
* wp-content/themes/webkit/css-status.php: Replace svn.webkit.org with raw.githubusercontent.com.
* wp-content/themes/webkit/status.php: Ditto.
* wp-content/themes/webkit/team.php: Ditto.
Canonical link: https://commits.webkit.org/250447@main
Modified Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (294012 => 294013)
--- trunk/Websites/webkit.org/ChangeLog 2022-05-10 18:42:44 UTC (rev 294012)
+++ trunk/Websites/webkit.org/ChangeLog 2022-05-10 19:58:58 UTC (rev 294013)
@@ -1,3 +1,15 @@
+2022-05-04 Jonathan Bedard <[email protected]>
+
+ [webkit.org] Replace svn.webkit.org with GitHub
+ https://bugs.webkit.org/show_bug.cgi?id=240093
+ <rdar://problem/92760014>
+
+ Reviewed by Ryan Haddad, Aakash Jain and Dewei Zhu.
+
+ * wp-content/themes/webkit/css-status.php: Replace svn.webkit.org with raw.githubusercontent.com.
+ * wp-content/themes/webkit/status.php: Ditto.
+ * wp-content/themes/webkit/team.php: Ditto.
+
2022-04-15 Jonathan Bedard <[email protected]>
[webkit.org] Remove leading r from archive revisions (Follow-up fix)
Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/css-status.php (294012 => 294013)
--- trunk/Websites/webkit.org/wp-content/themes/webkit/css-status.php 2022-05-10 18:42:44 UTC (rev 294012)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/css-status.php 2022-05-10 19:58:58 UTC (rev 294013)
@@ -29,8 +29,8 @@
});
}
-var origin = new URL("<?php echo strpos(WP_HOST, "webkit.org") !== false ? "https://svn.webkit.org" : WP_HOME; ?>/");
-var loadCSSProperties = xhrPromise(new URL("/repository/webkit/trunk/Source/WebCore/css/CSSProperties.json", origin));
+var origin = new URL("https://raw.githubusercontent.com/");
+var loadCSSProperties = xhrPromise(new URL("/WebKit/WebKit/main/Source/WebCore/css/CSSProperties.json", origin));
</script>
Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/status.php (294012 => 294013)
--- trunk/Websites/webkit.org/wp-content/themes/webkit/status.php 2022-05-10 18:42:44 UTC (rev 294012)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/status.php 2022-05-10 19:58:58 UTC (rev 294013)
@@ -28,9 +28,9 @@
xhrRequest.send();
});
}
-var origin = new URL("<?php echo strpos(WP_HOST, "webkit.org") !== false ? "https://svn.webkit.org" : WP_HOME; ?>/");
-var loadJavaScriptCoreFeatures = xhrPromise(new URL("/repository/webkit/trunk/Source/_javascript_Core/features.json", origin));
-var loadWebCoreFeatures = xhrPromise(new URL("/repository/webkit/trunk/Source/WebCore/features.json", origin));
+var origin = new URL("https://raw.githubusercontent.com/");
+var loadJavaScriptCoreFeatures = xhrPromise(new URL("/WebKit/WebKit/main/Source/_javascript_Core/features.json", origin));
+var loadWebCoreFeatures = xhrPromise(new URL("/WebKit/WebKit/main/Source/WebCore/features.json", origin));
</script>
<style>
Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/team.php (294012 => 294013)
--- trunk/Websites/webkit.org/wp-content/themes/webkit/team.php 2022-05-10 18:42:44 UTC (rev 294012)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/team.php 2022-05-10 19:58:58 UTC (rev 294013)
@@ -118,7 +118,7 @@
<script>
-var svnTrunkUrl = 'https://svn.webkit.org/repository/webkit/trunk/';
+var gitHubMainURL = 'https://raw.githubusercontent.com/WebKit/WebKit/main/';
var domainAffiliations = {
'apple.com': 'Apple',
'adobe.com': 'Adobe',
@@ -263,7 +263,7 @@
populateContributorList(contributors, 'contributor');
};
xhr._onerror_ = function () { document.getElementById('team').textContent = 'There was an issue loading data for the WebKit Team. not obtain contributors.json'; };
-xhr.open('GET', svnTrunkUrl + 'metadata/contributors.json');
+xhr.open('GET', gitHubMainURL + 'metadata/contributors.json');
xhr.send();
</script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes