Bug 301471

Summary: [WebKitGTK] apply-build-revision-to-files.py should support "Canonical-link"
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply, webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 266028    

Sam Sneddon [:gsnedders]
Reported 2025-10-25 12:53:36 PDT
As part of bug 266028, we need to migrate everything to supporting actual git trailers. The best approach is probably replacing the existing code with something similar to: ``` git log --format=%B -1 HEAD | \ sed -e 's/Canonical link:/Canonical-link:/' | \ git -c trailer.Canonical-link.key=Canonical-link -c trailer.Identifier.key=Identifier -c trailer.git-svn-id.key=git-svn-id interpret-trailers --parse --no-divider ``` We need to specify the trailer.xxx.key config options because: > Existing trailers are extracted from the input message by looking for a group of one or more lines that (i) is all trailers, or (ii) contains at least one Git-generated or user-configured trailer and consists of at least 25% trailers. And we have plenty of groups which aren't all trailers in WebKit.
Attachments
Note You need to log in before you can comment on or make changes to this bug.