WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
301471
[WebKitGTK] apply-build-revision-to-files.py should support "Canonical-link"
https://bugs.webkit.org/show_bug.cgi?id=301471
Summary
[WebKitGTK] apply-build-revision-to-files.py should support "Canonical-link"
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug