Changeset 51729 in webkit
- Timestamp:
- Dec 5, 2009 1:54:39 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r51728 r51729 1 2009-12-05 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Move update-webkit into BuildSteps 6 https://bugs.webkit.org/show_bug.cgi?id=32181 7 8 We need to move update-webkit out of SCM.py because SCM isn't supposed to know 9 that WebKit exists. The proper place for the knowledge of the existence of 10 update-webkit is in WebKitPort because some ports have specialized update 11 scripts (analogous to build-webkit). 12 13 * Scripts/modules/buildsteps.py: 14 * Scripts/modules/commands/download.py: 15 * Scripts/modules/landingsequence.py: 16 * Scripts/modules/scm.py: 17 * Scripts/modules/webkitport.py: 18 1 19 2009-12-05 Adam Barth <abarth@webkit.org> 2 20 -
trunk/WebKitTools/Scripts/modules/buildsteps.py
r51593 r51729 77 77 scm.ensure_clean_working_directory(force_clean=options.force_clean) 78 78 79 def update(self, port=WebKitPort): 80 log("Updating working directory") 81 run_and_throw_if_fail(port.update_webkit_command()) 82 79 83 def run_tests(self, launch_safari, fail_fast=False, quiet=False, port=WebKitPort): 80 84 args = port.run_webkit_tests_command() -
trunk/WebKitTools/Scripts/modules/commands/download.py
r51596 r51729 110 110 tool.steps.clean_working_directory(tool.scm(), options, allow_local_commits=True) 111 111 if options.update: 112 tool.s cm().update_webkit()112 tool.steps.update() 113 113 114 114 @staticmethod … … 387 387 388 388 tool.steps.clean_working_directory(tool.scm(), options) 389 tool.s cm().update_webkit()389 tool.steps.update() 390 390 tool.scm().apply_reverse_diff(revision) 391 391 self._create_changelogs_for_revert(tool, revision) -
trunk/WebKitTools/Scripts/modules/landingsequence.py
r51596 r51729 78 78 79 79 def update(self): 80 self._tool.s cm().update_webkit()80 self._tool.steps.update() 81 81 82 82 def apply_patch(self): -
trunk/WebKitTools/Scripts/modules/scm.py
r51462 r51729 252 252 raise NotImplementedError, "subclasses must implement" 253 253 254 def update_webkit(self):255 raise NotImplementedError, "subclasses must implement"256 257 254 def status_command(self): 258 255 raise NotImplementedError, "subclasses must implement" … … 363 360 self.run_command(['svn', 'revert', '-R', '.']) 364 361 365 def update_webkit(self):366 self.run_command(self.script_path("update-webkit"))367 368 362 def status_command(self): 369 363 return ['svn', 'status'] … … 458 452 if self.rebase_in_progress(): 459 453 self.run_command(['git', 'rebase', '--abort']) 460 461 def update_webkit(self):462 # FIXME: Call update-webkit once https://bugs.webkit.org/show_bug.cgi?id=27162 is fixed.463 log("Updating working directory")464 self.run_command(['git', 'svn', 'rebase'])465 454 466 455 def status_command(self): -
trunk/WebKitTools/Scripts/modules/webkitport.py
r51253 r51729 63 63 64 64 @classmethod 65 def run_webkit_tests_command(cls):66 return [cls.script_path(" run-webkit-tests")]65 def update_webkit_command(cls): 66 return [cls.script_path("update-webkit")] 67 67 68 68 @classmethod 69 69 def build_webkit_command(cls): 70 70 return [cls.script_path("build-webkit")] 71 72 @classmethod 73 def run_webkit_tests_command(cls): 74 return [cls.script_path("run-webkit-tests")] 71 75 72 76
Note: See TracChangeset
for help on using the changeset viewer.