Changeset 249582 in webkit
- Timestamp:
- Sep 6, 2019 11:10:49 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r249575 r249582 1 2019-09-06 Matt Lewis <jlewis3@apple.com> 2 3 run-webkit-test: Allow results to be uploaded without scm checkout 4 https://bugs.webkit.org/show_bug.cgi?id=200787 5 6 Reviewed by Jonathan Bedard. 7 8 * Scripts/webkitpy/common/checkout/scm/detection.py: 9 (SCMDetector.detect_scm_system): Added in detection of stub repository. 10 * Scripts/webkitpy/common/checkout/scm/stub_repository.py: Added. 11 (StubRepository): 12 (StubRepository.__init__): 13 (StubRepository._find_parent_path_matching_callback_condition): Checks up the path given to 14 find the directory containing the checkout_information.json of the stub repository. 15 (StubRepository.in_working_directory): Required functions to be implemented. 16 (StubRepository.svn_revision): Required functions to be implemented. 17 (StubRepository.native_revision): Required functions to be implemented. 18 (StubRepository.native_branch): Required functions to be implemented. 19 (StubRepository._decode_json): Decodes checkout_information.json. 20 (StubRepository.find_checkout_root): Required functions to be implemented. 21 * Scripts/webkitpy/common/checkout/scm/stub_repository_unittest.py: Added. 22 (StubRepositoryTest): Unit test for stub_repository SCM. 23 (StubRepositoryTest.mock_host_for_stub_repository): 24 (StubRepositoryTest.test_in_working_directory): 25 (StubRepositoryTest.test_native_revision): 26 (StubRepositoryTest.test_native_branch): 27 (StubRepositoryTest.test_svn_revision): 28 (StubRepositoryTest.test_find_checkout_root): 29 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 30 (JSONResultsGenerator._get_svn_revision): Removed unnecessary scm initialization. 31 * Scripts/webkitpy/port/base.py: 32 (Port.commits_for_upload): Removed unnecessary scm initialization. 33 1 34 2019-09-06 Alex Christensen <achristensen@webkit.org> 2 35 -
trunk/Tools/Scripts/webkitpy/common/checkout/scm/detection.py
r186870 r249582 35 35 from .svn import SVN 36 36 from .git import Git 37 from .stub_repository import StubRepository 37 38 38 39 _log = logging.getLogger(__name__) … … 75 76 return Git(cwd=real_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive) 76 77 78 if StubRepository.in_working_directory(real_path, filesystem=self._filesystem): 79 return StubRepository(cwd=real_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive) 80 77 81 return None 78 82 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py
r239739 r249582 445 445 """ 446 446 447 # FIXME: We initialize this here in order to engage the stupid windows hacks :).448 # We can't reuse an existing scm object because the specific directories may449 # be part of other checkouts.450 self._port.host.initialize_scm()451 447 scm = SCMDetector(self._filesystem, self._executive).detect_scm_system(in_directory) 452 448 if scm: -
trunk/Tools/Scripts/webkitpy/port/base.py
r249500 r249582 1604 1604 from webkitpy.results.upload import Upload 1605 1605 1606 self.host.initialize_scm()1607 1608 1606 repos = {} 1609 1607 if port_config.apple_additions() and getattr(port_config.apple_additions(), 'repos', False):
Note: See TracChangeset
for help on using the changeset viewer.