Bug 78703 - Add script to determine which functions are affected by a patch
Summary: Add script to determine which functions are affected by a patch
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 78707
  Show dependency treegraph
Reported: 2012-02-15 05:31 PST by Csaba Osztrogonác
Modified: 2012-11-22 03:49 PST (History)
1 user (show)

See Also:

Patch (2.29 KB, patch)
2012-02-15 06:56 PST, Nandor Huszka
darin: review-
Details | Formatted Diff | Diff
Patch v2 (2.30 KB, patch)
2012-02-16 02:33 PST, Nandor Huszka
abarth: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2012-02-15 05:31:26 PST
It is needed for selective testing.
Comment 1 Nandor Huszka 2012-02-15 06:56:23 PST
Created attachment 127177 [details]

Determines the functions names with the help of prepare-ChangeLog.
Comment 2 Darin Adler 2012-02-15 10:00:48 PST
Comment on attachment 127177 [details]

The idea of this script seems fine. The name “generate functions” seems totally wrong though, since the script that does not generate functions. Maybe a name like “list modified functions”?
Comment 3 Nandor Huszka 2012-02-16 02:33:21 PST
Created attachment 127335 [details]
Patch v2

(In reply to comment #10)
Thank you for the comment, I have renamed it.
Comment 4 Adam Barth 2012-02-24 10:41:51 PST
Comment on attachment 127335 [details]
Patch v2

Why do we need a separate script for this?  If you're planning to use this in webkitpy, we already have a function called changed_files which does this work.
Comment 5 Csaba Osztrogonác 2012-11-22 03:49:16 PST
You're right, we don't need separated script for this.