| Summary: | [webkitcorepy] Spin off general webkitpy tools into a pip module | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> | ||||||
| Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aakash_jain, alancoon, ap, clopez, dean_johnson, dewei_zhu, ews-watchlist, glenn, Hironori.Fujii, hysu, jlewis3, kocsen_chung, pnormand, repstein, ross.kirsling, slewis, webkit-bug-importer, zhifei_fang | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 13 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=214378 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jonathan Bedard
2020-07-14 11:22:33 PDT
Created attachment 404258 [details]
Patch
Comment on attachment 404258 [details]
Patch
The consensus I've heard so far is that this is the right direction.
Obviously a single class is insufficient for a library, but I think that doing this piece-by-piece will result in cleaner SCM history as well as more thorough code review.
Comment on attachment 404258 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404258&action=review > Tools/Scripts/webkitpy/port/win.py:-40 > -from webkitpy.common.system.executive import Executive Do we intentionally remove this? If so, maybe we should mention it in the change log. Comment on attachment 404258 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404258&action=review >> Tools/Scripts/webkitpy/port/win.py:-40 >> -from webkitpy.common.system.executive import Executive > > Do we intentionally remove this? If so, maybe we should mention it in the change log. This was intentional, I have an IDE configured and removed unused imports. I'll update changelogs. Comment on attachment 404258 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404258&action=review >>> Tools/Scripts/webkitpy/port/win.py:-40 >>> -from webkitpy.common.system.executive import Executive >> >> Do we intentionally remove this? If so, maybe we should mention it in the change log. > > This was intentional, I have an IDE configured and removed unused imports. I'll update changelogs. Got it. pip? Do you plan to add the such modules into PyPI? And, use them by auto-installing? (In reply to Fujii Hironori from comment #6) > pip? Do you plan to add the such modules into PyPI? And, use them by > auto-installing? We definitely are going to be adding these to a package index, not clear yet if we want to add them to the globally accessible one. (Apple has a private package index which we prefer over the global one, but other organizations developing WebKit may want to install these packages, which would likely push us to add them to the global package index) As for auto-installing, yes, but not for WebKit development from the WebKit repository. That should remain unchanged because it's useful to pair WebKit changes with script changes. The use case for auto-installing our own packages that I had in mind is the various Python services we host (which don't share a ton of code at the moment) Created attachment 404392 [details]
Patch for landing
Committed r264425: <https://trac.webkit.org/changeset/264425> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404392 [details]. |