Skip to content

Commit ab0662f

Browse files
authored
chore: Align LICENSE and NOTICE with ASF policy (#243)
Refines the LICENSE and NOTICE files to ensure full compliance with Apache Software Foundation (ASF) guidelines.https://infra.apache.org/licensing-howto.html + Simplify NOTICE File: Dependencies with permissive licenses (such as MIT, zlib, and Public Domain) have been removed from the NOTICE file. According to ASF policy, the copyright notices embedded within these types of licenses do not need to be duplicated in the project's NOTICE file. + Reformat LICENSE File: The appendix of the LICENSE file, which lists third-party dependencies, has been reformatted for clarity and consistency. The new style is based on the Apache Iceberg repository's LICENSE file. https://github.com/apache/iceberg/blob/main/LICENSE + Add cpr license for rest catalog.
1 parent 5f41a7e commit ab0662f

2 files changed

Lines changed: 13 additions & 121 deletions

File tree

LICENSE

Lines changed: 13 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -202,117 +202,28 @@
202202

203203
--------------------------------------------------------------------------------
204204

205-
3rdparty dependency nlohmann-json is statically linked in certain binary
206-
distributions. nlohmann-json has the following license:
205+
This product includes code from smhasher.
207206

208-
MIT License
207+
* src/iceberg/murmur3_internal.h and src/iceberg/murmur3_internal.cc are adapted from MurmurHash3.
209208

210-
Copyright (c) 2013-2022 Niels Lohmann
211-
212-
Permission is hereby granted, free of charge, to any person obtaining a copy
213-
of this software and associated documentation files (the "Software"), to deal
214-
in the Software without restriction, including without limitation the rights
215-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
216-
copies of the Software, and to permit persons to whom the Software is
217-
furnished to do so, subject to the following conditions:
218-
219-
The above copyright notice and this permission notice shall be included in all
220-
copies or substantial portions of the Software.
221-
222-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
223-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
224-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
225-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
226-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
227-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
228-
SOFTWARE.
229-
230-
--------------------------------------------------------------------------------
231-
232-
The file src/iceberg/murmur3_internal.h contains code adapted from
233-
234-
https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.h
235-
236-
The file src/iceberg/murmur3_internal.cc contains code adapted from
237-
238-
https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp
239-
240-
MurmurHash3 was written by Austin Appleby, and is placed in the public
241-
domain. The author disclaims copyright to this source code.
209+
Copyright: Austin Appleby (placed in the public domain).
210+
Home page: https://github.com/aappleby/smhasher
211+
License: Public Domain
242212

243213
--------------------------------------------------------------------------------
244214

245-
The file src/iceberg/util/checked_cast.h contains code adapted from
246-
247-
https://github.com/apache/arrow/blob/main/cpp/src/arrow/util/checked_cast.h
248-
249-
The file src/iceberg/util/visit_type.h contains code adapted from
250-
251-
https://github.com/apache/arrow/blob/main/cpp/src/arrow/visit_type_inline.h
252-
253-
The file src/iceberg/util/decimal.h contains code adapted from
254-
255-
https://github.com/apache/arrow/blob/main/cpp/src/arrow/util/decimal.h
256-
257-
The file src/iceberg/util/decimal.cc contains code adapted from
215+
This product includes code from Apache Arrow.
258216

259-
https://github.com/apache/arrow/blob/main/cpp/src/arrow/util/decimal.cc
217+
* Core utilities:
218+
* checked_cast utility in src/iceberg/util/checked_cast.h.
219+
* visit_type utility in src/iceberg/util/visit_type.h.
220+
* Decimal128 implementation details in src/iceberg/util/decimal files.
221+
* Build system modules:
222+
* cmake_modules/IcebergBuildUtils.cmake.
223+
* cmake_modules/IcebergThirdpartyToolchain.cmake.
260224

261225
Copyright: 2016-2025 The Apache Software Foundation.
262226
Home page: https://arrow.apache.org/
263227
License: https://www.apache.org/licenses/LICENSE-2.0
264228

265229
--------------------------------------------------------------------------------
266-
267-
3rdparty dependency spdlog is statically linked in certain binary
268-
distributions. spdlog has the following license:
269-
270-
MIT License
271-
272-
Copyright (c) 2016 Gabi Melman
273-
274-
Permission is hereby granted, free of charge, to any person obtaining a copy
275-
of this software and associated documentation files (the "Software"), to deal
276-
in the Software without restriction, including without limitation the rights
277-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
278-
copies of the Software, and to permit persons to whom the Software is
279-
furnished to do so, subject to the following conditions:
280-
281-
The above copyright notice and this permission notice shall be included in all
282-
copies or substantial portions of the Software.
283-
284-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
285-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
286-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
287-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
288-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
289-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
290-
SOFTWARE.
291-
292-
--------------------------------------------------------------------------------
293-
294-
3rdparty dependency zlib is used by certain binary distributions. zlib has
295-
the following license:
296-
297-
zlib License
298-
299-
Copyright (c) 1995-2024 Jean-loup Gailly and Mark Adler
300-
301-
This software is provided 'as-is', without any express or implied
302-
warranty. In no event will the authors be held liable for any damages
303-
arising from the use of this software.
304-
305-
Permission is granted to anyone to use this software for any purpose,
306-
including commercial applications, and to alter it and redistribute it
307-
freely, subject to the following restrictions:
308-
309-
1. The origin of this software must not be misrepresented; you must not
310-
claim that you wrote the original software. If you use this software
311-
in a product, an acknowledgment in the product documentation would be
312-
appreciated but is not required.
313-
2. Altered source versions must be plainly marked as such, and must not be
314-
misrepresented as being the original software.
315-
3. This notice may not be removed or altered from any source distribution.
316-
317-
Jean-loup Gailly Mark Adler
318-
jloup@gzip.org madler@alumni.caltech.edu

NOTICE

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,3 @@ Copyright 2024-2025 The Apache Software Foundation
33

44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
6-
7-
This product includes code from smhasher
8-
* MurmurHash3 was written by Austin Appleby, and is placed in the public
9-
* domain. The author hereby disclaims copyright to this source code.
10-
* https://github.com/aappleby/smhasher
11-
12-
This product includes code from Apache Arrow
13-
* Copyright 2016-2025 The Apache Software Foundation
14-
* https://github.com/apache/arrow
15-
16-
This product includes software developed by Gabi Melman
17-
* spdlog: Very fast, header-only/compiled, C++ logging library
18-
* Copyright (c) 2016 Gabi Melman
19-
* https://github.com/gabime/spdlog
20-
21-
This product includes software developed by Jean-loup Gailly and Mark Adler
22-
* zlib: A Massively Spiffy Yet Delicately Unobtrusive Compression Library
23-
* Copyright (c) 1995-2024 Jean-loup Gailly and Mark Adler
24-
* https://zlib.net/

0 commit comments

Comments
 (0)