Skip to content

Commit

Permalink
[Infra][License] Maintain the origin header of third-party work (#425)
Browse files Browse the repository at this point in the history
Signed-off-by: acezen <qiaozi.zwb@alibaba-inc.com>
  • Loading branch information
acezen committed Mar 28, 2024
1 parent 2f266e2 commit 18c0845
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 31 deletions.
4 changes: 3 additions & 1 deletion .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ header:
paths-ignore:
- 'dist'
- 'licenses'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
- 'DISCLAIMER'
Expand All @@ -28,7 +27,10 @@ header:
- 'cpp/misc/cpplint.py'
- 'spark/datasources-32/src/main/scala/com/alibaba/graphar/datasources'
- 'spark/datasources-33/src/main/scala/com/alibaba/graphar/datasources'
- 'java/src/main/java/com/alibaba/graphar/stdcxx/StdString.java'
- 'java/src/main/java/com/alibaba/graphar/stdcxx/StdVector.java'
- '*.md'
- '**/*.md'
- '*.rst'
- '**/*.json'
- 'pyspark/poetry.lock' # This file is generated automatically by Poetry-tool; there is no way to add license header
Expand Down
3 changes: 1 addition & 2 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ The text of each license is the standard Apache 2.0 license.
* benchmark (https://github.com/google/benchmark)
* fastFFI (https://github.com/alibaba/fastFFI)
Files:
java/src/main/java/com/alibaba/graphar/stdcxx/StdSharedPtr.java
java/src/main/java/com/alibaba/graphar/stdcxx/StdUnorderedMap.java
java/src/main/java/com/alibaba/graphar/stdcxx/StdString.java
java/src/main/java/com/alibaba/graphar/stdcxx/StdVector.java
java/build.xml
are modified from fastFFI.
Expand Down
25 changes: 11 additions & 14 deletions java/src/main/java/com/alibaba/graphar/stdcxx/StdString.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* Copyright 1999-2021 Alibaba Group Holding Ltd.
*
* http://www.apache.org/licenses/LICENSE-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.alibaba.graphar.stdcxx;
Expand Down
25 changes: 11 additions & 14 deletions java/src/main/java/com/alibaba/graphar/stdcxx/StdVector.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* Copyright 1999-2021 Alibaba Group Holding Ltd.
*
* http://www.apache.org/licenses/LICENSE-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.alibaba.graphar.stdcxx;
Expand Down

0 comments on commit 18c0845

Please sign in to comment.