Bug 240254 - [GitHub] `git commit` generates a nicely formatted commit log but is missing bug information
Summary: [GitHub] `git commit` generates a nicely formatted commit log but is missing ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks: 239082
  Show dependency treegraph
 
Reported: 2022-05-09 13:20 PDT by Chris Dumez
Modified: 2022-05-10 11:04 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-05-09 13:20:04 PDT
`git commit` generates a nicely formatted commit log but is missing bug information since there is currently no way to communicate to our tools which bug the commit is for.
This means I have to populate the title / bugzilla URL (and potentially radar link) by myself in the commit log when committing.

`git-webkit branch -i XXX` takes a bug number but this bug number is not used when the commit log gets generated.

I wish there was something like:
`git commit -a -bug XXX`

So the script could populate by commit log with the bug information for me.
Comment 1 Jonathan Bedard 2022-05-10 07:40:21 PDT
Would have to be `git webkit commit -a -bug xxx`, but that seems like a pretty reasonable and easy to implement request.
Comment 2 Radar WebKit Bug Importer 2022-05-10 09:21:15 PDT
<rdar://problem/93033766>
Comment 3 Jonathan Bedard 2022-05-10 09:26:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/577
Comment 4 EWS 2022-05-10 11:04:49 PDT
Committed r294011 (250445@main): <https://commits.webkit.org/250445@main>

Reviewed commits have been landed. Closing PR #577 and removing active labels.