Bug 237282 - Haiku port upstreaming: Webkitpy
Summary: Haiku port upstreaming: Webkitpy
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Other Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-28 11:07 PST by Pascal Abresch
Modified: 2022-04-13 03:13 PDT (History)
6 users (show)

See Also:


Attachments
Patch (25.43 KB, patch)
2022-02-28 11:15 PST, Pascal Abresch
no flags Details | Formatted Diff | Diff
Patch (25.51 KB, patch)
2022-03-11 22:22 PST, Pascal Abresch
nep-webkit: review?
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Abresch 2022-02-28 11:07:38 PST
This ticket is for upstreaming the webkitpy portiong of the Haiku port to webkit.
Comment 1 Pascal Abresch 2022-02-28 11:15:49 PST
Created attachment 453411 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2022-03-07 11:08:17 PST
<rdar://problem/89918574>
Comment 3 Jonathan Bedard 2022-03-09 13:32:32 PST
Comment on attachment 453411 [details]
Patch

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

> Tools/Scripts/webkitpy/port/haikudriver.py:1
> +# Copyright (C) 2010 Google Inc. All rights reserved.

Feels like this copyright needs to be updated, no?
Comment 4 Pascal Abresch 2022-03-09 20:27:02 PST
Indeed.
Pulkomandy: It looks like you added this file in 2013 (in https://github.com/haiku/webkit-old/commit/cd80529000af2ab10470c24197d1198b078b0257)
Do you have any particular opinion on changing the copyright header?
Comment 5 Adrien Destugues 2022-03-10 00:01:38 PST
The files were initially copied from other ports which explain the copyright.

You can add a copyright for 2013-2022 to Haiku, inc.
Comment 6 Pascal Abresch 2022-03-11 22:22:54 PST
Created attachment 454528 [details]
Patch
Comment 7 Pascal Abresch 2022-03-11 22:23:22 PST
I have updated the copyright dates accordingly.
Comment 8 Jonathan Bedard 2022-04-04 17:01:29 PDT
No objection to this change, would like to understand the plan with Haiku upstreaming, though. Is there an intention to have bots at some point? This code is mostly used for running layout tests. Are the Haiku folks already doing this? Is there an intention to do this>
Comment 9 Adrien Destugues 2022-04-05 00:13:48 PDT
Hello,

Haiku inc is willing to provide a machine to run the bots for Haiku as needed.

Until now I have run the tests locally on my machine only. Now that Pascal is helping me with the WebKit work, it's a bit more reasonable to work on upstreaming our changes (or at least some of it). There has been some discussions in https://bugs.webkit.org/show_bug.cgi?id=220690 about wether WebKit would accept all our port in upstream again, or only a subset.

So, yes, if we're allowed to submit our port upstream, we will of course provide the needed bots and have them run the tests.
Comment 10 Jonathan Bedard 2022-04-05 10:54:12 PDT
Comment on attachment 454528 [details]
Patch

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

> Tools/Scripts/webkitpy/common/version_name_map.py:79
> +            'haiku': {'': Version(1.4)},

Should be: `Version(1, 4)`

> Tools/Scripts/webkitpy/port/haiku.py:47
> +        self._version = "1.4"

Looking through our webkitpy code, it looks to me like the ApplePort doesn't use this variable, do things work without it?
Comment 11 Pascal Abresch 2022-04-13 03:13:04 PDT
Hey, sorry for the late response.
I don't know if the second variable is needed, I'll remove it locally and try to run the tests and resubmit it without it if it is uneccesary.