Skip to content

Commit

Permalink
chore: update copyright for 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
ldming committed Jan 24, 2025
1 parent 3717822 commit cf8afe3
Show file tree
Hide file tree
Showing 361 changed files with 388 additions and 352 deletions.
2 changes: 1 addition & 1 deletion cmd/cli/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion docker/docker.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
#Copyright (C) 2022-2024 ApeCloud Co., Ltd
#Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
#This file is part of KubeBlocks project
#
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate.cue.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate.go.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate_apache2.go.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/client-sdk-gen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Copyright (C) 2022-2024 ApeCloud Co., Ltd
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/docgen/cli/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/install_cli.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Copyright (C) 2022-2024 ApeCloud Co., Ltd
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/install_cli_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2022-2024 ApeCloud Co., Ltd
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions hack/license/header-check.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2022-2024 ApeCloud Co., Ltd
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,7 +29,7 @@ APACHE2_DIRS="apis/\|externalapis/"

for file in $(git ls-files | grep '\.cue\|\.go$' | grep -v ${EXCLUDES_DIRS}); do
echo -n "Header check: $file... "
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2024 ApeCloud Co., Ltd\|Code generated by") ]]; then
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2025 ApeCloud Co., Ltd\|Code generated by") ]]; then
ERR=true
fi
if [ $ERR == true ]; then
Expand All @@ -52,7 +52,7 @@ done

for file in $(git ls-files | grep '\.go$' | grep ${APACHE2_DIRS}); do
echo -n "Header check: $file... "
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2024 ApeCloud Co., Ltd\|Code generated by") ]]; then
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2025 ApeCloud Co., Ltd\|Code generated by") ]]; then
ERR=true
fi
if [ $ERR == true ]; then
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/create.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/create_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/custom_edit.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/custom_edit_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/delete.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/delete_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/edit.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/edit_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/exec.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/exec_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/list.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/list_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/patch.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/patch_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/cluster_operations_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/cluster_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/create_template_test.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/dns_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/http_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/io_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/migration_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/network_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/node_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/opsrequest_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/pod_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/stress_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/time_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2024 ApeCloud Co., Ltd
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/trace_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/volumesnapshotclass_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2024 ApeCloud Co., Ltd
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/interface.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/k3d.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/k3d_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/provider.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/terraform.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/terraform_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/builtin_charts.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd
This file is part of KubeBlocks project
Expand Down
Binary file modified pkg/cluster/charts/apecloud-mysql.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/elasticsearch.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/etcd.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/kafka.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/mongodb.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/mysql.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/postgresql.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/qdrant.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/redis.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/cluster_chart.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/cluster_chart_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/cluster_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/component.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/external_charts.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2024 ApeCloud Co., Ltd
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
Loading

0 comments on commit cf8afe3

Please sign in to comment.