Bug 59115 - ValidateChangeLogs doesn't work on SVN
Summary: ValidateChangeLogs doesn't work on SVN
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 10:42 PDT by Adam Barth
Modified: 2011-04-21 16:24 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.27 KB, patch)
2011-04-21 10:46 PDT, Adam Barth
no flags Details | Formatted Diff | Diff
Patch for landing (4.33 KB, patch)
2011-04-21 11:25 PDT, Adam Barth
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2011-04-21 10:42:35 PDT
ValidateChangeLogs doesn't work on SVN
Comment 1 Adam Barth 2011-04-21 10:46:43 PDT
Created attachment 90555 [details]
Patch
Comment 2 Eric Seidel (no email) 2011-04-21 10:50:26 PDT
Comment on attachment 90555 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=90555&action=review

> Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py:64
> +            # We diff the ChangeLogs directly because svn-create-patch doesn't
> +            # always tell the truth about where the new ChangeLog entry is in
> +            # the file.

I would have written this more like:
# Diff ChangeLogs directly because svn-create-patch will move ChangeLog entries to the
# top automatically, defeating our validation here.

Aka, more substance, less frill. :)  (Not that I don't like the frill.)

> Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py:65
> +            diff = self._tool.scm().diff_for_file(filename)

We may want to diff multiple files at once.  Not sure what the perf characteristics of SVN are.
Comment 3 Adam Barth 2011-04-21 11:25:50 PDT
Created attachment 90561 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2011-04-21 15:01:11 PDT
Comment on attachment 90561 [details]
Patch for landing

Clearing flags on attachment: 90561

Committed r84549: <http://trac.webkit.org/changeset/84549>
Comment 5 WebKit Commit Bot 2011-04-21 15:01:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Ojan Vafai 2011-04-21 16:24:22 PDT
Committed r84560: <http://trac.webkit.org/changeset/84560>