From 194a4783fdf98e1ce24be74b632b3ef3442c94f0 Mon Sep 17 00:00:00 2001 From: peefy Date: Mon, 6 May 2024 10:57:19 +0800 Subject: [PATCH] chore: polish copyright Signed-off-by: peefy --- Makefile | 2 +- kclvm/compiler/src/codegen/abi.rs | 2 +- kclvm/compiler/src/codegen/llvm/context.rs | 2 +- kclvm/compiler/src/codegen/llvm/mod.rs | 2 +- kclvm/compiler/src/codegen/mod.rs | 2 +- kclvm/compiler/src/codegen/traits/backend.rs | 2 +- kclvm/compiler/src/codegen/traits/builder.rs | 2 +- kclvm/compiler/src/codegen/traits/mod.rs | 2 +- kclvm/compiler/src/codegen/traits/type.rs | 2 +- kclvm/runtime/Makefile | 2 +- kclvm/runtime/src/_kclvm_api_spec.rs | 2 +- kclvm/runtime/src/manifests/mod.rs | 2 +- kclvm/runtime/src/value/val_from.rs | 2 +- kclvm/tests/test_units/runtime/base64/test_base64.py | 2 +- kclvm/tests/test_units/runtime/crypto/test_crypto.py | 2 +- kclvm/tests/test_units/runtime/datetime/test_datetime.py | 2 +- kclvm/tests/test_units/runtime/json/test_json.py | 2 +- kclvm/tests/test_units/runtime/kclvm_runtime.py | 2 +- kclvm/tests/test_units/runtime/math/test_math.py | 2 +- kclvm/tests/test_units/runtime/net/test_net.py | 2 +- kclvm/tests/test_units/runtime/regex/test_regex.py | 2 +- kclvm/tests/test_units/runtime/str/Makefile | 2 +- kclvm/tests/test_units/runtime/str/test_str.py | 2 +- kclvm/tests/test_units/runtime/units/test_units.py | 2 +- kclvm/tests/test_units/runtime/yaml/test_yaml.py | 2 +- scripts/docker/kcl-builder-alpine/Dockerfile | 2 +- scripts/docker/kcl-builder-alpine/Makefile | 2 +- scripts/docker/kcl-builder-centos7/Dockerfile | 2 +- scripts/docker/kcl-builder-centos7/Makefile | 2 +- scripts/docker/kcl-builder-centos8/Dockerfile | 2 +- scripts/docker/kcl-builder-centos8/Makefile | 2 +- scripts/docker/kcl-builder-fedora39/Dockerfile | 2 +- scripts/docker/kcl-builder/Dockerfile | 2 +- scripts/docker/kcl-builder/Makefile | 2 +- scripts/docker/kcl/Dockerfile | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/Makefile b/Makefile index 69bf5fd46..f710ea615 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. PROJECT_NAME = KCLVM diff --git a/kclvm/compiler/src/codegen/abi.rs b/kclvm/compiler/src/codegen/abi.rs index 4b2b1e71c..68b5cb09c 100644 --- a/kclvm/compiler/src/codegen/abi.rs +++ b/kclvm/compiler/src/codegen/abi.rs @@ -1,4 +1,4 @@ -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. //! Reference: https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/lib.rs #![allow(dead_code)] diff --git a/kclvm/compiler/src/codegen/llvm/context.rs b/kclvm/compiler/src/codegen/llvm/context.rs index 9c1cdc35e..08da56390 100644 --- a/kclvm/compiler/src/codegen/llvm/context.rs +++ b/kclvm/compiler/src/codegen/llvm/context.rs @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright The KCL Authors. All rights reserved. use indexmap::{IndexMap, IndexSet}; use inkwell::basic_block::BasicBlock; diff --git a/kclvm/compiler/src/codegen/llvm/mod.rs b/kclvm/compiler/src/codegen/llvm/mod.rs index e5340b188..3b800239b 100644 --- a/kclvm/compiler/src/codegen/llvm/mod.rs +++ b/kclvm/compiler/src/codegen/llvm/mod.rs @@ -3,7 +3,7 @@ //! module modules pass extern and declare keys. Declare and call them in words, and finally use clang to link //! them together. //! -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. mod backtrack; mod context; diff --git a/kclvm/compiler/src/codegen/mod.rs b/kclvm/compiler/src/codegen/mod.rs index 9a9c0aa49..10af7b51c 100644 --- a/kclvm/compiler/src/codegen/mod.rs +++ b/kclvm/compiler/src/codegen/mod.rs @@ -1,4 +1,4 @@ -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. use indexmap::IndexMap; use kclvm_ast::ast; diff --git a/kclvm/compiler/src/codegen/traits/backend.rs b/kclvm/compiler/src/codegen/traits/backend.rs index 924724de7..da443797c 100644 --- a/kclvm/compiler/src/codegen/traits/backend.rs +++ b/kclvm/compiler/src/codegen/traits/backend.rs @@ -1,4 +1,4 @@ -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. use std::fmt::Debug; diff --git a/kclvm/compiler/src/codegen/traits/builder.rs b/kclvm/compiler/src/codegen/traits/builder.rs index ebaaad66a..22120d794 100644 --- a/kclvm/compiler/src/codegen/traits/builder.rs +++ b/kclvm/compiler/src/codegen/traits/builder.rs @@ -1,4 +1,4 @@ -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. use crate::codegen::abi::Align; diff --git a/kclvm/compiler/src/codegen/traits/mod.rs b/kclvm/compiler/src/codegen/traits/mod.rs index 468680caf..f755896e4 100644 --- a/kclvm/compiler/src/codegen/traits/mod.rs +++ b/kclvm/compiler/src/codegen/traits/mod.rs @@ -1,4 +1,4 @@ -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. mod backend; mod builder; diff --git a/kclvm/compiler/src/codegen/traits/type.rs b/kclvm/compiler/src/codegen/traits/type.rs index f1ed73d5f..01f5d1eee 100644 --- a/kclvm/compiler/src/codegen/traits/type.rs +++ b/kclvm/compiler/src/codegen/traits/type.rs @@ -1,4 +1,4 @@ -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. use crate::codegen::abi::AddressSpace; use crate::codegen::{CONTEXT_TYPE_NAME, VALUE_TYPE_NAME}; diff --git a/kclvm/runtime/Makefile b/kclvm/runtime/Makefile index 6243684d0..412cc61d2 100644 --- a/kclvm/runtime/Makefile +++ b/kclvm/runtime/Makefile @@ -9,7 +9,7 @@ gen-api-spec: KCLVM_RUNTIME_GEN_API_SPEC= cargo build > ./src/_kclvm_api_spec.rs.tmp - echo "// Copyright 2023 The KCL Authors. All rights reserved.\n" > ./src/_kclvm_api_spec.rs + echo "// Copyright The KCL Authors. All rights reserved.\n" > ./src/_kclvm_api_spec.rs echo "// Auto generated by command, DONOT EDIT!!!\n" >> ./src/_kclvm_api_spec.rs cat ./src/_kclvm_api_spec.rs.tmp >> ./src/_kclvm_api_spec.rs rm ./src/_kclvm_api_spec.rs.tmp diff --git a/kclvm/runtime/src/_kclvm_api_spec.rs b/kclvm/runtime/src/_kclvm_api_spec.rs index b01b435a1..340ea3594 100644 --- a/kclvm/runtime/src/_kclvm_api_spec.rs +++ b/kclvm/runtime/src/_kclvm_api_spec.rs @@ -1,4 +1,4 @@ -// Copyright 2023 The KCL Authors. All rights reserved. +// Copyright The KCL Authors. All rights reserved. // Auto generated by command, DONOT EDIT!!! diff --git a/kclvm/runtime/src/manifests/mod.rs b/kclvm/runtime/src/manifests/mod.rs index 057532c9b..7b3c0c517 100644 --- a/kclvm/runtime/src/manifests/mod.rs +++ b/kclvm/runtime/src/manifests/mod.rs @@ -1,6 +1,6 @@ //! KCL manifests system module //! -//! Copyright 2021 The KCL Authors. All rights reserved. +//! Copyright The KCL Authors. All rights reserved. use crate::*; diff --git a/kclvm/runtime/src/value/val_from.rs b/kclvm/runtime/src/value/val_from.rs index 01fa21eba..992db5b89 100644 --- a/kclvm/runtime/src/value/val_from.rs +++ b/kclvm/runtime/src/value/val_from.rs @@ -1,4 +1,4 @@ -// Copyright 2022 The KCL Authors. All rights reserved. +// Copyright The KCL Authors. All rights reserved. use crate::*; use std::cell::RefCell; diff --git a/kclvm/tests/test_units/runtime/base64/test_base64.py b/kclvm/tests/test_units/runtime/base64/test_base64.py index afd1a0fc5..a42f09f0b 100644 --- a/kclvm/tests/test_units/runtime/base64/test_base64.py +++ b/kclvm/tests/test_units/runtime/base64/test_base64.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/crypto/test_crypto.py b/kclvm/tests/test_units/runtime/crypto/test_crypto.py index bf467a410..46721e45d 100644 --- a/kclvm/tests/test_units/runtime/crypto/test_crypto.py +++ b/kclvm/tests/test_units/runtime/crypto/test_crypto.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/datetime/test_datetime.py b/kclvm/tests/test_units/runtime/datetime/test_datetime.py index d63c92d29..70d1675a1 100644 --- a/kclvm/tests/test_units/runtime/datetime/test_datetime.py +++ b/kclvm/tests/test_units/runtime/datetime/test_datetime.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/json/test_json.py b/kclvm/tests/test_units/runtime/json/test_json.py index e847cac7c..2bdd1fccb 100644 --- a/kclvm/tests/test_units/runtime/json/test_json.py +++ b/kclvm/tests/test_units/runtime/json/test_json.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/kclvm_runtime.py b/kclvm/tests/test_units/runtime/kclvm_runtime.py index db00c11bc..6d6588610 100644 --- a/kclvm/tests/test_units/runtime/kclvm_runtime.py +++ b/kclvm/tests/test_units/runtime/kclvm_runtime.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import ctypes import json diff --git a/kclvm/tests/test_units/runtime/math/test_math.py b/kclvm/tests/test_units/runtime/math/test_math.py index 0020b704d..18feb84b7 100644 --- a/kclvm/tests/test_units/runtime/math/test_math.py +++ b/kclvm/tests/test_units/runtime/math/test_math.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import sys import typing diff --git a/kclvm/tests/test_units/runtime/net/test_net.py b/kclvm/tests/test_units/runtime/net/test_net.py index 46c3b6b6c..19606b595 100644 --- a/kclvm/tests/test_units/runtime/net/test_net.py +++ b/kclvm/tests/test_units/runtime/net/test_net.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/regex/test_regex.py b/kclvm/tests/test_units/runtime/regex/test_regex.py index 0ad72bd7c..351b8199b 100644 --- a/kclvm/tests/test_units/runtime/regex/test_regex.py +++ b/kclvm/tests/test_units/runtime/regex/test_regex.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/str/Makefile b/kclvm/tests/test_units/runtime/str/Makefile index d3b534b28..7668a7923 100644 --- a/kclvm/tests/test_units/runtime/str/Makefile +++ b/kclvm/tests/test_units/runtime/str/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. default: python3 -m black . diff --git a/kclvm/tests/test_units/runtime/str/test_str.py b/kclvm/tests/test_units/runtime/str/test_str.py index 7145471cf..84fddabec 100644 --- a/kclvm/tests/test_units/runtime/str/test_str.py +++ b/kclvm/tests/test_units/runtime/str/test_str.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import sys import unittest diff --git a/kclvm/tests/test_units/runtime/units/test_units.py b/kclvm/tests/test_units/runtime/units/test_units.py index 744904021..cd45fd57d 100644 --- a/kclvm/tests/test_units/runtime/units/test_units.py +++ b/kclvm/tests/test_units/runtime/units/test_units.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/kclvm/tests/test_units/runtime/yaml/test_yaml.py b/kclvm/tests/test_units/runtime/yaml/test_yaml.py index 00093e905..d067e3aa9 100644 --- a/kclvm/tests/test_units/runtime/yaml/test_yaml.py +++ b/kclvm/tests/test_units/runtime/yaml/test_yaml.py @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. import typing import unittest diff --git a/scripts/docker/kcl-builder-alpine/Dockerfile b/scripts/docker/kcl-builder-alpine/Dockerfile index 4cc3ead6c..5bc9f3f80 100644 --- a/scripts/docker/kcl-builder-alpine/Dockerfile +++ b/scripts/docker/kcl-builder-alpine/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. FROM alpine:latest diff --git a/scripts/docker/kcl-builder-alpine/Makefile b/scripts/docker/kcl-builder-alpine/Makefile index 431859b61..3a633c80c 100644 --- a/scripts/docker/kcl-builder-alpine/Makefile +++ b/scripts/docker/kcl-builder-alpine/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. PWD:=$(shell pwd) diff --git a/scripts/docker/kcl-builder-centos7/Dockerfile b/scripts/docker/kcl-builder-centos7/Dockerfile index 33a9729fd..b860b965f 100644 --- a/scripts/docker/kcl-builder-centos7/Dockerfile +++ b/scripts/docker/kcl-builder-centos7/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. FROM centos:centos7 diff --git a/scripts/docker/kcl-builder-centos7/Makefile b/scripts/docker/kcl-builder-centos7/Makefile index 50a81bd5e..264e80492 100644 --- a/scripts/docker/kcl-builder-centos7/Makefile +++ b/scripts/docker/kcl-builder-centos7/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. PWD:=$(shell pwd) diff --git a/scripts/docker/kcl-builder-centos8/Dockerfile b/scripts/docker/kcl-builder-centos8/Dockerfile index b30a7744a..92edb3d11 100644 --- a/scripts/docker/kcl-builder-centos8/Dockerfile +++ b/scripts/docker/kcl-builder-centos8/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. FROM centos:centos8 diff --git a/scripts/docker/kcl-builder-centos8/Makefile b/scripts/docker/kcl-builder-centos8/Makefile index fb5729044..b5ed668aa 100644 --- a/scripts/docker/kcl-builder-centos8/Makefile +++ b/scripts/docker/kcl-builder-centos8/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. PWD:=$(shell pwd) diff --git a/scripts/docker/kcl-builder-fedora39/Dockerfile b/scripts/docker/kcl-builder-fedora39/Dockerfile index da98b3b07..1d0245437 100644 --- a/scripts/docker/kcl-builder-fedora39/Dockerfile +++ b/scripts/docker/kcl-builder-fedora39/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. FROM fedora:39 diff --git a/scripts/docker/kcl-builder/Dockerfile b/scripts/docker/kcl-builder/Dockerfile index 1e55c95eb..b79efa091 100644 --- a/scripts/docker/kcl-builder/Dockerfile +++ b/scripts/docker/kcl-builder/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. FROM ubuntu:22.04 diff --git a/scripts/docker/kcl-builder/Makefile b/scripts/docker/kcl-builder/Makefile index e6f6c962f..4e3f78a68 100644 --- a/scripts/docker/kcl-builder/Makefile +++ b/scripts/docker/kcl-builder/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. PWD:=$(shell pwd) diff --git a/scripts/docker/kcl/Dockerfile b/scripts/docker/kcl/Dockerfile index 7d3e19061..c10182197 100644 --- a/scripts/docker/kcl/Dockerfile +++ b/scripts/docker/kcl/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2021 The KCL Authors. All rights reserved. +# Copyright The KCL Authors. All rights reserved. FROM ubuntu:22.04