Skip to content

Commit d573d29

Browse files
committed
fix: rename kraken to webf
1 parent f8885e4 commit d573d29

36 files changed

+233
-601
lines changed

GOVERNANCE.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenKraken Project Governance
1+
# OpenWebF Project Governance
22

33
<!-- TOC -->
44

@@ -15,14 +15,14 @@
1515

1616
## Collaborators
1717

18-
OpenKraken Core Collaborators maintain the [openkraken/kraken][] GitHub repository.
19-
The GitHub team for OpenKraken Core Collaborators is @openkraken/collaborators.
18+
OpenWebF Core Collaborators maintain the [openwebf/webf][] GitHub repository.
19+
The GitHub team for OpenWebF Core Collaborators is @openwebf/collaborators.
2020
Collaborators have:
2121

22-
* Commit access to the [openkraken/kraken][] repository
23-
* Access to the OpenKraken continuous integration (CI) jobs
22+
* Commit access to the [openwebf/webf][] repository
23+
* Access to the OpenWebF continuous integration (CI) jobs
2424

25-
Both Collaborators and non-Collaborators may propose changes to the OpenKraken
25+
Both Collaborators and non-Collaborators may propose changes to the OpenWebF
2626
source code. The mechanism to propose such a change is a GitHub pull request.
2727
Collaborators review and merge (_land_) pull requests.
2828

@@ -50,31 +50,31 @@ status. Emeriti may request that the TSC restore them to active status.
5050

5151
### Collaborator nominations
5252

53-
Existing Collaborators can nominate someone to become a Collaborator. Nominees should have significant and valuable contributions across the OpenKraken organization.
54-
55-
To nominate a new Collaborator, open an issue in the [openkraken/kraken][] repository. Provide a summary of the nominee's contributions. For example:
56-
57-
* Commits in the [openkraken/kraken][] repository
58-
* Use the link `https://github.com/openkraken/kraken/commits?author=GITHUB_ID`
59-
* Pull requests and issues opened in the [openkraken/kraken][] repository
60-
* Use the link `https://github.com/openkraken/kraken/issues?q=author:GITHUB_ID`
61-
* Comments on pull requests and issues in the [openkraken/kraken][] repository
62-
* Use the link `https://github.com/openkraken/kraken/issues?q=commenter:GITHUB_ID`
63-
* Reviews on pull requests in the [openkraken/kraken][] repository
64-
* Use the link `https://github.com/openkraken/kraken/pulls?q=reviewed-by:GITHUB_ID`
65-
* Pull requests and issues opened throughout the OpenKraken organization
66-
* Use the link `https://github.com/search?q=author:GITHUB_ID+org:openkraken`
67-
* Comments on pull requests and issues throughout the OpenKraken organization
68-
* Use the link `https://github.com/search?q=commenter:GITHUB_ID+org:openkraken`
53+
Existing Collaborators can nominate someone to become a Collaborator. Nominees should have significant and valuable contributions across the OpenWebF organization.
54+
55+
To nominate a new Collaborator, open an issue in the [openwebf/webf][] repository. Provide a summary of the nominee's contributions. For example:
56+
57+
* Commits in the [openwebf/webf][] repository
58+
* Use the link `https://github.com/openwebf/webf/commits?author=GITHUB_ID`
59+
* Pull requests and issues opened in the [openwebf/webf][] repository
60+
* Use the link `https://github.com/openwebf/webf/issues?q=author:GITHUB_ID`
61+
* Comments on pull requests and issues in the [openwebf/webf][] repository
62+
* Use the link `https://github.com/openwebf/webf/issues?q=commenter:GITHUB_ID`
63+
* Reviews on pull requests in the [openwebf/webf][] repository
64+
* Use the link `https://github.com/openwebf/webf/pulls?q=reviewed-by:GITHUB_ID`
65+
* Pull requests and issues opened throughout the OpenWebF organization
66+
* Use the link `https://github.com/search?q=author:GITHUB_ID+org:openwebf`
67+
* Comments on pull requests and issues throughout the OpenWebF organization
68+
* Use the link `https://github.com/search?q=commenter:GITHUB_ID+org:openwebf`
6969
* Help provided to end-users and novice contributors
70-
* Participation in other projects, teams, and working groups of the OpenKraken organization
70+
* Participation in other projects, teams, and working groups of the OpenWebF organization
7171

72-
Mention @openkraken/collaborators in the issue to notify other Collaborators about the nomination.
72+
Mention @openwebf/collaborators in the issue to notify other Collaborators about the nomination.
7373
The nomination passes if no Collaborators oppose it after one week. Otherwise, the nomination fails.
7474

7575
## Technical Steering Committee
7676

77-
A subset of the Collaborators forms the Technical Steering Committee (TSC). The TSC is responsible for all technical development within the OpenKraken project, including:
77+
A subset of the Collaborators forms the Technical Steering Committee (TSC). The TSC is responsible for all technical development within the OpenWebF project, including:
7878

7979
* Setting release dates.
8080
* Release quality standards.
@@ -85,7 +85,7 @@ A subset of the Collaborators forms the Technical Steering Committee (TSC). The
8585
* Maintaining the list of additional Collaborators.
8686
* Development process and any coding standards.
8787
* Mediating technical conflicts between Collaborators projects.
88-
* The TSC will define OpenKraken project’s release vehicles.
88+
* The TSC will define OpenWebF project’s release vehicles.
8989

9090
### Establishment TSC
9191

@@ -99,7 +99,7 @@ TSC members are expected to regularly participate in TSC activities. If a TSC me
9999

100100
### TSC elections
101101

102-
Leadership roles in the OpenKraken project will be peer elected representatives of the community.
102+
Leadership roles in the OpenWebF project will be peer elected representatives of the community.
103103

104104
The TSC will elect from amongst voting TSC members a TSC Chairperson to work on building an agenda for TSC meetings.
105105
The TSC shall hold annual elections to select a TSC Chairperson and
@@ -146,11 +146,11 @@ meeting, the TSC chair ensures that someone opens a pull request with the
146146
minutes.
147147

148148
The TSC seeks to resolve as many issues as possible outside meetings using
149-
[the TSC issue tracker](https://github.com/openkraken/TSC/issues). The process in
149+
[the TSC issue tracker](https://github.com/openwebf/TSC/issues). The process in
150150
the issue tracker is:
151151

152152
* A TSC member opens an issue explaining the proposal/issue and @-mentions
153-
@openkraken/tsc.
153+
@openwebf/tsc.
154154
* The proposal passes if, after 72 hours, there are two or more TSC approvals
155155
and no TSC opposition.
156156
* If there is an extended impasse, a TSC member may make a motion for a vote.
@@ -161,7 +161,7 @@ For internal project decisions, Collaborators shall operate under [Lazy Consensu
161161
The TSC shall establish appropriate guidelines for implementing Lazy Consensus
162162
(e.g. expected notification and review time periods) within the development process.
163163

164-
The TSC follows a [Consensus Seeking][] decision making model. When an agenda
164+
The TSC follows a [Consensus Seeking][] decision making model. When an agenda
165165
item has appeared to reach a consensus the moderator will ask "Does anyone object?"
166166
as a final call for dissent from the consensus.
167167

@@ -173,7 +173,7 @@ For all votes, a simple majority of all TSC members for, or against, the issue w
173173
A TSC member may choose to participate in any vote through abstention.
174174

175175

176-
[openkraken/kraken]: https://github.com/openkraken/kraken
176+
[openwebf/webf]: https://github.com/openwebf/webf
177177
[Lazy Consensus]: https://community.apache.org/committers/lazyConsensus.html
178178
[Consensus Seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making
179179
[Condorcet]: https://en.wikipedia.org/wiki/Condorcet_method

GOVERNANCE.zh-CN.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenKraken 项目协同
1+
# OpenWebF 项目协同
22

33
<!-- 目录 -->
44

@@ -15,14 +15,14 @@
1515

1616
## 协作者
1717

18-
OpenKraken 的协作者将共同维护 [openkraken/kraken] 仓库,协作者在 GitHub 上的小组名称为 @openkraken/collaborators
18+
OpenWebF 的协作者将共同维护 [openwebf/webf] 仓库,协作者在 GitHub 上的小组名称为 @openwebf/collaborators
1919

2020
协作者拥有以下权限:
2121

22-
* [openkraken/kraken] 仓库的 Commit 权限
23-
* OpenKraken 持续集成(CI)任务的权限
22+
* [openwebf/webf] 仓库的 Commit 权限
23+
* OpenWebF 持续集成(CI)任务的权限
2424

25-
无论协作者还是非协作者都可以提交 OpenKraken 的更改,提交更改的机制是通过 Pull Request (PR)。
25+
无论协作者还是非协作者都可以提交 OpenWebF 的更改,提交更改的机制是通过 Pull Request (PR)。
2626

2727
PR 至少两个协作者 Review 通过后才能 Merge,但如果 PR 已经打开超过 7 天,则获得一个协作者的 Review 通过就可以 Merge。
2828

@@ -34,38 +34,38 @@ PR 至少两个协作者 Review 通过后才能 Merge,但如果 PR 已经打
3434

3535
* 帮助新手贡献者
3636
* 贡献代码和更新文档
37-
* 审查和评论 Issue 并提交 Pull Request
37+
* 审查和评论 Issue 并提交 Pull Request
3838
* 参加工作组
3939
* 合并 Pull Request
4040

4141
技术委员会可以移除不活跃的协作者或将他们转移到**荣誉组**,荣誉组成员可以让技术委员会将他们恢复为协作者。
4242

4343
### 协作者提名
4444

45-
现有的协作者可以提名某人成为协作者,被提名人应当是在整个 OpenKraken 生态上做出贡献的组织或个人。
45+
现有的协作者可以提名某人成为协作者,被提名人应当是在整个 OpenWebF 生态上做出贡献的组织或个人。
4646

47-
要提名新的协作者,需要到 [openkraken/kraken][] 仓库中提出一个 Issue,并提供被提名人相关贡献的概述。例如:
47+
要提名新的协作者,需要到 [openwebf/webf][] 仓库中提出一个 Issue,并提供被提名人相关贡献的概述。例如:
4848

49-
*[openkraken/kraken][] 仓库中的 Commits
50-
* 链接格式 `https://github.com/openkraken/kraken/commits?author=GITHUB_ID`
51-
*[openkraken/kraken][] 仓库中提交的 Pull requests 和 Issues
52-
* 链接格式 `https://github.com/openkraken/kraken/issues?q=author:GITHUB_ID`
53-
*[openkraken/kraken][] 仓库中对 Pull requests 和 Issues 的评论
54-
* 链接格式 `https://github.com/openkraken/kraken/issues?q=commenter:GITHUB_ID`
55-
*[openkraken/kraken][] 仓库中的 Reviews
56-
* 链接格式 `https://github.com/openkraken/kraken/pulls?q=reviewed-by:GITHUB_ID`
57-
* 在整个 OpenKraken 组织下提交的 Pull requests 和 Issues
58-
* 链接格式 `https://github.com/search?q=author:GITHUB_ID + org:openkraken`
59-
* 在整个 OpenKraken 组织下对 Pull requests 和 Issues 的评论
60-
* 链接格式 `https:////github.com/search?q=commenter:GITHUB_ID + org:openkraken`
61-
*OpenKraken 用户和新手贡献者提供的帮助
62-
* 参加 OpenKraken 的其他项目,团队、工作组或组织
49+
*[openwebf/webf][] 仓库中的 Commits
50+
* 链接格式 `https://github.com/openwebf/webf/commits?author=GITHUB_ID`
51+
*[openwebf/webf][] 仓库中提交的 Pull requests 和 Issues
52+
* 链接格式 `https://github.com/openwebf/webf/issues?q=author:GITHUB_ID`
53+
*[openwebf/webf][] 仓库中对 Pull requests 和 Issues 的评论
54+
* 链接格式 `https://github.com/openwebf/webf/issues?q=commenter:GITHUB_ID`
55+
*[openwebf/webf][] 仓库中的 Reviews
56+
* 链接格式 `https://github.com/openwebf/webf/pulls?q=reviewed-by:GITHUB_ID`
57+
* 在整个 OpenWebF 组织下提交的 Pull requests 和 Issues
58+
* 链接格式 `https://github.com/search?q=author:GITHUB_ID + org:openwebf`
59+
* 在整个 OpenWebF 组织下对 Pull requests 和 Issues 的评论
60+
* 链接格式 `https:////github.com/search?q=commenter:GITHUB_ID + org:openwebf`
61+
*OpenWebF 用户和新手贡献者提供的帮助
62+
* 参加 OpenWebF 的其他项目,团队、工作组或组织
6363

64-
在 Issue 中 `@openkraken/collaborators` 以通知其他协作者。如果一周后没有任何协作者反对,则提名通过,否则提名失败。
64+
在 Issue 中 `@openwebf/collaborators` 以通知其他协作者。如果一周后没有任何协作者反对,则提名通过,否则提名失败。
6565

6666
## 技术委员会
6767

68-
一部分协作者组成了技术委员会(TSC),以下简称委员会。委员会为 OpenKraken 项目内的所有技术开发行为负责,其职责包括:
68+
一部分协作者组成了技术委员会(TSC),以下简称委员会。委员会为 OpenWebF 项目内的所有技术开发行为负责,其职责包括:
6969

7070
* 设置发布日期
7171
* 发布质量标准
@@ -76,7 +76,7 @@ PR 至少两个协作者 Review 通过后才能 Merge,但如果 PR 已经打
7676
* 维护协作者列表
7777
* 维护开发过程和任何编码标准
7878
* 协调技术冲突
79-
* 委员会将提供 OpenKraken 项目的发布工具
79+
* 委员会将提供 OpenWebF 项目的发布工具
8080

8181
### 组建委员会
8282

@@ -110,10 +110,10 @@ PR 至少两个协作者 Review 通过后才能 Merge,但如果 PR 已经打
110110

111111
在会议期间,委员会主席需要确保有人在记录会议纪要。在会议结束后,委员会主席需要保证会议纪要被上传。
112112

113-
委员会可以使用[委员会问题跟踪区](https://github.com/openkraken/TSC/issues) 在会议之外解决尽可能多的问题。 问题跟踪区的运行机制是:
113+
委员会可以使用[委员会问题跟踪区](https://github.com/openwebf/TSC/issues) 在会议之外解决尽可能多的问题。 问题跟踪区的运行机制是:
114114

115115
* 委员会成员打开一个问题,解释提案/问题和 @提及
116-
@openkraken/tsc
116+
@openwebf/tsc
117117
* 如果 72 小时后获得两个或更多委员会成员批准,且没有委员会成员的反对,则提案通过
118118
* 如果不能够达成共识,委员会成员可以提出发起投票
119119

@@ -127,6 +127,6 @@ PR 至少两个协作者 Review 通过后才能 Merge,但如果 PR 已经打
127127

128128
对于所有投票,绝大多数委员会成员同意则该提议通过,委员会成员也可以选择放弃投票。
129129

130-
[openkraken/kraken]: https://github.com/openkraken/kraken
130+
[openwebf/webf]: https://github.com/openwebf/webf
131131
[Lazy Consensus]: https://community.apache.org/committers/lazyConsensus.html
132132
[Consensus Seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making

bridge/CMakeLists.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.10.0)
22
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11)
3-
project(KrakenBridge)
3+
project(WebF)
44

55
set(CMAKE_CXX_STANDARD 17)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -151,7 +151,7 @@ list(APPEND BRIDGE_INCLUDE
151151

152152
set(BINDING_DIR ${CMAKE_CURRENT_LIST_DIR}/bindings)
153153

154-
if ($ENV{KRAKEN_JS_ENGINE} MATCHES "quickjs")
154+
if ($ENV{WEBF_JS_ENGINE} MATCHES "quickjs")
155155
add_compile_options(-DKRAKEN_QUICK_JS_ENGINE=1)
156156

157157
execute_process(
@@ -299,10 +299,10 @@ list(APPEND PUBLIC_HEADER
299299
include/kraken_bridge.h
300300
)
301301

302-
add_library(kraken SHARED ${BRIDGE_SOURCE})
303-
add_library(kraken_static STATIC ${BRIDGE_SOURCE})
302+
add_library(webf SHARED ${BRIDGE_SOURCE})
303+
add_library(webf_static STATIC ${BRIDGE_SOURCE})
304304

305-
target_compile_definitions(kraken PUBLIC -DFLUTTER_BACKEND=1)
305+
target_compile_definitions(webf PUBLIC -DFLUTTER_BACKEND=1)
306306

307307
add_library(gumbo_parse_static STATIC ${GUMBO_PARSER})
308308
list(APPEND BRIDGE_LINK_LIBS gumbo_parse_static)
@@ -320,30 +320,30 @@ elseif(${IS_IOS})
320320
add_definitions(-DIS_IOS=1)
321321
endif()
322322

323-
### Kraken
324-
target_include_directories(kraken PRIVATE
323+
### webf
324+
target_include_directories(webf PRIVATE
325325
${BRIDGE_INCLUDE}
326326
${CMAKE_CURRENT_SOURCE_DIR} PUBLIC ./include)
327-
target_link_libraries(kraken PRIVATE ${BRIDGE_LINK_LIBS})
327+
target_link_libraries(webf PRIVATE ${BRIDGE_LINK_LIBS})
328328

329-
if ($ENV{KRAKEN_JS_ENGINE} MATCHES "quickjs")
329+
if ($ENV{WEBF_JS_ENGINE} MATCHES "quickjs")
330330
if (${CMAKE_BUILD_TYPE} STREQUAL "Release" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
331-
target_compile_options(kraken PRIVATE -fno-exceptions -fvisibility=hidden -fno-rtti)
331+
target_compile_options(webf PRIVATE -fno-exceptions -fvisibility=hidden -fno-rtti)
332332
else ()
333333
### remove dynamic_cast and exceptions
334-
target_compile_options(kraken PRIVATE -fno-exceptions -fno-rtti)
334+
target_compile_options(webf PRIVATE -fno-exceptions -fno-rtti)
335335
endif ()
336336
endif ()
337337

338338
### KrakenStatic
339-
target_include_directories(kraken_static PRIVATE
339+
target_include_directories(webf_static PRIVATE
340340
${BRIDGE_INCLUDE}
341341
${CMAKE_CURRENT_SOURCE_DIR} PUBLIC ./include)
342-
target_link_libraries(kraken_static ${BRIDGE_LINK_LIBS})
342+
target_link_libraries(webf_static ${BRIDGE_LINK_LIBS})
343343

344344
execute_process(
345345
COMMAND grep version: ./pubspec.yaml
346-
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../kraken
346+
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../webf
347347
OUTPUT_VARIABLE APP_VER
348348
)
349349
string(SUBSTRING ${APP_VER} 9 30 APP_VER)
@@ -365,13 +365,13 @@ if (${ENABLE_TEST})
365365
endif ()
366366

367367
if (DEFINED ENV{LIBRARY_OUTPUT_DIR})
368-
set_target_properties(kraken
368+
set_target_properties(webf
369369
PROPERTIES
370370
LIBRARY_OUTPUT_DIRECTORY "$ENV{LIBRARY_OUTPUT_DIR}"
371371
)
372-
set_target_properties(kraken_static PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "$ENV{LIBRARY_OUTPUT_DIR}")
372+
set_target_properties(webf_static PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "$ENV{LIBRARY_OUTPUT_DIR}")
373373

374-
if ($ENV{KRAKEN_JS_ENGINE} MATCHES "quickjs")
374+
if ($ENV{WEBF_JS_ENGINE} MATCHES "quickjs")
375375
set_target_properties(quickjs PROPERTIES LIBRARY_OUTPUT_DIRECTORY "$ENV{LIBRARY_OUTPUT_DIR}")
376376
endif ()
377377
elseif (IS_ANDROID)
@@ -382,11 +382,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "iOS")
382382
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
383383
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
384384

385-
set_target_properties(kraken PROPERTIES
386-
OUTPUT_NAME kraken_bridge
385+
set_target_properties(webf PROPERTIES
386+
OUTPUT_NAME webf_bridge
387387
FRAMEWORK TRUE
388388
FRAMEWORK_VERSION C
389-
MACOSX_FRAMEWORK_IDENTIFIER com.openkraken.kraken-bridge
389+
MACOSX_FRAMEWORK_IDENTIFIER com.openwebf.webf-bridge
390390
MACOSX_FRAMEWORK_BUNDLE_VERSION 1.0
391391
MACOSX_FRAMEWORK_SHORT_VERSION_STRING 1.0
392392
PUBLIC_HEADER ${KRAKEN_PUBLIC_HEADERS}
@@ -398,7 +398,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "iOS")
398398
OUTPUT_NAME quickjs
399399
FRAMEWORK TRUE
400400
FRAMEWORK_VERSION C
401-
MACOSX_FRAMEWORK_IDENTIFIER com.openkraken.quickjs
401+
MACOSX_FRAMEWORK_IDENTIFIER com.openwebf.quickjs
402402
MACOSX_FRAMEWORK_BUNDLE_VERSION 1.0
403403
MACOSX_FRAMEWORK_SHORT_VERSION_STRING 1.0
404404
PUBLIC_HEADER ${QUICKJS_PUBLIC_HEADERS}

0 commit comments

Comments
 (0)