jdarpinian@'s Source/ThirdParty/ANGLE/update-angle.sh script is extremely helpful - it automates nearly all of the steps of updating ANGLE in WebKit. It would be useful if the script paused after the rebase phase, and after generating changes.diff, but before deleting the temporary git repository it creates in Source/ThirdParty/ANGLE. That way, any undesired changes compared to upstream ANGLE could be more easily removed. Currently there are a large number of apparently unnecessary changes which make it difficult to identify the salient diffs. Would it be possible to add this feature to the roll script?
Taking this.
Created attachment 405418 [details] Patch
Note that there are important steps to take when updating ANGLE. See http://trac.webkit.org/wiki/UpdatingANGLE
This patch also slightly changes the user interface of the roll script to expect the user to press enter after confirming (y/n) whether to continue. I found it surprising on multiple occasions that the script went ahead immediately upon pressing the "y" key.
Looks good to me! I was thinking that the script would exit to let you poke around but this is much easier to implement and I think just as useful.
Thanks for your review James. I also thought of exiting the script but this was a lot easier to implement since it doesn't need any state management. It turned out to be useful during the ANGLE roll I'm currently doing in Bug 214897 - it caught one bad merge during rebase, and another important fix to upstream to ANGLE (Bug 213479, http://crbug.com/angleproject/4902 ).
Committed r265023: <https://trac.webkit.org/changeset/265023> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405418 [details].
<rdar://problem/66245284>