Bug 239329
Summary: | [git-webkit] Personal branch is "not a PR branch" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antoine Quint <graouts> |
Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | jbedard, mcatanzaro, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 239082 |
Antoine Quint
I've been working on a bug and created a local branch "macos-preview-cleanup" off main using `git checkout -b macos-preview-cleanup` which I then pushed to my fork. My remotes are listed as such:
fork git@github.com:graouts/WebKit.git (fetch)
fork git@github.com:graouts/WebKit.git (push)
graouts git@github.com:graouts/WebKit.git (fetch)
graouts git@github.com:graouts/WebKit.git (push)
origin git@github.com:WebKit/WebKit.git (fetch)
origin git@github.com:WebKit/WebKit.git (push)
So my branch is set to track "graouts/macos-preview-cleanup"
I created my ChangeLog prior to starting the PR process using `prepare-ChangeLog -o --merge-base main -b XXXXXX`. Then I ran the following and things didn't work:
OpenSource > git-webkit pr
'macos-preview-cleanup' is not a pull request branch, enter name of new branch (or bug URL): ^C
User interrupted program
I would have expected that my branch which is already pushed to a remote should be able to be used as-is for a pull request.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/91756286>
Jonathan Bedard
Pull request: https://github.com/WebKit/WebKit/pull/290
Michael Catanzaro
(In reply to Jonathan Bedard from comment #2)
> Pull request: https://github.com/WebKit/WebKit/pull/290
This probably/mostly also fixes bug #239126, yes?
Jonathan Bedard
(In reply to Michael Catanzaro from comment #3)
> (In reply to Jonathan Bedard from comment #2)
> > Pull request: https://github.com/WebKit/WebKit/pull/290
>
> This probably/mostly also fixes bug #239126, yes?
It won't change what we're encouraging you to do, but yes, it will mean we support most flavors of personally created branches.
There is still the matter of EWS's pickiness regarding PRs from main branches, which we should continue to discuss in https://bugs.webkit.org/show_bug.cgi?id=239126.
EWS
Committed r292890 (249660@main): <https://commits.webkit.org/249660@main>
Reviewed commits have been landed. Closing PR #290 and removing active labels.