Know the open source license - Apache2.0

"Compliance in Qicai Talk" is a new content section launched by Prism Qicai, covering basic knowledge of open source compliance, common license translation, common compliance Q&A and other modules. Prism Colorful Open Source Compliance Department focuses on open source license research, providing you with authoritative license translation references and answers to questions.

Open Source Compliance Step One: Understanding Open Source Licenses

The essence of an open source license is a format contract that grants users the right to freely use, modify, and distribute open source code through specific terms. For open source compliance governance, you first need to understand the terms and conditions in the open source license.

The "Yuanyizhi" project is an open source public welfare translation project initiated by the Open Atom Open Source Foundation, focusing on the professional and community-based high-quality translation of open source related content such as open source licenses, judicial cases, professional books, key reports and community information , which aims to promote consensus through co-translation, promote communication and understanding between different contexts and jurisdictions in the field of open source, so as to feed back the open source ecology.


Apache License Version 2.0
January 2004 http://www.apache.org/licenses/

Apache License Version 2.0
January 2004 http://www.apache.org/licenses/

SPDX short identifier / SPDX short identifier: Apache-2.0

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Definitions.定义
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"This License" means the terms and conditions of use, reproduction and distribution as defined in Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Licensor" means the copyright owner or an entity authorized by it to grant this License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"Legal Entity" means a collection of Conducting Entities and other entities that control, are controlled by, or are under common control with such Entity. For purposes of this definition, "control" means (i) the power, whether by contract or otherwise, to direct or manage the entity, directly or indirectly; or (ii) own fifty percent (50%) or more of the outstanding shares or (iii) have beneficial ownership of the entity.

"You" (or "Your" ) shall mean an individual or Legal Entity exercising permissions granted by this License.

"You" (or "Your") means the individual or legal entity exercising the licenses granted under this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Source Code" form means the preferred form for making modifications, including but not limited to software source code, source documentation and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

"Object Code" form means any form resulting from machine transformation or translation of Source code form, including but not limited to compiled object code, generated documentation, and converted other media types.

"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

"Work" means an original work made available under this License, whether in source or object form, as described in the copyright notice contained in or attached to the work (see Appendix below for examples).

"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

"Derivative Work" means any work based on (or derived from) this Work, whether in source or object code form, and where editorial revisions, annotations, elaborations, or other modifications of this Work constitute an original work as a whole. For purposes of this License, Derivative Works do not include works that remain separate from, or merely interface with (or bind in name to) this Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

"Contribution" means any original work of art submitted to Licensor intentionally by the copyright owner or by a person or legal entity authorized by it to incorporate into the Work, including the original version of the Work and any modifications or additions to the Work or derivatives thereof work. For purposes of this definition, "Submission" means any communication, electronic, oral or written, sent to or on behalf of Licensor, including, but not limited to, any communication sent to Licensor's administration, or communications on behalf of Licensor's email lists, source code control systems, and release tracking systems, excluding communications expressly marked or otherwise designated in writing by the copyright owner as "non-contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

"Contributor" means Licensor, and any individual or legal entity whose "Contributions" have been received by Licensor and on whose behalf Licensor incorporates the Contributions into the Work.

2.Grant of Copyright License. Grant of Copyright License

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

Subject to the terms and conditions of this License, each contributor hereby grants you a perpetual, worldwide, non-exclusive, transaction-fee-free, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of Work, publicly display, publicly perform, sublicense and distribute this work and derivative works thereof, in source or object form.

3.Grant of Patent License. Grant of patent license

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, non-exclusive, transaction-fee-free, license-fee-free, irrevocable (except as provided in this section) Patent license to make, consign, use, offer for sale, sell, import, and otherwise transfer the work, only to the extent that the contributor is entitled to license, either by the contribution itself or by the contribution to which it submits The patent claims that are necessarily infringed by the combination formed by this work. In the event that you bring a patent action (including a cross-claim or counterclaim in legal action) against any entity alleging that the work or contributions incorporating the work constitute direct or contributory infringement of a patent, the license granted to you under this License Any patent license terminates on the date this action is filed.

4.Redistribution. Redistribution

You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

You may reproduce and distribute copies of this work or derivative works thereof, with or without modification, in source or object form, in any medium, provided that you:

a.You must give any other recipients of the Work or Derivative Works a copy of this License; and

You must provide a copy of this License to any other recipients of the Work or Derivative Works; and

b.You must cause any modified files to carry prominent notices stating that You changed the files; and

You must cause any modified file to include a prominent statement stating that you modified it; and

c.You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

You must retain in the source code form of any Derivative Work that you distribute, all copyright, patent, trademark, and ownership notices from the source code form of the Work, except for notices that are unrelated to any part of the Derivative Work; and

d.If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

IF THIS WORK IS DISTRIBUTED INCLUDING A "NOTICE" TEXT FILE, ANY DERIVATIVE WORK YOU DISTRIBUTE MUST CONTAIN A READABLE COPY OF THE ATTRIBUTED NOTICE IN THIS DOCUMENT IN AT LEAST ONE OF THE FOLLOWING LOCATIONS, EXCEPT FOR A NOTICE NOT RELATED TO ANY PART OF THE DERIVATIVE WORK: In a NOTICE text file that is part of a Derivative Work; in source code form or documentation provided with a Derivative Work; or anywhere a third-party notice is generally displayed, if any, in a display interface generated by a Derivative Work. The contents of the NOTICE file are for information only and do not modify this license. You may add your own attribution notices to derivative works you distribute, alongside or as appendices to the NOTICE text of this work, as long as such added attribution notices are not construed to modify this License.

You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

You may add your own copyright notice to your modifications and may provide additional or different license terms and conditions for use, reproduction or distribution with respect to your modifications or any derivative work as a whole, provided that you use, reproduce and distribute The practice of this work complies with the conditions set forth in this License.

5. Submission of Contributions.

Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

Unless expressly stated otherwise, any contribution you intend to submit to the Licensor for inclusion in the Work is subject to the terms and conditions of this License without any additional terms or conditions. Notwithstanding the foregoing, nothing in this License supersedes or modifies the terms of a separate license agreement you may have with the Licensor in connection with the Contribution.

6. Trademarks.

This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

This License does not grant a license to use Licensor's trade names, trademarks, service marks, or product names, except as required by reasonable and customary usage in describing the source of this work and reproducing the contents of the NOTICE file.

7. Disclaimer of Warranty. Disclaimer

Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

Unless required by applicable law or agreed in writing, Licensor provides this work (and each contributor with respect to its contribution) "as is" without warranty or condition of any kind, express or implied, including, but not limited to, , NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the work, and any risk associated with your exercise of the licenses granted under this License.

8.Limitation of Liability. Limitation of Liability

In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

IN NO EVENT SHALL ANY CONTRIBUTOR BE LIABLE TO YOU FOR DAMAGES, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, EXCEPT AS REQUIRED BY APPLICABLE LAW (such as in willful or gross negligence) or with written consent , including any direct, indirect, special, incidental or consequential damages (including but not limited to loss of goodwill, work stoppage, computer failure or failure) arising out of this License or from the use or inability to use the work , or any other commercial damage or loss), even if the contributor has been advised of the possibility of such loss.

9.Accepting Warranty or Additional Liability. Accepting Warranty or Additional Liability

While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

When redistributing this work or derivative works thereof, you may choose to receive support, warranty, indemnification or other obligations and/or rights consistent with this License, and receive a fee for it. However, in accepting this obligation, you are acting solely on your own behalf and solely at your own risk, and not on behalf of any other contributor, and in the event of any other contributor's liability or claim arising out of your acceptance of such warranty or additional liability , you must agree to indemnify, defend and hold that contributor harmless from such damages.

END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work Appendix: How to apply the Apache License to your work

Include a copy of the Apache License, typically in a file called LICENSE, in your work, and consider also including a NOTICE file that references the License.

Include a copy of the Apache License in your work, usually in a file named "LICENSE ", and consider including a "NOTICE" file in your work that references that license.

To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.

To apply the Apache License to your work, please attach the declaration template below, replacing the fields surrounded by brackets "[]" with your own identifying information. (Do not include the square brackets!) This text should be included in the appropriate comment syntax for the file format. We also recommend placing the filename or classname and purpose description on the same "printed page" as the copyright notice for easy identification in third-party archives.

Copyright [yyyy] [name of copyright owner] Licensed 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.

Copyright [yyyy] [name of copyright owner] is licensed under the Apache License, Version 2.0 ("this License"); you may not use this file except as provided in this License. You can obtain a copy of this License here: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed in writing, software distributed under this License is distributed "AS IS" without warranty or condition of any kind, either express or implied. Please consult this License for specific requirements regarding permissions and restrictions hereunder.

[Translator's Note: The above template translation is only for your convenience, and the original English version of the template should be used in your work.

Translation statement: This Chinese translation is based on the translation submissions of Lotus, Vanessa, Sara, and Yexing Monk. It was reviewed by Professor Song Lei, Wei Sir, and Shen Fen at the 20230226 translation review meeting, and after consultation with the Apache Software Foundation , will be finalized at the 20230409 translation review meeting. This translation authorizes you to use, copy and distribute according to CC0. But please also note that this translation is not an official translation, it is only translated for ease of reading, understanding, and discussion. The Open Atom Open Source Foundation does not provide any express or implied guarantees related to this translation. For the original version 2.0 of the Apache License, please see: https://apache.org/licenses/LICENSE-2.0

Project introduction: The "Yuanyishi" translation project is an open source public welfare translation project initiated by the Open Atom Open Source Foundation, which aims to seek a consensus on open source through joint translation. At present, this project mainly involves the translation of open source licenses, open source cases, open source books and open source information. For details, see: https://openatom.org/legal-IP.

Guess you like

Origin blog.csdn.net/LJQClqjc/article/details/132062667