Bug 51323 - Move web sites to Websites directory
Summary: Move web sites to Websites directory
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 01:28 PST by Adam Barth
Modified: 2011-06-20 02:33 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2010-12-20 01:28:12 PST
WebKitSite, BugsSite, and PlanetWebKit should move to Sites/webkit.org, Sites/bugs.webkit.org, and Sites/planet.webkit.org, respectively.
Comment 1 Adam Barth 2010-12-20 01:33:17 PST
The patch is 18MB but I can only upload 2MB patches...  Can I request a review without an actual patch?
Comment 2 Adam Barth 2010-12-20 01:34:42 PST
This is the only non-trivial part:


Index: Scripts/webkitpy/layout_tests/port/base.py
===================================================================
--- Scripts/webkitpy/layout_tests/port/base.py	(revision 74332)
+++ Scripts/webkitpy/layout_tests/port/base.py	(working copy)
@@ -115,8 +115,8 @@
         # http://bugs.python.org/issue3210
         self._wdiff_available = True
 
-        self._pretty_patch_path = self.path_from_webkit_base("BugsSite",
-            "PrettyPatch", "prettify.rb")
+        self._pretty_patch_path = self.path_from_webkit_base("Sites",
+            "bugs.webkit.org", "PrettyPatch", "prettify.rb")
         self._pretty_patch_available = True
         self.set_option_default('configuration', None)
         if self._options.configuration is None:
Index: Scripts/webkitpy/style/main.py
===================================================================
--- Scripts/webkitpy/style/main.py	(revision 74332)
+++ Scripts/webkitpy/style/main.py	(working copy)
@@ -80,8 +80,8 @@
         #        using path-based heuristics rather than using only the
         #        presence of a WebKit checkout.  For example, we could
         #        examine parent directories until a directory is found
-        #        containing JavaScriptCore, WebCore, WebKit, WebKitSite,
-        #        and WebKitTools.
+        #        containing JavaScriptCore, WebCore, WebKit, Sites,
+        #        and Tools.
         #             Then log an INFO message saying that a source root not
         #        in a WebKit checkout was found.  This will allow us to check
         #        the style of non-scm copies of the source tree (e.g.
Index: Scripts/webkitpy/common/config/build_unittest.py
===================================================================
--- Scripts/webkitpy/common/config/build_unittest.py	(revision 74332)
+++ Scripts/webkitpy/common/config/build_unittest.py	(working copy)
@@ -27,8 +27,8 @@
 
 class ShouldBuildTest(unittest.TestCase):
     _should_build_tests = [
-        (["BugsSite/foo", "WebCore/bar"], ["*"]),
-        (["BugsSite/foo"], []),
+        (["Sites/bugs.webkit.org/foo", "WebCore/bar"], ["*"]),
+        (["Sites/bugs.webkit.org/foo"], []),
         (["JavaScriptCore/JavaScriptCore.xcodeproj/foo"], ["mac-leopard", "mac-snowleopard"]),
         (["JavaScriptGlue/foo", "WebCore/bar"], ["*"]),
         (["JavaScriptGlue/foo"], ["mac-leopard", "mac-snowleopard"]),
Index: Scripts/webkitpy/common/config/build.py
===================================================================
--- Scripts/webkitpy/common/config/build.py	(revision 74332)
+++ Scripts/webkitpy/common/config/build.py	(working copy)
@@ -41,12 +41,10 @@
 
     directories = [
         # Directories that shouldn't trigger builds on any bots.
-        ("BugsSite", []),
         ("PageLoadTests", []),
-        ("PlanetWebKit", []),
         ("WebCore/manual-tests", []),
         ("Examples", []),
-        ("WebKitSite", []),
+        ("Sites", []),
         ("android", []),
         ("brew", []),
         ("efl", []),
Index: Scripts/webkitpy/common/prettypatch.py
===================================================================
--- Scripts/webkitpy/common/prettypatch.py	(revision 74332)
+++ Scripts/webkitpy/common/prettypatch.py	(working copy)
@@ -53,7 +53,8 @@
             return ""
 
         pretty_patch_path = os.path.join(self._checkout_root,
-                                         "BugsSite", "PrettyPatch")
+                                         "Sites", "bugs.webkit.org",
+                                         "PrettyPatch")
         prettify_path = os.path.join(pretty_patch_path, "prettify.rb")
         args = [
             "ruby",
Index: Scripts/old-run-webkit-tests
===================================================================
--- Scripts/old-run-webkit-tests	(revision 74332)
+++ Scripts/old-run-webkit-tests	(working copy)
@@ -1970,7 +1970,7 @@
     system "diff -u \"$copiedExpectedResultsPath\" \"$actualResultsPath\" > \"$diffOutputPath\"";
 
     my $prettyDiffOutputPath = "$diffOuputBasePath-$prettyDiffTag.html";
-    my $prettyPatchPath = "BugsSite/PrettyPatch/";
+    my $prettyPatchPath = "Sites/bugs.webkit.org/PrettyPatch/";
     my $prettifyPath = "$prettyPatchPath/prettify.rb";
     system "ruby -I \"$prettyPatchPath\" \"$prettifyPath\" \"$diffOutputPath\" > \"$prettyDiffOutputPath\"";
 }
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 74335)
+++ ChangeLog	(working copy)
@@ -1,3 +1,19 @@
+2010-12-20  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by NOBODY (OOPS!).
+
+        Move web sites to Sites directory
+        https://bugs.webkit.org/show_bug.cgi?id=51323
+
+        Update references to BugsSite to point to the new location.
+
+        * Scripts/old-run-webkit-tests:
+        * Scripts/webkitpy/common/config/build.py:
+        * Scripts/webkitpy/common/config/build_unittest.py:
+        * Scripts/webkitpy/common/prettypatch.py:
+        * Scripts/webkitpy/layout_tests/port/base.py:
+        * Scripts/webkitpy/style/main.py:
+
 2010-12-20  Ryuan Choi  <ryuan.choi@samsung.com>
 
         Reviewed by Antonio Gomes.
Comment 3 Eric Seidel (no email) 2010-12-20 03:52:04 PST
I would probably Just named it Sites/www.  Also, don't forget queues. :)
Comment 4 Mark Rowe (bdash) 2010-12-20 09:50:23 PST
(In reply to comment #3)
> I would probably Just named it Sites/www.

Why? www.webkit.org redirects you to webkit.org and doesn’t contain any content itself.
Comment 5 Eric Seidel (no email) 2010-12-20 11:29:32 PST
Cause then they could all have nice short sub-domain names.  like Sites/bugs, Sites/build Sites/queues, etc.  But my level of passion on this subject is pretty low. :)
Comment 6 Mark Rowe (bdash) 2010-12-20 11:36:24 PST
(In reply to comment #5)
> Cause then they could all have nice short sub-domain names.  like Sites/bugs, Sites/build Sites/queues, etc.  But my level of passion on this subject is pretty low. :)

I don’t think abbreviating for the sake of it makes things clearer.  It’s not like these are paths that people need to frequently type.

Adam, I’d say go ahead and do this unless you hear any complaints.
Comment 7 Adam Barth 2010-12-20 14:00:22 PST
> Adam, I’d say go ahead and do this unless you hear any complaints.

Ok.  I'll probably land tonight.

Thoughts on Sites versus Websites for the directory name?
Comment 8 Adam Barth 2010-12-20 23:12:47 PST
I just landed this in a few pieces finishing in http://trac.webkit.org/changeset/74396.  I'd be much obliged if wms or bdash would work whatever server magic needs working after this change.
Comment 9 William Siegrist 2010-12-20 23:37:16 PST
I have updated the servers.   (btw, bdash doesn't work on the servers anymore)
Comment 10 Adam Barth 2010-12-20 23:42:51 PST
(In reply to comment #9)
> I have updated the servers.

Thanks!

> (btw, bdash doesn't work on the servers anymore)

Ah ok, but he owns one or more of the build slaves?
Comment 11 William Siegrist 2010-12-20 23:57:42 PST
(In reply to comment #10)
> (In reply to comment #9)
> > (btw, bdash doesn't work on the servers anymore)
> 
> Ah ok, but he owns one or more of the build slaves?

I believe so.