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

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


The following commit(s) were added to refs/heads/dev by this push:
     new a24bbf2  chore: Sync Plugin Info (#333)
a24bbf2 is described below

commit a24bbf298b009accc793a8f5a23ca9ea3b550a3b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 10 14:55:57 2026 +0800

    chore: Sync Plugin Info (#333)
    
    Regenerate plugin descriptions from the latest `dev` and fix the
    directory filter that silently excluded `connector-github` because
    `.git` was interpreted as an unanchored regular expression.
    
    - Match excluded directory names exactly so valid plugin names remain
    included.
    - Restore the GitHub descriptions in English and Chinese, add the LDAP
    English description, and include the six additional vector-search
    plugins.
    - Rebuild this branch on `dev` so unrelated commits from `main` are no
    longer included. The existing #332 workflow fix has also been
    synchronized to `main`, preventing its old workflow from overwriting
    this branch.
    
    Validation:
    - Ran the original `script/sync-info.sh` with yq 4.54.3 and jq twice;
    the results were byte-identical.
    - Independently parsed all plugin metadata and translations and compared
    every generated entry: 39 English and 38 Chinese descriptions, with
    matching values and ordering.
    - Verified exact directory exclusions and inclusion of
    `connector-github` and valid names containing `util` or `script` using
    an isolated fixture.
    - `bash -n script/sync-info.sh` and `git diff --check` passed.
    
    CI follow-up:
    - Added the standard ASF license headers to `connector-ldap/ldap.go` and
    `connector-ldap/login.html`, which were already missing on `dev` and
    caused the license check to fail. Both original file bodies are
    unchanged.
    - Re-ran the same `hawkeye-native:v3.6.1` license check locally; it
    passed.
    
    ---------
    
    Co-authored-by: robin <[email protected]>
---
 connector-ldap/ldap.go    | 19 ++++++++++++
 connector-ldap/login.html | 20 +++++++++++++
 plugins_desc.json         | 75 +++++++++++++++++++++++++++++++++++++++++++++++
 script/sync-info.sh       | 11 ++++---
 4 files changed, 121 insertions(+), 4 deletions(-)

diff --git a/connector-ldap/ldap.go b/connector-ldap/ldap.go
index 52522e4..3409f7c 100644
--- a/connector-ldap/ldap.go
+++ b/connector-ldap/ldap.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 ldap
 
 import (
diff --git a/connector-ldap/login.html b/connector-ldap/login.html
index 9605eb7..77a151f 100644
--- a/connector-ldap/login.html
+++ b/connector-ldap/login.html
@@ -1,3 +1,23 @@
+<!--
+
+    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.
+
+-->
 <!DOCTYPE html>
 <html lang="en">
 <head>
diff --git a/plugins_desc.json b/plugins_desc.json
index b959d8e..6b8ad8e 100644
--- a/plugins_desc.json
+++ b/plugins_desc.json
@@ -40,11 +40,21 @@
       "desc": "Connect to Dingtalk for third-party login",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/connector-dingtalk";
     },
+    {
+      "name": "GitHub Connector",
+      "desc": "Connect to GitHub for third-party login",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/connector-github";
+    },
     {
       "name": "Google Connector",
       "desc": "Connect to Google for third-party login",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/connector-google";
     },
+    {
+      "name": "LDAP Connector",
+      "desc": "Connect to LDAP for third-party login",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/connector-ldap";
+    },
     {
       "name": "Wallet Connector",
       "desc": "Connect to Wallet for third-party login",
@@ -150,10 +160,40 @@
       "desc": "Get user info from WeCom and sync to User Center",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/user-center-wecom";
     },
+    {
+      "name": "ChromaDB Vector Search",
+      "desc": "Use ChromaDB for semantic/vector search",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-chromadb";
+    },
+    {
+      "name": "Elasticsearch Vector Search",
+      "desc": "Use Elasticsearch with dense_vector fields for semantic/vector 
search",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-elasticsearch";
+    },
     {
       "name": "In-Memory Vector Search",
       "desc": "Lightweight in-memory vector search for development and testing 
(no external dependencies)",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-memory";
+    },
+    {
+      "name": "Milvus Vector Search",
+      "desc": "Use Milvus for semantic/vector search",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-milvus";
+    },
+    {
+      "name": "PostgreSQL pgvector Search",
+      "desc": "Use PostgreSQL with pgvector extension for semantic/vector 
search",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-pgvector";
+    },
+    {
+      "name": "Qdrant Vector Search",
+      "desc": "Use Qdrant for semantic/vector search",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-qdrant";
+    },
+    {
+      "name": "Weaviate Vector Search",
+      "desc": "Use Weaviate for semantic/vector search with built-in vector 
indexing",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-weaviate";
     }
   ],
   "zh_CN": [
@@ -197,6 +237,11 @@
       "desc": "用于接入钉钉第三方登录",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/connector-dingtalk";
     },
+    {
+      "name": "GitHub 连接器",
+      "desc": "用于接入 GitHub 第三方登录",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/connector-github";
+    },
     {
       "name": "Google 连接器",
       "desc": "用于接入 Google 第三方登录",
@@ -307,10 +352,40 @@
       "desc": "从企业微信获取用户信息并同步到用户中心",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/user-center-wecom";
     },
+    {
+      "name": "ChromaDB 向量搜索",
+      "desc": "使用 ChromaDB 进行语义/向量搜索",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-chromadb";
+    },
+    {
+      "name": "Elasticsearch 向量搜索",
+      "desc": "使用 Elasticsearch dense_vector 字段进行语义/向量搜索",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-elasticsearch";
+    },
     {
       "name": "内存向量搜索",
       "desc": "轻量级内存向量搜索,适用于开发和测试(无外部依赖)",
       "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-memory";
+    },
+    {
+      "name": "Milvus 向量搜索",
+      "desc": "使用 Milvus 进行语义/向量搜索",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-milvus";
+    },
+    {
+      "name": "PostgreSQL pgvector 搜索",
+      "desc": "使用 PostgreSQL pgvector 扩展进行语义/向量搜索",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-pgvector";
+    },
+    {
+      "name": "Qdrant 向量搜索",
+      "desc": "使用 Qdrant 进行语义/向量搜索",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-qdrant";
+    },
+    {
+      "name": "Weaviate 向量搜索",
+      "desc": "使用 Weaviate 进行语义/向量搜索,支持内置向量索引",
+      "link": 
"https://github.com/apache/answer-plugins/tree/main/vector-search-weaviate";
     }
   ]
 }
diff --git a/script/sync-info.sh b/script/sync-info.sh
index 5a5abfc..70354be 100755
--- a/script/sync-info.sh
+++ b/script/sync-info.sh
@@ -37,10 +37,13 @@ echo "{}" >"$project_root/plugins_desc.json"
 
 plugins=()
 for dir in "$project_root"/*/; do
-    if [[ "$dir" =~ (node_modules|util|script|.git|.vscode) ]]; then
-        continue
-    fi
-    plugins+=($(basename "$dir"))
+    plugin=$(basename "$dir")
+    case "$plugin" in
+        node_modules|util|script|.git|.vscode)
+            continue
+            ;;
+    esac
+    plugins+=("$plugin")
 done
 
 plugins=($(printf '%s\n' "${plugins[@]}" | sort))

Reply via email to