Bug 64148 - webkit-file utility needs common interface for all platforms
Summary: webkit-file utility needs common interface for all platforms
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Roland Steiner
URL:
Keywords:
Depends on:
Blocks: 61772 63527 61773 64149
  Show dependency treegraph
 
Reported: 2011-07-07 22:28 PDT by Roland Steiner
Modified: 2013-10-31 08:30 PDT (History)
11 users (show)

See Also:


Attachments
work-in-progress (9.93 KB, patch)
2011-07-07 22:57 PDT, Roland Steiner
no flags Details | Formatted Diff | Diff
work-in-progress (52.83 KB, patch)
2012-03-15 07:17 PDT, Roland Steiner
no flags Details | Formatted Diff | Diff
Non-project-specific base classes for the webkit-file tool. Everything else depends on them. (48.56 KB, patch)
2012-03-29 01:46 PDT, Roland Steiner
andersca: review-
andersca: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Steiner 2011-07-07 22:28:25 PDT
Parts of the webkit-file tool that are common to all platforms should be factored out into separate base classes, in order to remove code duplication and force uniform conventions.
Comment 1 Roland Steiner 2011-07-07 22:57:39 PDT
Created attachment 100077 [details]
work-in-progress

Initial draft
Comment 2 Adam Barth 2011-07-07 23:50:05 PDT
Comment on attachment 100077 [details]
work-in-progress

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

> Tools/Scripts/webkitpy/common/project/base.py:184
> +    -) a function 'write_project_file(self, project, file_path)' that writes the project into the passed-in file

A common pattern in Python is to define the function in this class an throw a NotImplemented exception.  If you search webkitpy, you'll see a bunch of examples of this pattern.
Comment 3 Eric Seidel (no email) 2012-01-05 15:37:57 PST
Is this work still active?
Comment 4 Roland Steiner 2012-03-15 07:02:52 PDT
Yes, just recently returned to it - uploading a shiny new work-in-progress patch shortly
Comment 5 Roland Steiner 2012-03-15 07:17:57 PDT
Created attachment 132040 [details]
work-in-progress

Expanded and completely refactored work-in-progress.
Comment 6 Roland Steiner 2012-03-29 01:46:05 PDT
Created attachment 134528 [details]
Non-project-specific base classes for the webkit-file tool. Everything else depends on them.
Comment 7 Kentaro Hara 2012-03-29 17:09:41 PDT
The patch might be a bit too big for me to review... isn't it possible to break it down? (But if anyone could review the patch at a breath, that would be best:-)
Comment 8 Anders Carlsson 2013-10-31 08:30:06 PDT
Comment on attachment 134528 [details]
Non-project-specific base classes for the webkit-file tool. Everything else depends on them.

Nobody is working on this and it's cluttering up the Bugzilla review queue so I'm going to go ahead and close this.