Bug 239385

Summary: [git-webkit] Make the default rebase behavior for `git-webkit pr` configurable
Product: WebKit Reporter: Antoine Quint <graouts>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: jbedard, rego, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=250888
Bug Depends on:    
Bug Blocks: 239082    

Antoine Quint
Reported 2022-04-15 07:47:54 PDT
I had the – to me – unpleasant experience with my first successful run of `git-webkit pr` that it defaults to rebasing. This is an extremely costly default for WebKit since build time can be long. Should we consider defaulting to --no-rebase to match what webkit-patch upload would do? Regardless of what the default is, Jonathan suggested in https://webkit.slack.com/archives/C01C94S4C6M/p1650033807494789?thread_ts=1650026926.714759&cid=C01C94S4C6M to "gate the default on a .git/config setting and prompt folks when running git-webkit setup".
Attachments
Radar WebKit Bug Importer
Comment 1 2022-04-15 09:26:15 PDT
Jonathan Bedard
Comment 2 2022-04-15 09:35:17 PDT
Manuel Rego Casasnovas
Comment 3 2022-05-13 01:02:26 PDT
I agree, rebases are very time consuming, and I believe by default it shouldn't do a rebase. That's what webkit-patch has been doing for years. Can we change the default in addition to making it configurable?
EWS
Comment 4 2022-06-10 18:33:57 PDT
Committed r295470 (251475@main): <https://commits.webkit.org/251475@main> Reviewed commits have been landed. Closing PR #295 and removing active labels.
Jonathan Bedard
Comment 5 2022-06-13 09:38:52 PDT
(In reply to Manuel Rego Casasnovas from comment #3) > I agree, rebases are very time consuming, and I believe by default it > shouldn't do a rebase. That's what webkit-patch has been doing for years. > > Can we change the default in addition to making it configurable? This change means contributors will be prompted in `git-webkit setup` for their personal default. Rebases were already configurable on a command-by-command basis (with --no-rebase and --rebase).
Antoine Quint
Comment 6 2023-01-20 00:17:41 PST
Making this default to "No" during `git webkit setup` in bug 250888.
Note You need to log in before you can comment on or make changes to this bug.