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