Bug 125986

Summary: Extract common parts from jhbuildrc files.
Product: WebKit Reporter: ezisfake <Szanka.Peter>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, d-r, galpeter, gtk-ews, gustavo, ltilve+ews, mrobinson, ossy, rego+ews, xan.lopez, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 128311    
Bug Blocks:    
Attachments:
Description Flags
patch
none
patch
gtk-ews: commit-queue-
patch
none
patch
gtk-ews: commit-queue-
final patch ( i hope)
none
Patch v6
ossy: review-, ossy: commit-queue-
Patch v7
none
Patch v8
none
Patch v9
ossy: review-, ossy: commit-queue-
Patch v10
ossy: review-, ossy: commit-queue-
Patch v11
none
Patch v12
none
Patch v13
none
Patch v14
none
Patch v15 none

Description ezisfake 2013-12-19 01:19:31 PST
The Tools/{efl, nix, gtk}/jhbuildrc files have some common parts. Extract them to a file in Tools/jhbuild/
Comment 1 ezisfake 2013-12-19 06:37:18 PST
Created attachment 219648 [details]
patch
Comment 2 ezisfake 2013-12-19 06:44:57 PST
Created attachment 219650 [details]
patch

fixed some checkstyle warning
Comment 3 WebKit Commit Bot 2013-12-19 06:46:53 PST
Attachment 219650 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/efl/common.py', u'Tools/efl/jhbuildrc', u'Tools/gtk/common.py', u'Tools/gtk/jhbuildrc', u'Tools/jhbuild/jhbuildrc_common.py', u'Tools/nix/common.py', u'Tools/nix/jhbuildrc', '--commit-queue']" exit_code: 1
ERROR: Tools/jhbuild/jhbuildrc_common.py:56:  .has_key() is deprecated, use 'in'  [pep8/W601] [5]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 kov's GTK+ EWS bot 2013-12-19 07:40:58 PST
Comment on attachment 219650 [details]
patch

Attachment 219650 [details] did not pass gtk-ews (gtk):
Output: http://webkit-queues.appspot.com/results/48818030
Comment 5 ezisfake 2014-01-14 01:12:12 PST
Created attachment 221119 [details]
patch
Comment 6 Dominik Röttsches (drott) 2014-01-14 04:23:37 PST
*** Bug 81344 has been marked as a duplicate of this bug. ***
Comment 7 ezisfake 2014-01-14 04:47:55 PST
Created attachment 221141 [details]
patch
Comment 8 WebKit Commit Bot 2014-01-14 04:49:33 PST
Attachment 221141 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/efl/common.py', u'Tools/efl/jhbuildrc', u'Tools/gtk/common.py', u'Tools/gtk/find-make-dist-errors', u'Tools/gtk/generate-gtkdoc', u'Tools/gtk/jhbuildrc', u'Tools/jhbuild/jhbuildrc_common.py', u'Tools/nix/common.py', u'Tools/nix/jhbuildrc', '--commit-queue']" exit_code: 1
ERROR: Tools/jhbuild/jhbuildrc_common.py:56:  .has_key() is deprecated, use 'in'  [pep8/W601] [5]
Total errors found: 1 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 kov's GTK+ EWS bot 2014-01-14 05:32:43 PST
Comment on attachment 221141 [details]
patch

Attachment 221141 [details] did not pass gtk-ews (gtk):
Output: http://webkit-queues.appspot.com/results/4690392855347200
Comment 10 ezisfake 2014-01-15 08:03:00 PST
Created attachment 221268 [details]
final patch ( i hope)
Comment 11 Csaba Osztrogonác 2014-02-06 05:07:33 PST
Comment on attachment 221268 [details]
final patch ( i hope)

LGTM, r=me
Comment 12 WebKit Commit Bot 2014-02-06 05:36:54 PST
Comment on attachment 221268 [details]
final patch ( i hope)

Clearing flags on attachment: 221268

Committed r163530: <http://trac.webkit.org/changeset/163530>
Comment 13 WebKit Commit Bot 2014-02-06 05:36:59 PST
All reviewed patches have been landed.  Closing bug.
Comment 14 WebKit Commit Bot 2014-02-06 09:40:39 PST
Re-opened since this is blocked by bug 128311
Comment 15 Tibor Mészáros 2014-02-17 10:09:30 PST
Created attachment 224392 [details]
Patch v6

This patch will extract common parts from jhbuildrc files, and fix run-gtk-test script too.
Comment 16 Csaba Osztrogonác 2014-02-18 04:40:47 PST
Comment on attachment 224392 [details]
Patch v6

Please add the jhbuildrc_common.py to the patch
Comment 17 Tibor Mészáros 2014-02-18 04:56:35 PST
Created attachment 224497 [details]
Patch v7

Added the missing jhbuildrc_common.py file.
Comment 18 WebKit Commit Bot 2014-02-18 04:57:32 PST
Attachment 224497 [details] did not pass style-queue:


ERROR: Tools/jhbuild/jhbuildrc_common.py:21:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:25:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:26:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:27:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:29:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:31:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:32:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:34:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:34:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:35:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:36:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:38:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:38:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:40:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:41:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:42:  whitespace after '['  [pep8/E201] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:42:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:43:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:44:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:46:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:47:  whitespace after '['  [pep8/E201] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:47:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:48:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:49:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:51:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:52:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:53:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:54:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:55:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:55:  missing whitespace after ','  [pep8/E231] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:56:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:56:  missing whitespace after ','  [pep8/E231] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:58:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:59:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:60:  blank line at end of file  [pep8/W391] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:60:  trailing whitespace  [pep8/W291] [5]
Total errors found: 36 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 19 Tibor Mészáros 2014-02-18 07:16:59 PST
Created attachment 224507 [details]
Patch v8

The Tools/Scripts/update-webkit-[efl|gtk]libs now working.
Comment 20 WebKit Commit Bot 2014-02-18 07:18:51 PST
Attachment 224507 [details] did not pass style-queue:


ERROR: Tools/jhbuild/jhbuildrc_common.py:21:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:25:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:26:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:27:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:29:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:31:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:32:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:34:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:35:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:36:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:37:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:38:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:39:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:40:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:41:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:42:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:43:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:44:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:45:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:46:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:47:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:48:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:49:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:50:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:51:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:52:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:53:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:54:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:55:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:56:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:57:  trailing whitespace  [pep8/W291] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:58:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:59:  indentation is not a multiple of four  [pep8/E111] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:60:  blank line at end of file  [pep8/W391] [5]
ERROR: Tools/jhbuild/jhbuildrc_common.py:60:  trailing whitespace  [pep8/W291] [5]
Total errors found: 35 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 21 Tibor Mészáros 2014-02-18 07:51:48 PST
Created attachment 224511 [details]
Patch v9

Style has been fixed.
Comment 22 Csaba Osztrogonác 2014-02-19 09:34:49 PST
Comment on attachment 224511 [details]
Patch v9

The patch looks good to me, but the Nix part has gone away - https://trac.webkit.org/changeset/164360 ,
and please credit the original author in the changelog.
Comment 23 Tibor Mészáros 2014-02-21 08:44:28 PST
Created attachment 224872 [details]
Patch v10

Removed the nix support
Comment 24 Peter Gal 2014-02-21 09:05:23 PST
(In reply to comment #23)
> Created an attachment (id=224872) [details]
> Patch v10


It seems this patch contains modifications against an already existing 'jhbuildrc_common.py' file, which is clearly incorrect (it's not in the repo). The whole 'jhbuildrc_common.py' file should be in the patch as a new file.
Comment 25 Csaba Osztrogonác 2014-02-24 03:36:56 PST
Comment on attachment 224872 [details]
Patch v10

r-, because the patch isn't appliable and the credit for the original author is still missing.
Comment 26 Tibor Mészáros 2014-02-24 04:48:02 PST
Created attachment 225053 [details]
Patch v11

The nix support removed, and added co-author.
Comment 27 Tibor Mészáros 2014-02-24 05:09:02 PST
Created attachment 225054 [details]
Patch v12

Updated patch
Comment 28 Tibor Mészáros 2014-02-24 06:01:23 PST
Created attachment 225057 [details]
Patch v13

Updated patch again
Comment 29 WebKit Commit Bot 2014-02-24 06:03:59 PST
Attachment 225057 [details] did not pass style-queue:


ERROR: Tools/jhbuild/jhbuildrc_common.py:64:  trailing whitespace  [pep8/W291] [5]
Total errors found: 1 in 10 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 30 Tibor Mészáros 2014-02-24 06:11:56 PST
Created attachment 225059 [details]
Patch v14

Removed the trailing whitespace from Tools/jhbuild/jhbuildrc_common.py:64
Comment 31 Tibor Mészáros 2014-02-24 06:27:48 PST
Created attachment 225061 [details]
Patch v15

Added the missing line break to the end of the diff file...
Comment 32 WebKit Commit Bot 2014-02-24 07:40:03 PST
Comment on attachment 225061 [details]
Patch v15

Clearing flags on attachment: 225061

Committed r164585: <http://trac.webkit.org/changeset/164585>
Comment 33 WebKit Commit Bot 2014-02-24 07:40:07 PST
All reviewed patches have been landed.  Closing bug.