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