This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a commit to branch refactor/add-info-yaml
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
The following commit(s) were added to refs/heads/refactor/add-info-yaml by this
push:
new 218dcd7 chore: Update license headers in info.yaml and util.go files
218dcd7 is described below
commit 218dcd780d4c64047794a65a626cd6b05daf8ec0
Author: robin <[email protected]>
AuthorDate: Wed Jul 3 16:00:17 2024 +0800
chore: Update license headers in info.yaml and util.go files
---
cache-redis/info.yaml | 17 +++++++++++++++++
cache-redis/util.go | 19 +++++++++++++++++++
captcha-basic/info.yaml | 17 +++++++++++++++++
captcha-basic/util.go | 19 +++++++++++++++++++
captcha-google-v2/info.yaml | 17 +++++++++++++++++
captcha-google-v2/util.go | 19 +++++++++++++++++++
6 files changed, 108 insertions(+)
diff --git a/cache-redis/info.yaml b/cache-redis/info.yaml
index 6ad7291..d4b5059 100644
--- a/cache-redis/info.yaml
+++ b/cache-redis/info.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.
+
slug_name: redis_cache
type: cache
version: 1.2.7
diff --git a/cache-redis/util.go b/cache-redis/util.go
index f166747..f4e8d8a 100644
--- a/cache-redis/util.go
+++ b/cache-redis/util.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 redis
import (
diff --git a/captcha-basic/info.yaml b/captcha-basic/info.yaml
index 44eea4d..edc53e9 100644
--- a/captcha-basic/info.yaml
+++ b/captcha-basic/info.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.
+
slug_name: basic_captcha
type: captcha
version: 1.0.1
diff --git a/captcha-basic/util.go b/captcha-basic/util.go
index 1e0a800..bc94b41 100644
--- a/captcha-basic/util.go
+++ b/captcha-basic/util.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 basic
import (
diff --git a/captcha-google-v2/info.yaml b/captcha-google-v2/info.yaml
index 9f30f75..2dd77b4 100644
--- a/captcha-google-v2/info.yaml
+++ b/captcha-google-v2/info.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.
+
slug_name: google_v2_captcha
type: captcha
version: 1.0.1
diff --git a/captcha-google-v2/util.go b/captcha-google-v2/util.go
index 00739eb..21293a8 100644
--- a/captcha-google-v2/util.go
+++ b/captcha-google-v2/util.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 recaptcha
import (