WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
71976
Add a tool to list authors and reviewers contributed to a given file or directory
https://bugs.webkit.org/show_bug.cgi?id=71976
Summary
Add a tool to list authors and reviewers contributed to a given file or direc...
Ryosuke Niwa
Reported
2011-11-09 17:39:39 PST
This is a spin-off from
https://bugs.webkit.org/show_bug.cgi?id=71957
. It seems useful.
Attachments
Initial implementation
(5.05 KB, patch)
2011-11-09 17:40 PST
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Add an change log entry
(5.32 KB, patch)
2011-11-09 17:42 PST
,
Ryosuke Niwa
eric
: review-
Details
Formatted Diff
Diff
updated to work on ToT
(7.04 KB, patch)
2011-11-17 18:45 PST
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2011-11-09 17:40:57 PST
Created
attachment 114406
[details]
Initial implementation
Ryosuke Niwa
Comment 2
2011-11-09 17:42:29 PST
Created
attachment 114408
[details]
Add an change log entry
Eric Seidel (no email)
Comment 3
2011-11-09 17:56:42 PST
Comment on
attachment 114406
[details]
Initial implementation View in context:
https://bugs.webkit.org/attachment.cgi?id=114406&action=review
Free functions are bad-news bears. Eventually you'll want those on an object so they can be tested and mocked. Why not make this a webkit-patch Command?
> Tools/Scripts/list-contributors-for-file:73 > + dir = os.path.dirname(changelog_path)
Sad times. Without a FilesSystem object it's very hard to test this sort of function.
Eric Seidel (no email)
Comment 4
2011-11-09 17:57:27 PST
Comment on
attachment 114408
[details]
Add an change log entry Testing. :( I would recommend makign this a Command subclass and adding it to webkit-patch instead. We can make it a separate script too if you'd like, but building on the webkitpy infrastructure will make this much easier for you.
Ryosuke Niwa
Comment 5
2011-11-10 22:31:15 PST
(In reply to
comment #4
)
> (From update of
attachment 114408
[details]
) > Testing. :( I would recommend makign this a Command subclass and adding it to webkit-patch instead. We can make it a separate script too if you'd like, but building on the webkitpy infrastructure will make this much easier for you.
Oops, I didn't mean to set r? flag for this one yet. I mainly developed this as a tool to diagnose ChangeLogEntry class. It has been super useful!
Ryosuke Niwa
Comment 6
2011-11-17 18:45:53 PST
Created
attachment 115723
[details]
updated to work on ToT
Ryosuke Niwa
Comment 7
2011-11-17 18:47:17 PST
The latest version supports different modes of operations per command line flag. e.g. --parse-reviewer-names will list all reviewer names that are "invalid" as follows (0:5 means take the first 5 change logs): list-contributors-for-file Source/WebCore/ --parse-reviewer-names 0:5 Parsing /Volumes/Data/webkit4/Source/WebCore/ChangeLog... Geoff Garen (11) matched with ['"Geoffrey Garen" <
ggaren@apple.com
>'] (3) Kenneth Christiansen (20) matched with ['"Kenneth Rohde Christiansen" <
kenneth@webkit.org
>'] (6) Geoff Garen (11) matched with ['"Geoffrey Garen" <
ggaren@apple.com
>'] (3) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Parsing /Volumes/Data/webkit4/Source/WebCore/ChangeLog-2011-10-19... Nikolas Zimmerman (17) matched with ['"Nikolas Zimmermann" <
zimmermann@kde.org
>'] (1) Dave Kilzer (11) matched with ['"David Kilzer" <
ddkilzer@webkit.org
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2) Dave Hyatt (10) matched with ['"David Hyatt" <
hyatt@apple.com
>'] (2)
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