Skip to content

Commit e981275

Browse files
committed
add license and third prity notice
1 parent 595b28a commit e981275

3 files changed

Lines changed: 261 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ Contributions are appreciated!
99
If there's a feature you would like to add or a bug you would like to fix, please read [Contribution guidelines](./CONTRIBUTING.md) and create an Issue or Pull Request.
1010

1111
IssueやPull Requestを送る際は、[Contribution guidelines](./CONTRIBUTING.md)をご覧頂ください。 可能なら英語が望ましいですが、日本語で構いません。
12+
13+
# Notice
14+
## License
15+
This project is licensed under the terms of the [MIT License](./LICENSE.txt).
16+
17+
## Credit
18+
This project incorporates implementations partially ported from the following projects. See also [ThirdPartyNotices.md](./ThirdPartyNotices.md) for detail.
19+
20+
- [DotLiquid](https://github.com/dotliquid/dotliquid)
21+
- [LiquidTestReports](https://github.com/kurtmkurtm/LiquidTestReports)
22+
- [Microsoft.Testing.Platform, Microsoft.Testing.Extensions.TrxReport](https://github.com/microsoft/testfx)

ThirdPartyNotices.md

Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
1+
# THIRD PARTY NOTICES
2+
This project incorporates material from the projects listed below or described in the code.
3+
4+
The attached notices are provided for information purposes only.
5+
6+
## License notice for `DotLiquid`
7+
8+
- https://github.com/dotliquid/dotliquid
9+
- https://github.com/dotliquid/dotliquid/blob/master/LICENSE-Apache
10+
- https://github.com/dotliquid/dotliquid/blob/master/LICENSE-Ms-PL
11+
12+
```txt
13+
Apache License, Version 2.0
14+
15+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
16+
17+
1. Definitions.
18+
19+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1
20+
through 9 of this document.
21+
22+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
23+
24+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by,
25+
or are under common control with that entity. For the purposes of this definition, "control" means (i) the power,
26+
direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or
27+
(ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
28+
29+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
30+
31+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source
32+
code, documentation source, and configuration files.
33+
34+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form,
35+
including but not limited to compiled object code, generated documentation, and conversions to other media types.
36+
37+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License,
38+
as indicated by a copyright notice that is included in or attached to the work (an example is provided in the
39+
Appendix below).
40+
41+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from)
42+
the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent,
43+
as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include
44+
works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative
45+
Works thereof.
46+
47+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications
48+
or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion
49+
in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the
50+
copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written
51+
communication sent to the Licensor or its representatives, including but not limited to communication on electronic
52+
mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of,
53+
the Licensor for the purpose of discussing and improving the Work, but excluding communication that is
54+
conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
55+
56+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been
57+
received by Licensor and subsequently incorporated within the Work.
58+
59+
2. Grant of Copyright License.
60+
61+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide,
62+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of,
63+
publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or
64+
Object form.
65+
66+
3. Grant of Patent License.
67+
68+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide,
69+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make,
70+
have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to
71+
those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone
72+
or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You
73+
institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging
74+
that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent
75+
infringement, then any patent licenses granted to You under this License for that Work shall terminate as of
76+
the date such litigation is filed.
77+
78+
4. Redistribution.
79+
80+
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without
81+
modifications, and in Source or Object form, provided that You meet the following conditions:
82+
83+
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
84+
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
85+
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent,
86+
trademark, and attribution notices from the Source form of the Work, excluding those notices that do not
87+
pertain to any part of the Derivative Works; and
88+
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You
89+
distribute must include a readable copy of the attribution notices contained within such NOTICE file,
90+
excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the
91+
following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source
92+
form or documentation, if provided along with the Derivative Works; or, within a display generated by the
93+
Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file
94+
are for informational purposes only and do not modify the License. You may add Your own attribution notices
95+
within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work,
96+
provided that such additional attribution notices cannot be construed as modifying the License.
97+
5. You may add Your own copyright statement to Your modifications and may provide additional or different license
98+
terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative
99+
Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the
100+
conditions stated in this License.
101+
102+
5. Submission of Contributions.
103+
104+
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You
105+
to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions.
106+
Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you
107+
may have executed with Licensor regarding such Contributions.
108+
109+
6. Trademarks.
110+
111+
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the
112+
Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing
113+
the content of the NOTICE file.
114+
115+
7. Disclaimer of Warranty.
116+
117+
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides
118+
its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
119+
including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS
120+
FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing
121+
the Work and assume any risks associated with Your exercise of permissions under this License.
122+
123+
8. Limitation of Liability.
124+
125+
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless
126+
required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any
127+
Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential
128+
damages of any character arising as a result of this License or out of the use or inability to use the Work
129+
(including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction,
130+
or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility
131+
of such damages.
132+
133+
9. Accepting Warranty or Additional Liability.
134+
135+
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for,
136+
acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this
137+
License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole
138+
responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold
139+
each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason
140+
of your accepting any such warranty or additional liability.
141+
```
142+
143+
```txt
144+
Microsoft Public License (Ms-PL)
145+
146+
This license governs use of the accompanying software. If you use the software, you
147+
accept this license. If you do not accept the license, do not use the software.
148+
149+
1. Definitions
150+
The terms "reproduce," "reproduction," "derivative works," and "distribution" have the
151+
same meaning here as under U.S. copyright law.
152+
A "contribution" is the original software, or any additions or changes to the software.
153+
A "contributor" is any person that distributes its contribution under this license.
154+
"Licensed patents" are a contributor's patent claims that read directly on its contribution.
155+
156+
2. Grant of Rights
157+
(A) Copyright Grant- Subject to the terms of this license, including the license conditions and
158+
limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free
159+
copyright license to reproduce its contribution, prepare derivative works of its contribution,
160+
and distribute its contribution or any derivative works that you create.
161+
(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations
162+
in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under
163+
its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose
164+
of its contribution in the software or derivative works of the contribution in the software.
165+
166+
3. Conditions and Limitations
167+
(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo,
168+
or trademarks.
169+
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by
170+
the software, your patent license from such contributor to the software ends automatically.
171+
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark,
172+
and attribution notices that are present in the software.
173+
(D) If you distribute any portion of the software in source code form, you may do so only under this
174+
license by including a complete copy of this license with your distribution. If you distribute
175+
any portion of the software in compiled or object code form, you may only do so under a license
176+
that complies with this license.
177+
(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express
178+
warranties, guarantees or conditions. You may have additional consumer rights under your local laws
179+
which this license cannot change. To the extent permitted under your local laws, the contributors
180+
exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
181+
```
182+
183+
## License notice for `LiquidTestReports`
184+
- https://github.com/kurtmkurtm/LiquidTestReports
185+
- https://github.com/kurtmkurtm/LiquidTestReports/blob/master/LICENSE
186+
187+
```txt
188+
BSD 2-Clause License
189+
190+
Copyright (c) 2020, Kurt
191+
All rights reserved.
192+
193+
Redistribution and use in source and binary forms, with or without
194+
modification, are permitted provided that the following conditions are met:
195+
196+
1. Redistributions of source code must retain the above copyright notice, this
197+
list of conditions and the following disclaimer.
198+
199+
2. Redistributions in binary form must reproduce the above copyright notice,
200+
this list of conditions and the following disclaimer in the documentation
201+
and/or other materials provided with the distribution.
202+
203+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
204+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
205+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
206+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
207+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
208+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
209+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
210+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
211+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
212+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
213+
```
214+
215+
## License notice for `Microsoft.Testing.Extensions.TrxReport`
216+
- https://github.com/microsoft/testfx
217+
- https://github.com/microsoft/testfx/blob/main/LICENSE
218+
219+
```txt
220+
The MIT License (MIT)
221+
222+
Copyright (c) Microsoft Corporation
223+
224+
All rights reserved.
225+
226+
Permission is hereby granted, free of charge, to any person obtaining a copy
227+
of this software and associated documentation files (the "Software"), to deal
228+
in the Software without restriction, including without limitation the rights
229+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
230+
copies of the Software, and to permit persons to whom the Software is
231+
furnished to do so, subject to the following conditions:
232+
233+
The above copyright notice and this permission notice shall be included in all
234+
copies or substantial portions of the Software.
235+
236+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
237+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
238+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
239+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
240+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
241+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
242+
SOFTWARE.
243+
```

src/Smdn.Extensions.Mtp.LiquidTestReports/Smdn.Extensions.Mtp.LiquidTestReports.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ SPDX-License-Identifier: MIT
4545
<TfmSpecificPackageFile Include="build/**">
4646
<PackagePath>build/$(TargetFramework)</PackagePath>
4747
</TfmSpecificPackageFile>
48+
<!-- Third party notice -->
49+
<None
50+
Include="$(MSBuildThisFileDirectory)..\..\ThirdPartyNotices.md"
51+
Pack="true"
52+
PackagePath="ThirdPartyNotices.md"
53+
CopyToOutputDirectory="None"
54+
/>
4855
</ItemGroup>
4956

5057
<Target Name="GenerateReadmeFileContent">

0 commit comments

Comments
 (0)