WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
169083
Standardize device/simulator naming conventions
https://bugs.webkit.org/show_bug.cgi?id=169083
Summary
Standardize device/simulator naming conventions
Jonathan Bedard
Reported
2017-03-02 10:06:13 PST
Currently, we use a different naming convention for device and simulator when command line flags are passed. These ports should be using the same naming convention. For example, if --ios-simulator is a valid command line flag, so should --ios-device. If --device is a valid command line flag, so should --simulator. These command line flags and port names should follow a more predictable pattern.
Attachments
Patch
(8.69 KB, patch)
2017-03-02 10:07 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.17 KB, patch)
2017-03-02 10:50 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.46 KB, patch)
2017-03-02 10:56 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.21 KB, patch)
2017-03-07 11:08 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.25 KB, patch)
2017-03-07 11:13 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.59 KB, patch)
2017-03-07 13:35 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.15 KB, patch)
2017-03-07 13:57 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(9.17 KB, patch)
2017-03-08 15:59 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(7)
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2017-03-02 10:07:47 PST
Created
attachment 303215
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2017-03-02 10:15:18 PST
<
rdar://problem/30810466
>
Srinivasan Vijayaraghavan
Comment 3
2017-03-02 10:44:21 PST
Looks good to me.
Srinivasan Vijayaraghavan
Comment 4
2017-03-02 10:47:39 PST
You'll also need to make changes to the QueueStatusServer since the name of the ews queue will now be ios-device-ews. Also, it would be great more people on the operations team had reviewer privileges.
Jonathan Bedard
Comment 5
2017-03-02 10:50:43 PST
Created
attachment 303218
[details]
Patch
Jonathan Bedard
Comment 6
2017-03-02 10:56:59 PST
Created
attachment 303220
[details]
Patch
Dean Johnson
Comment 7
2017-03-02 13:04:42 PST
Comment on
attachment 303220
[details]
Patch LGTM
Alexey Proskuryakov
Comment 8
2017-03-07 09:12:57 PST
Comment on
attachment 303220
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=303220&action=review
> Tools/QueueStatusServer/config/queues.py:37 > - "ios-ews", > + "ios-device-ews",
Not sure if we need this change. The queue name doesn't document what the queue does very well anyway (it's iOS Device armv7s build only), and the shorter it is, the less space it takes in Bugzilla UI.
> Tools/Scripts/build-webkit:96 > + --ios-device or --device Use "iphoneos.internal" SDK if installed, else "iphoneos" SDK (iOS only) > + --ios-simulator or --simulator Use the current iphonesimulator SDK (iOS only)
I think that it may be slightly nicer to put each option on its own line, so that it's easier to point out which ones are deprecated.
Jonathan Bedard
Comment 9
2017-03-07 11:08:43 PST
Created
attachment 303681
[details]
Patch
Jonathan Bedard
Comment 10
2017-03-07 11:13:10 PST
Created
attachment 303682
[details]
Patch
Jonathan Bedard
Comment 11
2017-03-07 13:35:18 PST
Created
attachment 303715
[details]
Patch
Jonathan Bedard
Comment 12
2017-03-07 13:57:52 PST
Created
attachment 303721
[details]
Patch
WebKit Commit Bot
Comment 13
2017-03-07 15:06:01 PST
Comment on
attachment 303721
[details]
Patch Clearing flags on attachment: 303721 Committed
r213545
: <
http://trac.webkit.org/changeset/213545
>
WebKit Commit Bot
Comment 14
2017-03-07 15:06:07 PST
All reviewed patches have been landed. Closing bug.
Jonathan Bedard
Comment 15
2017-03-08 09:50:39 PST
Reverted
r213545
for reason: iOS EWS broken by this change Committed
r213577
: <
http://trac.webkit.org/changeset/213577
>
Jonathan Bedard
Comment 16
2017-03-08 15:59:04 PST
Created
attachment 303857
[details]
Patch
Alexey Proskuryakov
Comment 17
2017-03-09 10:21:34 PST
Comment on
attachment 303857
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=303857&action=review
> Tools/Scripts/webkitpy/common/config/ews.json:16 > + "name": "ios-ews",
So this is the additional fix. That's surprising to me - I thought that the name was only used for display purposes. r=me if this fixes the problem, but I'd like to know more about why it does.
Jonathan Bedard
Comment 18
2017-03-09 10:23:51 PST
Comment on
attachment 303857
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=303857&action=review
>> Tools/Scripts/webkitpy/common/config/ews.json:16 >> + "name": "ios-ews", > > So this is the additional fix. That's surprising to me - I thought that the name was only used for display purposes. > > r=me if this fixes the problem, but I'd like to know more about why it does.
We actually pull the commands to run EWS from this JSON file, as I mention in
https://bugs.webkit.org/show_bug.cgi?id=169385
.
Alexey Proskuryakov
Comment 19
2017-03-09 11:25:33 PST
> We actually pull the commands to run EWS from this JSON file
This is correct. What surprises me is that we use the name, as most EWSes don't even have in specified in ews.json.
WebKit Commit Bot
Comment 20
2017-03-09 11:46:23 PST
Comment on
attachment 303857
[details]
Patch Clearing flags on attachment: 303857 Committed
r213654
: <
http://trac.webkit.org/changeset/213654
>
WebKit Commit Bot
Comment 21
2017-03-09 11:46:29 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug