WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
115391
[webkitpy] Need abstract base class for commands that analyze commit logs
https://bugs.webkit.org/show_bug.cgi?id=115391
Summary
[webkitpy] Need abstract base class for commands that analyze commit logs
Glenn Adams
Reported
2013-04-29 17:30:59 PDT
There is one existing command, suggest-nominations, that analyzes commit logs. There are two additional commands proposed [1][2] that also need to analyze commit logs. In order to factor out common shared functionality, the commit log analysis functionality should be placed in an abstract base class that subclass Command, let's call this AbstractCommitLogCommand.
Attachments
Patch
(5.83 KB, patch)
2013-04-30 21:23 PDT
,
Glenn Adams
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.79 KB, patch)
2013-05-01 18:41 PDT
,
Glenn Adams
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Glenn Adams
Comment 1
2013-04-29 17:31:49 PDT
(In reply to
comment #0
)
> There is one existing command, suggest-nominations, that analyzes commit logs. There are two additional commands proposed [1][2] that also need to analyze commit logs. In order to factor out common shared functionality, the commit log analysis functionality should be placed in an abstract base class that subclass Command, let's call this AbstractCommitLogCommand.
[1]
https://bugs.webkit.org/show_bug.cgi?id=115387
[2]
https://bugs.webkit.org/show_bug.cgi?id=115388
Glenn Adams
Comment 2
2013-04-30 21:23:43 PDT
Created
attachment 200202
[details]
Patch
Benjamin Poulain
Comment 3
2013-05-01 18:29:49 PDT
Comment on
attachment 200202
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=200202&action=review
> Tools/Scripts/webkitpy/tool/commands/suggestnominations.py:62 > + options = sorted(options, lambda a, b: cmp(a._long_opts, b._long_opts))
I would prefer named arguments with sorted().
Glenn Adams
Comment 4
2013-05-01 18:41:38 PDT
Created
attachment 200297
[details]
Patch for landing
Glenn Adams
Comment 5
2013-05-01 18:45:06 PDT
(In reply to
comment #3
)
> (From update of
attachment 200202
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=200202&action=review
> > > Tools/Scripts/webkitpy/tool/commands/suggestnominations.py:62 > > + options = sorted(options, lambda a, b: cmp(a._long_opts, b._long_opts)) > > I would prefer named arguments with sorted().
Fixed.
WebKit Commit Bot
Comment 6
2013-05-01 19:09:33 PDT
Comment on
attachment 200297
[details]
Patch for landing Clearing flags on attachment: 200297 Committed
r149480
: <
http://trac.webkit.org/changeset/149480
>
WebKit Commit Bot
Comment 7
2013-05-01 19:09:36 PDT
All reviewed patches have been landed. Closing bug.
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