You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ro...@apache.org on 2024/07/17 09:17:09 UTC

(incubator-answer-plugins) 03/03: chore: Update license headers

This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit 12e668dc1210e9deb4df48a7f1ad6317da1bb79d
Author: robin <ro...@rnode.me>
AuthorDate: Wed Jul 17 17:16:16 2024 +0800

    chore: Update license headers
---
 cdn-s3/i18n/en_US.yaml     | 17 +++++++++++++++++
 cdn-s3/i18n/translation.go | 19 +++++++++++++++++++
 cdn-s3/i18n/zh_CN.yaml     | 17 +++++++++++++++++
 cdn-s3/s3.go               | 19 +++++++++++++++++++
 cdn-s3/s3_client.go        | 19 +++++++++++++++++++
 5 files changed, 91 insertions(+)

diff --git a/cdn-s3/i18n/en_US.yaml b/cdn-s3/i18n/en_US.yaml
index 17d5c0b..f330b5a 100644
--- a/cdn-s3/i18n/en_US.yaml
+++ b/cdn-s3/i18n/en_US.yaml
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 plugin:
   s3_cdn:
     backend:
diff --git a/cdn-s3/i18n/translation.go b/cdn-s3/i18n/translation.go
index 8b71799..7451529 100644
--- a/cdn-s3/i18n/translation.go
+++ b/cdn-s3/i18n/translation.go
@@ -1,3 +1,22 @@
+/*
+ * 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
+ *
+ *   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 i18n
 
 const (
diff --git a/cdn-s3/i18n/zh_CN.yaml b/cdn-s3/i18n/zh_CN.yaml
index 737e08b..47fbc2a 100644
--- a/cdn-s3/i18n/zh_CN.yaml
+++ b/cdn-s3/i18n/zh_CN.yaml
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 plugin:
   s3_cdn:
     backend:
diff --git a/cdn-s3/s3.go b/cdn-s3/s3.go
index d9d32d5..29ab361 100644
--- a/cdn-s3/s3.go
+++ b/cdn-s3/s3.go
@@ -1,3 +1,22 @@
+/*
+ * 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
+ *
+ *   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 s3
 
 import (
diff --git a/cdn-s3/s3_client.go b/cdn-s3/s3_client.go
index aa29095..a304114 100644
--- a/cdn-s3/s3_client.go
+++ b/cdn-s3/s3_client.go
@@ -1,3 +1,22 @@
+/*
+ * 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
+ *
+ *   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 s3
 
 import (