Title: [220328] trunk/Tools
Revision
220328
Author
ryanhad...@apple.com
Date
2017-08-06 20:24:50 -0700 (Sun, 06 Aug 2017)

Log Message

Unreviewed, rolling out r220295.

This change introduced 4 errors in webkitpy tests.

Reverted changeset:

"[XCode] webkit-patch should run sort-Xcode-project-file"
https://bugs.webkit.org/show_bug.cgi?id=174036
http://trac.webkit.org/changeset/220295

Modified Paths

Removed Paths

Diff

Modified: trunk/Tools/ChangeLog (220327 => 220328)


--- trunk/Tools/ChangeLog	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/ChangeLog	2017-08-07 03:24:50 UTC (rev 220328)
@@ -1,3 +1,15 @@
+2017-08-06  Ryan Haddad  <ryanhad...@apple.com>
+
+        Unreviewed, rolling out r220295.
+
+        This change introduced 4 errors in webkitpy tests.
+
+        Reverted changeset:
+
+        "[XCode] webkit-patch should run sort-Xcode-project-file"
+        https://bugs.webkit.org/show_bug.cgi?id=174036
+        http://trac.webkit.org/changeset/220295
+
 2017-08-04  Ryan Haddad  <ryanhad...@apple.com>
 
         Disable API test NowPlayingControlsTests.NowPlayingControlsIOS.

Modified: trunk/Tools/Scripts/webkitpy/common/config/ports.py (220327 => 220328)


--- trunk/Tools/Scripts/webkitpy/common/config/ports.py	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/Scripts/webkitpy/common/config/ports.py	2017-08-07 03:24:50 UTC (rev 220328)
@@ -134,10 +134,7 @@
         command = self.script_shell_command("run-api-tests")
         return self._append_build_style_flag(command, build_style)
 
-    def run_sort_xcode_project_file_command(self):
-        return self.script_shell_command("sort-Xcode-project-file")
 
-
 class IOSPort(DeprecatedPort):
     port_flag_name = "ios-device"
 

Modified: trunk/Tools/Scripts/webkitpy/tool/commands/download.py (220327 => 220328)


--- trunk/Tools/Scripts/webkitpy/tool/commands/download.py	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/download.py	2017-08-07 03:24:50 UTC (rev 220328)
@@ -127,7 +127,6 @@
     name = "land-cowhand"
     help_text = "Prepares a ChangeLog and lands the current working directory diff."
     steps = [
-        steps.SortXcodeProjectFiles,
         steps.PrepareChangeLog,
         steps.EditChangeLog,
         steps.CheckStyle,

Modified: trunk/Tools/Scripts/webkitpy/tool/commands/upload.py (220327 => 220328)


--- trunk/Tools/Scripts/webkitpy/tool/commands/upload.py	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/upload.py	2017-08-07 03:24:50 UTC (rev 220328)
@@ -257,7 +257,6 @@
     steps = [
         steps.PromptForBugOrTitle,
         steps.CreateBug,
-        steps.SortXcodeProjectFiles,
         steps.PrepareChangeLog,
     ]
 
@@ -276,7 +275,6 @@
         steps.CheckStyle,
         steps.PromptForBugOrTitle,
         steps.CreateBug,
-        steps.SortXcodeProjectFiles,
         steps.PrepareChangeLog,
         steps.EditChangeLog,
         steps.ConfirmDiff,

Modified: trunk/Tools/Scripts/webkitpy/tool/steps/__init__.py (220327 => 220328)


--- trunk/Tools/Scripts/webkitpy/tool/steps/__init__.py	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/Scripts/webkitpy/tool/steps/__init__.py	2017-08-07 03:24:50 UTC (rev 220328)
@@ -59,7 +59,6 @@
 from webkitpy.tool.steps.reopenbugafterrollout import ReopenBugAfterRollout
 from webkitpy.tool.steps.revertrevision import RevertRevision
 from webkitpy.tool.steps.runtests import RunTests
-from webkitpy.tool.steps.sortxcodeprojectfiles import SortXcodeProjectFiles
 from webkitpy.tool.steps.suggestreviewers import SuggestReviewers
 from webkitpy.tool.steps.update import Update
 from webkitpy.tool.steps.updatechangelogswithreviewer import UpdateChangeLogsWithReviewer

Modified: trunk/Tools/Scripts/webkitpy/tool/steps/options.py (220327 => 220328)


--- trunk/Tools/Scripts/webkitpy/tool/steps/options.py	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/Scripts/webkitpy/tool/steps/options.py	2017-08-07 03:24:50 UTC (rev 220328)
@@ -57,7 +57,6 @@
     request_commit = make_option("--request-commit", action="" dest="request_commit", default=False, help="Request that the patch be added to the commit queue after review.")
     review = make_option("--no-review", action="" dest="review", default=True, help="Do not mark the patch for review.")
     reviewer = make_option("-r", "--reviewer", action="" type="string", dest="reviewer", help="Update ChangeLogs to say Reviewed by REVIEWER.")
-    sort_xcode_project = make_option("--no-sort-xcode-project", action="" dest="sort_xcode_project", default=True, help="Don't sort modified xcode projects.")
     suggest_reviewers = make_option("--suggest-reviewers", action="" default=False, help="Offer to CC appropriate reviewers.")
     test = make_option("--test", action="" dest="test", default=False, help="Run run-webkit-tests before committing.")
     iterate_on_new_tests = make_option("--iterate-on-new-tests", action="" type="int", dest="iterate_on_new_tests", default=0, help="Run run-webkit-tests on new tests only before committing, iterating a given number of time.")

Deleted: trunk/Tools/Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py (220327 => 220328)


--- trunk/Tools/Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py	2017-08-07 03:00:55 UTC (rev 220327)
+++ trunk/Tools/Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py	2017-08-07 03:24:50 UTC (rev 220328)
@@ -1,58 +0,0 @@
-# Copyright (C) 2017 Sony Interactive Entertainment
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-#     * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#     * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following disclaimer
-# in the documentation and/or other materials provided with the
-# distribution.
-#     * Neither the name of Sony Interactive Entertainment nor the names
-# of its contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-import logging
-import re
-import sys
-
-from webkitpy.common.system.executive import ScriptError
-from webkitpy.tool.steps.abstractstep import AbstractStep
-from webkitpy.tool.steps.options import Options
-
-_log = logging.getLogger(__name__)
-
-
-class SortXcodeProjectFiles(AbstractStep):
-    @classmethod
-    def options(cls):
-        return AbstractStep.options() + [
-            Options.sort_xcode_project,
-        ]
-
-    def run(self, state):
-        if self._options.sort_xcode_project:
-            changed_pbxproj = [file for file in self._changed_files(state) if file.endswith(".pbxproj")]
-            if (len(changed_pbxproj) > 0):
-                args = self._tool.deprecated_port().run_sort_xcode_project_file_command()
-                args = args + changed_pbxproj
-                try:
-                    output = self._tool.executive.run_and_throw_if_fail(args, self._options.quiet, cwd=self._tool.scm().checkout_root)
-                    self.did_modify_checkout(state)
-                except ScriptError, e:
-                    _log.error("Unable to sort modified xcode projects.")
-                    sys.exit(1)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to