RESOLVED WONTFIX 247795
[git-webkit] git webkit pr should not create a bug for unreviewed commits with no bug associated
https://bugs.webkit.org/show_bug.cgi?id=247795
Summary [git-webkit] git webkit pr should not create a bug for unreviewed commits wit...
Carlos Garcia Campos
Reported 2022-11-11 02:17:37 PST
It currently creates a bug, but it's not filled with pr info nor closed when pr is merged, I think we should just avoid creating the bug at all.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-18 02:18:16 PST
Jonathan Bedard
Comment 2 2023-01-18 07:52:05 PST
We create the bug at branch time, the prompt is: `Enter issue URL or title of new issue: ` if we have an issue tracker `Enter name of new branch (or issue URL): ` if we do not. You can short-circuit the issue creation by providing a branch name instead of issue description (so something like `eng/foobar`) or create the branch before invoking `git-webkit pr`. The trouble here is that I don't think we want to encourage the practice of commits detached from a bug. It's ok for multiple commits to be attached to a single bug (often, this is even preferable, when talking about something like test gardening or a follow-up fix to an existing commit), but I struggle to think of situation where a commit totally unattached to a bug is acceptable...the only one that comes to mind adding a contributor to contributors.json. I think the honest answer to this bug is "won't fix", although I can see us making some modification to our prompt to inform the user of the existence of the short-circuit option.
Note You need to log in before you can comment on or make changes to this bug.