You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Licensed to the O2Team under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
Taro Subcomponents:
The Taro project contains subcomponents with separate copyright
notices and license terms. Your use of the source code for these
subcomponents is also subject to the terms and conditions of the following
licenses.
[license] (source project):
contains files
For example:
BSD 3-Clause (d3.js):
The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause:
`/src/chart/treemap/treemapLayout.ts`,
`/src/chart/tree/layoutHelper.ts`,
`/src/chart/graph/forceHelper.ts`,
`/src/util/number.ts`
See `/licenses/LICENSE-d3` for details of the license.
引用第三方代码文件:
// 使用第三方代码须添加说明例子// 文件头部须说明/** A third-party license is embeded for some of the code in this file:* The tree layoutHelper implementation was originally copied from* "d3.js"(https://github.com/d3/d3-hierarchy) with* some modifications made for this project.* (see more details in the comment of the specific method below.)* The use of the source code of this file is also subject to the terms* and consitions of the licence of "d3.js" (BSD-3Clause, see* </licenses/LICENSE-d3>).*/// 代码引用说明/** * The implementation of this function was originally copied from "d3.js" * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js> * with some modifications made for this program. * See the license statement at the head of this file. * * Shifts the current subtree rooted at wr. * This is done by increasing prelim(w+) and modifier(w+) by shift. */
用户可在任何媒介中复制和分发作品或衍生作品之副本,无论是否修订,还是以源程序形式或目标形式,条件是用户需满足下列条款:
a) 用户必须为作品或衍生作品的任何其他接收者提供本许可证的副本;并且
b) 用户必须让任何修改过的文件附带明显的通知,声明用户已更改文件;并且
c) 用户必须从作品的源程序形式中保留衍生作品源程序形式的用户所分发的所有版权、专利、商标和属性通知,但不包括不属于衍生作品任何部分的类似通知;并且
d) 如果作品将"通知"文本文件包括为其分发作品的一部分,那么用户分发的任何衍生作品中须至少在下列地方之一包括,在这样的通知文件中所包含的属性通知的可读副本,但不包括那些不属于衍生作品任何部分的通知:在作为衍生作品一部分而分发的通知文本文件中;如果与衍生作品一起提供则在源程序形式或文件中;或者通常作为第三方通知出现的时候和地方,在衍生作品中产生的画面中。通知文件的内容仅供信息提供,并未对许可证进行修改。用户可在其分发的衍生作品中在作品的通知文本后或作为附录添加自己的属性通知,条件是附加的属性通知不得构成修改本许可证。
用户可以为自身所做出的修订添加自己的版权声明并可对自身所做出修订内容或为这样的衍生作品作为整体的使用、复制或分发提供附加或不同的条款,条件是用户对作品的使用、复制和分发必须符合本许可证中声明的条款。
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
概述
将 Taro 的开源许可切换成 Apache license 2.0 许可证。
动机
保护
Taro
商标。设计
更改协议
license 更换为 Apache license 2.0;package.json 标明 Apache-2.0。
使用脚本进行声明添加 https://github.com/apache/echarts/blob/master/build/addHeader.js
需使用第三方代码检测。
license文件:
引用第三方代码文件:
使用工具 https://github.com/pivotal/LicenseFinder。
公共许可 MIT,Apache 2.0,ISC和BSD。
https://opensource.guide/zh-hans/legal/#%E6%88%91%E7%9A%84%E9%A1%B9%E7%9B%AE%E9%80%82%E5%90%88%E4%BB%80%E4%B9%88%E6%A0%B7%E7%9A%84%E5%BC%80%E6%BA%90%E8%AE%B8%E5%8F%AF。
如果依赖中有一个的许可协议是”强硬的copyleft”,那么项目将必须使用与之相同的许可协议。copyleft许可协议包括GPLv2,GPLv3和AGPLv3。
协议内容
Apache License 2.0(http://www.apache.org/licenses/LICENSE-2.0) ,中文译文如下:
Beta Was this translation helpful? Give feedback.
All reactions