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