|
1 |
|
2 This project is covered by two different licenses: MIT and Apache. |
|
3 |
|
4 #### MIT License #### |
|
5 |
|
6 The following files were ported to Go from C files of libyaml, and thus |
|
7 are still covered by their original MIT license, with the additional |
|
8 copyright staring in 2011 when the project was ported over: |
|
9 |
|
10 apic.go emitterc.go parserc.go readerc.go scannerc.go |
|
11 writerc.go yamlh.go yamlprivateh.go |
|
12 |
|
13 Copyright (c) 2006-2010 Kirill Simonov |
|
14 Copyright (c) 2006-2011 Kirill Simonov |
|
15 |
|
16 Permission is hereby granted, free of charge, to any person obtaining a copy of |
|
17 this software and associated documentation files (the "Software"), to deal in |
|
18 the Software without restriction, including without limitation the rights to |
|
19 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
|
20 of the Software, and to permit persons to whom the Software is furnished to do |
|
21 so, subject to the following conditions: |
|
22 |
|
23 The above copyright notice and this permission notice shall be included in all |
|
24 copies or substantial portions of the Software. |
|
25 |
|
26 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
27 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
28 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
29 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
30 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
31 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|
32 SOFTWARE. |
|
33 |
|
34 ### Apache License ### |
|
35 |
|
36 All the remaining project files are covered by the Apache license: |
|
37 |
|
38 Copyright (c) 2011-2019 Canonical Ltd |
|
39 |
|
40 Licensed under the Apache License, Version 2.0 (the "License"); |
|
41 you may not use this file except in compliance with the License. |
|
42 You may obtain a copy of the License at |
|
43 |
|
44 http://www.apache.org/licenses/LICENSE-2.0 |
|
45 |
|
46 Unless required by applicable law or agreed to in writing, software |
|
47 distributed under the License is distributed on an "AS IS" BASIS, |
|
48 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
49 See the License for the specific language governing permissions and |
|
50 limitations under the License. |