RESOLVED FIXED 228867
[git-webkit] Add automatic Editor configuration
https://bugs.webkit.org/show_bug.cgi?id=228867
Summary [git-webkit] Add automatic Editor configuration
Jonathan Bedard
Reported 2021-08-06 10:04:34 PDT
Although git provides a command line API to set your log editor, I've found many folks aren't familiar with setting that up. Given that the set of commonly used editors is pretty small, I think we can improve engineering effectiveness by automating this process.
Attachments
Patch (9.07 KB, patch)
2021-08-06 10:21 PDT, Jonathan Bedard
no flags
Patch (14.89 KB, patch)
2021-08-06 16:44 PDT, Jonathan Bedard
no flags
Patch (14.88 KB, patch)
2021-08-10 16:53 PDT, Jonathan Bedard
no flags
Patch (13.03 KB, patch)
2021-08-31 15:45 PDT, Jonathan Bedard
no flags
Patch for landing (14.29 KB, patch)
2021-09-01 10:17 PDT, Jonathan Bedard
no flags
Radar WebKit Bug Importer
Comment 1 2021-08-06 10:08:34 PDT
Jonathan Bedard
Comment 2 2021-08-06 10:21:31 PDT
Jonathan Bedard
Comment 3 2021-08-06 16:44:32 PDT
Jonathan Bedard
Comment 4 2021-08-10 16:53:09 PDT
Jonathan Bedard
Comment 5 2021-08-31 15:45:54 PDT
dewei_zhu
Comment 6 2021-09-01 09:38:46 PDT
Comment on attachment 436954 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436954&action=review > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/editor.py:34 > + path='/Applications/Atom.app/Contents/Resources/app/atom.sh', Is it save to assume the user uses macOS?
Jonathan Bedard
Comment 7 2021-09-01 09:47:22 PDT
Comment on attachment 436954 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436954&action=review >> Tools/Scripts/libraries/webkitcorepy/webkitcorepy/editor.py:34 >> + path='/Applications/Atom.app/Contents/Resources/app/atom.sh', > > Is it save to assume the user uses macOS? No, that's why these are functions. I know that I've missed both editors and instances of editors on specific OSes. If the path to an editor doesn't exist, it won't be provided as an option. I'm not sure how folks who use atom (or sublime or textmate) on non-mac OSes have their development environments setup, if anyone feels strongly, I figure that can make the edits needed and propose it.
dewei_zhu
Comment 8 2021-09-01 09:58:18 PDT
Comment on attachment 436954 [details] Patch r=me
Jonathan Bedard
Comment 9 2021-09-01 10:17:06 PDT
Created attachment 437040 [details] Patch for landing
EWS
Comment 10 2021-09-01 11:15:26 PDT
Committed r281862 (241192@main): <https://commits.webkit.org/241192@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437040 [details].
Note You need to log in before you can comment on or make changes to this bug.