Skip to content
Permalink
Browse files
[webkit.org] Remove leading r from archive revisions
https://bugs.webkit.org/show_bug.cgi?id=239322
<rdar://problem/91735590>

Reviewed by Ryan Haddad.

* Websites/webkit.org/wp-content/themes/webkit/build-archives.php: Remove leading 'r' from revisions,
since "revisions" will now be identifiers.

Canonical link: https://commits.webkit.org/249659@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JonWBedard committed Apr 14, 2022
1 parent 21a843f commit 940b17a901193cc1fd0025a3d0964bd5f73354b5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
@@ -1,3 +1,14 @@
2022-04-13 Jonathan Bedard <jbedard@apple.com>

[webkit.org] Remove leading r from archive revisions
https://bugs.webkit.org/show_bug.cgi?id=239322
<rdar://problem/91735590>

Reviewed by Ryan Haddad.

* wp-content/themes/webkit/build-archives.php: Remove leading 'r' from revisions,
since "revisions" will now be identifiers.

2022-03-11 Jon Davis <jond@apple.com>

Allow table of contents on posts in special cases
@@ -47,7 +47,7 @@ public function get_latest($platform_key) {
$revision = new stdClass();
$revision->url = $entry->s3_url->S;
$revision->creationTime = $entry->creationTime->N;
$latest[$platform_key]["r" . $entry->revision->N] = $revision;
$latest[$platform_key][$entry->revision->N] = $revision;
}

set_transient($cachekey, serialize($latest), 600); // expire cache every 10 minutes

0 comments on commit 940b17a

Please sign in to comment.