minor tool improvement ideas (sharing my personal list)
I keep a little file on my machine with ideas for tool improvements. I haven't put any of these ideas into bugzilla yet, but I wanted to share them with the rest of you in case someone wants to do some of these: update script that opens all files with merge conflicts in an editor run-webkit-tests option that gives backtraces for failed tests run-webkit-tests option that puts you in gdb and re-runs any test that crashed enhance cvs-apply and cvs-unapply to handle 3-way merges when patches are old make cvs-apply/unapply smarter about applying patch one level too high/low teach cvs-apply/unapply how to handle ChangeLog merging so they don't always think there's a conflict teach cvs-apply to update the date on a ChangeLog entry it's merging cvs-fix-patch: a script we have internally, make one for WebKitTools/Scripts cvs-clean: a script we have internally, move it to WebKitTools/ Scripts change to respect .cvsignore as Maciej suggested turns out it's really hard to respect .cvsignore by default, since there are so many different sources of things to ignore (defaults, server-side, per-directory .cvsignore, home directory .cvsignore) It would even be helpful to write bugzilla bugs about the best ideas from this list. -- Darin
On Jun 20, 2005, at 12:54 AM, Darin Adler wrote:
cvs-clean: a script we have internally, move it to WebKitTools/ Scripts change to respect .cvsignore as Maciej suggested turns out it's really hard to respect .cvsignore by default, since there are so many different sources of things to ignore (defaults, server-side, per-directory .cvsignore, home directory .cvsignore)
It would appear that someone has already written a Perl module called VCS::LibCVS::IgnoreChecker (part of the VCS::LibCVS package) which does the heavy lifting for you. http://search.cpan.org/~dissent/VCS-LibCVS-1.0001/VCS/LibCVS/ IgnoreChecker.pm The module is licensed, "under the same terms as Perl itself", so either you could redistribute it or add instructions to webkit.opendarwin.org about how to install the module from CPAN. Dave
On Jun 20, 2005, at 4:29 AM, David D. Kilzer wrote:
cvs-clean: a script we have internally, move it to WebKitTools/ Scripts change to respect .cvsignore as Maciej suggested turns out it's really hard to respect .cvsignore by default, since there are so many different sources of things to ignore (defaults, server-side, per-directory .cvsignore, home directory .cvsignore)
It would appear that someone has already written a Perl module called VCS::LibCVS::IgnoreChecker (part of the VCS::LibCVS package) which does the heavy lifting for you.
http://search.cpan.org/~dissent/VCS-LibCVS-1.0001/VCS/LibCVS/ IgnoreChecker.pm
The module is licensed, "under the same terms as Perl itself", so either you could redistribute it or add instructions to webkit.opendarwin.org about how to install the module from CPAN.
Thanks for the pointer! Distributing that entire module, or requiring the module installation from CPAN, would be a bit more heavyweight than what's currently required for our scripts, but I'll think about it. Also, I'm not sure I want a version of cvs-clean that talks to the server; one thing neat about the old one is that it's fast and entirely local. -- Darin
participants (2)
-
Darin Adler
-
David D. Kilzer