Bug 141156 - W3C test importer should sort the list of files when generating the w3c-import.log
Summary: W3C test importer should sort the list of files when generating the w3c-impor...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-02 05:22 PST by youenn fablet
Modified: 2015-02-04 14:02 PST (History)
4 users (show)

See Also:


Attachments
Patch (21.91 KB, patch)
2015-02-02 05:37 PST, youenn fablet
no flags Details | Formatted Diff | Diff
Removing import time logging (24.02 KB, patch)
2015-02-03 12:18 PST, youenn fablet
no flags Details | Formatted Diff | Diff
Patch to land (23.97 KB, patch)
2015-02-04 13:12 PST, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2015-02-02 05:22:17 PST
Sorting the list of files allows better diff of the w3c-import.log when reimporting a folder
Comment 1 youenn fablet 2015-02-02 05:37:22 PST
Created attachment 245870 [details]
Patch
Comment 2 youenn fablet 2015-02-03 08:22:11 PST
Having the import time in the log is also making diff big when reimporting several folders. Can we remove the import time from the log, given we have version control?

More generally, I wonder whether w3c-import.log is all that useful.
Comment 3 Bem Jones-Bey 2015-02-03 08:38:26 PST
Comment on attachment 245870 [details]
Patch

Makes sense. r=me
Comment 4 Bem Jones-Bey 2015-02-03 08:40:29 PST
(In reply to comment #2)
> Having the import time in the log is also making diff big when reimporting
> several folders. Can we remove the import time from the log, given we have
> version control?

Yeah, I think that's a good point. Feel free to remove it in this patch before landing, if you like.

> 
> More generally, I wonder whether w3c-import.log is all that useful.

I think it's useful when doing manual piecemeal imports. If we get to the point where we're always doing imports into a standard place of the entire repo, I'd say it'd be a lot less useful.
Comment 5 youenn fablet 2015-02-03 12:18:31 PST
Created attachment 245953 [details]
Removing import time logging
Comment 6 WebKit Commit Bot 2015-02-03 12:24:23 PST
Comment on attachment 245953 [details]
Removing import time logging

Rejecting attachment 245953 [details] from commit-queue.

youennf@gmail.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.
Comment 7 WebKit Commit Bot 2015-02-04 04:36:19 PST
Comment on attachment 245953 [details]
Removing import time logging

Rejecting attachment 245953 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 245953, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
-tests/tools/scripts/w3c-import.log
patching file LayoutTests/imported/w3c/web-platform-tests/tools/sslutils/w3c-import.log
patching file LayoutTests/imported/w3c/web-platform-tests/tools/w3c-import.log
patching file LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/w3c-import.log
patching file LayoutTests/imported/w3c/web-platform-tests/w3c-import.log

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.appspot.com/results/5451763813449728
Comment 8 youenn fablet 2015-02-04 13:12:11 PST
Created attachment 246044 [details]
Patch to land
Comment 9 WebKit Commit Bot 2015-02-04 14:02:21 PST
Comment on attachment 246044 [details]
Patch to land

Clearing flags on attachment: 246044

Committed r179628: <http://trac.webkit.org/changeset/179628>
Comment 10 WebKit Commit Bot 2015-02-04 14:02:25 PST
All reviewed patches have been landed.  Closing bug.