Skip to content

Commit ab6f8a2

Browse files
authored
[AINode] Add third-party attributions to binary package (#18620)
* [AINode] Add third-party attributions to binary package * [AINode] Restore uni2ts source attribution headers
1 parent 55736e2 commit ab6f8a2

38 files changed

Lines changed: 321 additions & 5 deletions

‎LICENSE‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,46 @@ License: https://github.com/LMAX-Exchange/disruptor/blob/master/LICENCE.txt
341341

342342
--------------------------------------------------------------------------------
343343

344+
The following file includes code modified from GLIDE project.
345+
346+
./iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py
347+
348+
The GLIDE project is open source software licensed under the MIT License.
349+
Project page: https://github.com/openai/glide-text2im
350+
License: https://github.com/openai/glide-text2im/blob/main/LICENSE
351+
352+
MIT License
353+
354+
Copyright (c) 2021 OpenAI
355+
356+
Permission is hereby granted, free of charge, to any person obtaining a copy
357+
of this software and associated documentation files (the "Software"), to deal
358+
in the Software without restriction, including without limitation the rights
359+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
360+
copies of the Software, and to permit persons to whom the Software is
361+
furnished to do so, subject to the following conditions:
362+
363+
The above copyright notice and this permission notice shall be included in all
364+
copies or substantial portions of the Software.
365+
366+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
367+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
368+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
369+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
370+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
371+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
372+
SOFTWARE.
373+
374+
--------------------------------------------------------------------------------
375+
344376
The following files include code modified from chronos-forecasting project.
345377

346378
./iotdb-core/ainode/iotdb/ainode/core/model/chronos2/*
347379

348380
The chronos-forecasting is open source software licensed under the Apache License 2.0
349381
Project page: https://github.com/amazon-science/chronos-forecasting
350382
License: https://github.com/amazon-science/chronos-forecasting/blob/main/LICENSE
383+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
351384

352385
--------------------------------------------------------------------------------
353386

@@ -358,6 +391,7 @@ The following files include code modified from uni2ts project.
358391
The uni2ts is open source software licensed under the Apache License 2.0
359392
Project page: https://github.com/SalesforceAIResearch/uni2ts
360393
License: https://github.com/SalesforceAIResearch/uni2ts/blob/main/LICENSE.txt
394+
Copyright (c) 2024, Salesforce, Inc.
361395

362396
--------------------------------------------------------------------------------
363397

‎NOTICE‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,16 @@ This product includes source code derived from the DataDog/toto project:
2626

2727
============================================================================
2828

29+
This product includes source code derived from the chronos-forecasting project:
30+
31+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
32+
Licensed under the Apache License, Version 2.0
33+
https://github.com/amazon-science/chronos-forecasting
34+
35+
============================================================================
36+
2937
Apache Commons Collections
3038
Copyright 2001-2019 The Apache Software Foundation
3139

3240
This product includes software developed at
33-
The Apache Software Foundation (http://www.apache.org/).
41+
The Apache Software Foundation (http://www.apache.org/).
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<component xmlns="http://maven.apache.org/ASSEMBLY-COMPONENT/2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY-COMPONENT/2.1.0 http://maven.apache.org/xsd/assembly-component-2.1.0.xsd">
23+
<fileSets>
24+
<fileSet>
25+
<directory>${project.basedir}/../licenses</directory>
26+
<outputDirectory>licenses</outputDirectory>
27+
</fileSet>
28+
<fileSet>
29+
<directory>${project.basedir}/../iotdb-core/ainode/src/assembly/resources/licenses</directory>
30+
<outputDirectory>licenses</outputDirectory>
31+
</fileSet>
32+
</fileSets>
33+
<files>
34+
<file>
35+
<source>${project.basedir}/../README.md</source>
36+
</file>
37+
<file>
38+
<source>${project.basedir}/../README_ZH.md</source>
39+
</file>
40+
<file>
41+
<source>${project.basedir}/../LICENSE-binary</source>
42+
<destName>LICENSE</destName>
43+
</file>
44+
<file>
45+
<source>${project.basedir}/../iotdb-core/ainode/src/assembly/resources/NOTICE-binary</source>
46+
<destName>NOTICE</destName>
47+
</file>
48+
<file>
49+
<source>${project.basedir}/../RELEASE_NOTES.md</source>
50+
</file>
51+
</files>
52+
</component>

‎distribution/src/assembly/ainode.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@
4747
</fileSet>
4848
</fileSets>
4949
<componentDescriptors>
50-
<componentDescriptor>common-files.xml</componentDescriptor>
50+
<componentDescriptor>ainode-common-files.xml</componentDescriptor>
5151
</componentDescriptors>
5252
</assembly>

‎iotdb-core/ainode/ainode.xml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<destName>LICENSE</destName>
3838
</file>
3939
<file>
40-
<source>${maven.multiModuleProjectDirectory}/NOTICE-binary</source>
40+
<source>src/assembly/resources/NOTICE-binary</source>
4141
<destName>NOTICE</destName>
4242
</file>
4343
</files>
@@ -60,6 +60,10 @@
6060
<outputDirectory>lib</outputDirectory>
6161
<fileMode>0755</fileMode>
6262
</fileSet>
63+
<fileSet>
64+
<directory>src/assembly/resources/licenses</directory>
65+
<outputDirectory>licenses</outputDirectory>
66+
</fileSet>
6367
<fileSet>
6468
<directory>${project.basedir}/../../scripts/sbin</directory>
6569
<outputDirectory>sbin</outputDirectory>

‎iotdb-core/ainode/iotdb/ainode/core/model/chronos2/__init__.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19+
# SPDX-License-Identifier: Apache-2.0

‎iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19+
# SPDX-License-Identifier: Apache-2.0
20+
1821

1922
from enum import Enum
2023
from pathlib import Path

‎iotdb-core/ainode/iotdb/ainode/core/model/chronos2/chronos_bolt.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19+
# SPDX-License-Identifier: Apache-2.0
20+
1821

1922
import copy
2023
from dataclasses import dataclass

‎iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19+
# SPDX-License-Identifier: Apache-2.0
20+
1821

1922
from dataclasses import dataclass
2023
from typing import List, Literal

‎iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19+
# SPDX-License-Identifier: Apache-2.0
20+
1821

1922
import math
2023
from enum import Enum

0 commit comments

Comments
 (0)