Skip to content
Permalink
Browse files
[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
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JonWBedard committed May 10, 2022
1 parent 6032dcf commit 007f5cf16dc8c688c5b553e5de26f252db68fd0f
@@ -1,3 +1,15 @@
2022-05-04 Jonathan Bedard <jbedard@apple.com>

[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 <jbedard@apple.com>

[webkit.org] Remove leading r from archive revisions (Follow-up fix)
@@ -29,8 +29,8 @@ function xhrPromise(url) {
});
}

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>

@@ -28,9 +28,9 @@ function xhrPromise(url) {
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/JavaScriptCore/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/JavaScriptCore/features.json", origin));
var loadWebCoreFeatures = xhrPromise(new URL("/WebKit/WebKit/main/Source/WebCore/features.json", origin));
</script>

<style>
@@ -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 @@ function findListChildForContributor(contributor) {
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>

0 comments on commit 007f5cf

Please sign in to comment.