1 |
|
---|
2 | ======================
|
---|
3 | = Code Contributions =
|
---|
4 | ======================
|
---|
5 |
|
---|
6 | To make a contribution to a TianoCore project, follow these steps.
|
---|
7 | 1. Create a change description in the format specified below to
|
---|
8 | use in the source control commit log.
|
---|
9 | 2. Your commit message must include your "Signed-off-by" signature,
|
---|
10 | and "Contributed-under" message.
|
---|
11 | 3. Your "Contributed-under" message explicitly states that the
|
---|
12 | contribution is made under the terms of the specified
|
---|
13 | contribution agreement. Your "Contributed-under" message
|
---|
14 | must include the name of contribution agreement and version.
|
---|
15 | For example: Contributed-under: TianoCore Contribution Agreement 1.0
|
---|
16 | The "TianoCore Contribution Agreement" is included below in
|
---|
17 | this document.
|
---|
18 | 4. Submit your code to the TianoCore project using the process
|
---|
19 | that the project documents on its web page. If the process is
|
---|
20 | not documented, then submit the code on development email list
|
---|
21 | for the project.
|
---|
22 | 5. It is preferred that contributions are submitted using the same
|
---|
23 | copyright license as the base project. When that is not possible,
|
---|
24 | then contributions using the following licenses can be accepted:
|
---|
25 | * BSD (2-clause): http://opensource.org/licenses/BSD-2-Clause
|
---|
26 | * BSD (3-clause): http://opensource.org/licenses/BSD-3-Clause
|
---|
27 | * MIT: http://opensource.org/licenses/MIT
|
---|
28 | * Python-2.0: http://opensource.org/licenses/Python-2.0
|
---|
29 | * Zlib: http://opensource.org/licenses/Zlib
|
---|
30 |
|
---|
31 | Contributions of code put into the public domain can also be
|
---|
32 | accepted.
|
---|
33 |
|
---|
34 | Contributions using other licenses might be accepted, but further
|
---|
35 | review will be required.
|
---|
36 |
|
---|
37 | =======================================
|
---|
38 | = Change Description / Commit Message =
|
---|
39 | =======================================
|
---|
40 |
|
---|
41 | Your change description should use the standard format for a
|
---|
42 | commit message, and must include your "Signed-off-by" signature
|
---|
43 | and the "Contributed-under" message.
|
---|
44 |
|
---|
45 | == Sample Change Description / Commit Message =
|
---|
46 |
|
---|
47 | === Definitions for sample change description ===
|
---|
48 |
|
---|
49 | * "CodeModule" is a short idenfier for the affected code. For
|
---|
50 | example MdePkg, or MdeModulePkg UsbBusDxe.
|
---|
51 | * "Brief-single-line-summary" is a short summary of the change.
|
---|
52 | * The entire first line should be less than ~70 characters.
|
---|
53 | * "Full-commit-message" a verbose multiple line comment describing
|
---|
54 | the change. Each line should be less than ~70 characters.
|
---|
55 | * "Contributed-under" explicitely states that the contribution is
|
---|
56 | made under the terms of the contribtion agreement. This
|
---|
57 | agreement is included below in this document.
|
---|
58 | * "Signed-off-by" is the contributor's signature identifying them
|
---|
59 | by their real/legal name and their email address.
|
---|
60 |
|
---|
61 | === Start of sample change description / commit message ===
|
---|
62 | CodeModule: Brief-single-line-summary
|
---|
63 |
|
---|
64 | Full-commit-message
|
---|
65 |
|
---|
66 | Contributed-under: TianoCore Contribution Agreement 1.0
|
---|
67 | Signed-off-by: Contributor Name <contributor@email.server>
|
---|
68 | === End of sample change description / commit message ===
|
---|
69 |
|
---|
70 | ========================================
|
---|
71 | = TianoCore Contribution Agreement 1.0 =
|
---|
72 | ========================================
|
---|
73 |
|
---|
74 | INTEL CORPORATION ("INTEL") MAKES AVAILABLE SOFTWARE, DOCUMENTATION,
|
---|
75 | INFORMATION AND/OR OTHER MATERIALS FOR USE IN THE TIANOCORE OPEN SOURCE
|
---|
76 | PROJECT (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE
|
---|
77 | TERMS AND CONDITIONS OF THIS AGREEMENT BETWEEN YOU AND INTEL AND/OR THE
|
---|
78 | TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR
|
---|
79 | REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE
|
---|
80 | CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS
|
---|
81 | OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
|
---|
82 | BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS
|
---|
83 | AGREEMENT AND THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
|
---|
84 | AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT
|
---|
85 | USE THE CONTENT.
|
---|
86 |
|
---|
87 | Unless otherwise indicated, all Content made available on the TianoCore
|
---|
88 | site is provided to you under the terms and conditions of the BSD
|
---|
89 | License ("BSD"). A copy of the BSD License is available at
|
---|
90 | http://opensource.org/licenses/bsd-license.php
|
---|
91 | or when applicable, in the associated License.txt file.
|
---|
92 |
|
---|
93 | Certain other content may be made available under other licenses as
|
---|
94 | indicated in or with such Content. (For example, in a License.txt file.)
|
---|
95 |
|
---|
96 | You accept and agree to the following terms and conditions for Your
|
---|
97 | present and future Contributions submitted to TianoCore site. Except
|
---|
98 | for the license granted to Intel hereunder, You reserve all right,
|
---|
99 | title, and interest in and to Your Contributions.
|
---|
100 |
|
---|
101 | == SECTION 1: Definitions ==
|
---|
102 | * "You" or "Contributor" shall mean the copyright owner or legal
|
---|
103 | entity authorized by the copyright owner that is making a
|
---|
104 | Contribution hereunder. All other entities that control, are
|
---|
105 | controlled by, or are under common control with that entity are
|
---|
106 | considered to be a single Contributor. For the purposes of this
|
---|
107 | definition, "control" means (i) the power, direct or indirect, to
|
---|
108 | cause the direction or management of such entity, whether by
|
---|
109 | contract or otherwise, or (ii) ownership of fifty percent (50%)
|
---|
110 | or more of the outstanding shares, or (iii) beneficial ownership
|
---|
111 | of such entity.
|
---|
112 | * "Contribution" shall mean any original work of authorship,
|
---|
113 | including any modifications or additions to an existing work,
|
---|
114 | that is intentionally submitted by You to the TinaoCore site for
|
---|
115 | inclusion in, or documentation of, any of the Content. For the
|
---|
116 | purposes of this definition, "submitted" means any form of
|
---|
117 | electronic, verbal, or written communication sent to the
|
---|
118 | TianoCore site or its representatives, including but not limited
|
---|
119 | to communication on electronic mailing lists, source code
|
---|
120 | control systems, and issue tracking systems that are managed by,
|
---|
121 | or on behalf of, the TianoCore site for the purpose of
|
---|
122 | discussing and improving the Content, but excluding
|
---|
123 | communication that is conspicuously marked or otherwise
|
---|
124 | designated in writing by You as "Not a Contribution."
|
---|
125 |
|
---|
126 | == SECTION 2: License for Contributions ==
|
---|
127 | * Contributor hereby agrees that redistribution and use of the
|
---|
128 | Contribution in source and binary forms, with or without
|
---|
129 | modification, are permitted provided that the following
|
---|
130 | conditions are met:
|
---|
131 | ** Redistributions of source code must retain the Contributor's
|
---|
132 | copyright notice, this list of conditions and the following
|
---|
133 | disclaimer.
|
---|
134 | ** Redistributions in binary form must reproduce the Contributor's
|
---|
135 | copyright notice, this list of conditions and the following
|
---|
136 | disclaimer in the documentation and/or other materials provided
|
---|
137 | with the distribution.
|
---|
138 | * Disclaimer. None of the names of Contributor, Intel, or the names
|
---|
139 | of their respective contributors may be used to endorse or
|
---|
140 | promote products derived from this software without specific
|
---|
141 | prior written permission.
|
---|
142 | * Contributor grants a license (with the right to sublicense) under
|
---|
143 | claims of Contributor's patents that Contributor can license that
|
---|
144 | are infringed by the Contribution (as delivered by Contributor) to
|
---|
145 | make, use, distribute, sell, offer for sale, and import the
|
---|
146 | Contribution and derivative works thereof solely to the minimum
|
---|
147 | extent necessary for licensee to exercise the granted copyright
|
---|
148 | license; this patent license applies solely to those portions of
|
---|
149 | the Contribution that are unmodified. No hardware per se is
|
---|
150 | licensed.
|
---|
151 | * EXCEPT AS EXPRESSLY SET FORTH IN SECTION 3 BELOW, THE
|
---|
152 | CONTRIBUTION IS PROVIDED BY THE CONTRIBUTOR "AS IS" AND ANY
|
---|
153 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
---|
154 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
---|
155 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
---|
156 | CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
---|
157 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
---|
158 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
---|
159 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
---|
160 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
---|
161 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
---|
162 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
|
---|
163 | CONTRIBUTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
---|
164 | DAMAGE.
|
---|
165 |
|
---|
166 | == SECTION 3: Representations ==
|
---|
167 | * You represent that You are legally entitled to grant the above
|
---|
168 | license. If your employer(s) has rights to intellectual property
|
---|
169 | that You create that includes Your Contributions, You represent
|
---|
170 | that You have received permission to make Contributions on behalf
|
---|
171 | of that employer, that Your employer has waived such rights for
|
---|
172 | Your Contributions.
|
---|
173 | * You represent that each of Your Contributions is Your original
|
---|
174 | creation (see Section 4 for submissions on behalf of others).
|
---|
175 | You represent that Your Contribution submissions include complete
|
---|
176 | details of any third-party license or other restriction
|
---|
177 | (including, but not limited to, related patents and trademarks)
|
---|
178 | of which You are personally aware and which are associated with
|
---|
179 | any part of Your Contributions.
|
---|
180 |
|
---|
181 | == SECTION 4: Third Party Contributions ==
|
---|
182 | * Should You wish to submit work that is not Your original creation,
|
---|
183 | You may submit it to TianoCore site separately from any
|
---|
184 | Contribution, identifying the complete details of its source
|
---|
185 | and of any license or other restriction (including, but not
|
---|
186 | limited to, related patents, trademarks, and license agreements)
|
---|
187 | of which You are personally aware, and conspicuously marking the
|
---|
188 | work as "Submitted on behalf of a third-party: [named here]".
|
---|
189 |
|
---|
190 | == SECTION 5: Miscellaneous ==
|
---|
191 | * Applicable Laws. Any claims arising under or relating to this
|
---|
192 | Agreement shall be governed by the internal substantive laws of
|
---|
193 | the State of Delaware or federal courts located in Delaware,
|
---|
194 | without regard to principles of conflict of laws.
|
---|
195 | * Language. This Agreement is in the English language only, which
|
---|
196 | language shall be controlling in all respects, and all versions
|
---|
197 | of this Agreement in any other language shall be for accommodation
|
---|
198 | only and shall not be binding. All communications and notices made
|
---|
199 | or given pursuant to this Agreement, and all documentation and
|
---|
200 | support to be provided, unless otherwise noted, shall be in the
|
---|
201 | English language.
|
---|
202 |
|
---|