From cf94ebc70954b97d3f9816c47fc46c9c3f3f039e Mon Sep 17 00:00:00 2001 From: LinkinStars Date: Tue, 7 Jan 2025 11:02:57 +0800 Subject: [PATCH] refactor(rename): rename incubator-answer --- .vaunt/config.yaml | 2 +- README.md | 50 ++++---- cache-redis/README.md | 2 +- cache-redis/go.mod | 6 +- cache-redis/go.sum | 8 +- cache-redis/info.yaml | 2 +- cache-redis/redis.go | 8 +- captcha-basic/basic.go | 6 +- captcha-basic/go.mod | 6 +- captcha-basic/go.sum | 8 +- captcha-basic/info.yaml | 2 +- captcha-google-v2/go.mod | 6 +- captcha-google-v2/go.sum | 8 +- captcha-google-v2/info.yaml | 2 +- captcha-google-v2/recaptcha.go | 6 +- cdn-aliyun/README.md | 2 +- cdn-aliyun/aliyun.go | 8 +- cdn-aliyun/go.mod | 6 +- cdn-aliyun/go.sum | 8 +- cdn-aliyun/info.yaml | 2 +- cdn-s3/go.mod | 6 +- cdn-s3/go.sum | 8 +- cdn-s3/info.yaml | 2 +- cdn-s3/s3.go | 8 +- connector-apache/apache.go | 8 +- connector-apache/go.mod | 6 +- connector-apache/go.sum | 8 +- connector-apache/info.yaml | 2 +- connector-basic/README.md | 2 +- connector-basic/basic.go | 8 +- connector-basic/go.mod | 6 +- connector-basic/go.sum | 8 +- connector-basic/info.yaml | 2 +- connector-dingtalk/README.md | 4 +- connector-dingtalk/dingtalk.go | 6 +- connector-dingtalk/go.mod | 6 +- connector-dingtalk/go.sum | 8 +- connector-dingtalk/info.yaml | 2 +- connector-github/README.md | 2 +- connector-github/github.go | 6 +- connector-github/go.mod | 6 +- connector-github/go.sum | 8 +- connector-github/info.yaml | 2 +- connector-google/README.md | 2 +- connector-google/go.mod | 6 +- connector-google/go.sum | 8 +- connector-google/google.go | 6 +- connector-google/info.yaml | 2 +- connector-wallet/README.md | 2 +- connector-wallet/go.mod | 6 +- connector-wallet/go.sum | 8 +- connector-wallet/info.yaml | 2 +- connector-wallet/wallet.go | 6 +- editor-chart/chart.go | 6 +- editor-chart/go.mod | 6 +- editor-chart/go.sum | 8 +- editor-chart/info.yaml | 2 +- editor-formula/formula.go | 6 +- editor-formula/go.mod | 6 +- editor-formula/go.sum | 8 +- editor-formula/info.yaml | 2 +- embed-basic/basic.go | 6 +- embed-basic/go.mod | 6 +- embed-basic/go.sum | 8 +- embed-basic/info.yaml | 2 +- notification-dingtalk/README.md | 2 +- notification-dingtalk/config.go | 4 +- .../dingtalk_notification.go | 7 +- notification-dingtalk/go.mod | 6 +- notification-dingtalk/go.sum | 8 +- notification-dingtalk/info.yaml | 2 +- notification-dingtalk/user_config.go | 4 +- notification-lark/README.md | 2 +- notification-lark/README_CN.md | 2 +- notification-lark/config.go | 4 +- notification-lark/go.mod | 6 +- notification-lark/go.sum | 8 +- notification-lark/info.yaml | 2 +- notification-lark/lark_card_test.go | 2 +- notification-lark/notification.go | 6 +- notification-lark/user_config.go | 4 +- notification-lark/utils_test.go | 2 +- notification-slack/config.go | 4 +- notification-slack/go.mod | 6 +- notification-slack/go.sum | 8 +- notification-slack/info.yaml | 2 +- notification-slack/slack_notification.go | 8 +- notification-slack/user_config.go | 4 +- notification-wecom/README.md | 2 +- notification-wecom/README_CN.md | 2 +- notification-wecom/config.go | 4 +- notification-wecom/go.mod | 6 +- notification-wecom/go.sum | 8 +- notification-wecom/info.yaml | 2 +- notification-wecom/notification_wecom.go | 7 +- notification-wecom/user_config.go | 4 +- plugins_desc.json | 108 +++++++++--------- render-markdown-codehighlight/go.mod | 6 +- render-markdown-codehighlight/go.sum | 8 +- render-markdown-codehighlight/info.yaml | 2 +- .../renderMarkdownCodehighlight.go | 6 +- reviewer-akismet/akismet.go | 3 +- reviewer-akismet/basic.go | 6 +- reviewer-akismet/go.mod | 6 +- reviewer-akismet/go.sum | 8 +- reviewer-akismet/info.yaml | 2 +- reviewer-baidu/basic.go | 6 +- reviewer-baidu/go.mod | 6 +- reviewer-baidu/go.sum | 8 +- reviewer-baidu/info.yaml | 2 +- reviewer-basic/basic.go | 6 +- reviewer-basic/go.mod | 6 +- reviewer-basic/go.sum | 8 +- reviewer-basic/info.yaml | 2 +- search-algolia/README.md | 2 +- search-algolia/algolia.go | 6 +- search-algolia/config.go | 4 +- search-algolia/go.mod | 6 +- search-algolia/go.sum | 8 +- search-algolia/info.yaml | 2 +- search-algolia/sync.go | 2 +- search-elasticsearch/README.md | 2 +- search-elasticsearch/es.go | 7 +- search-elasticsearch/es_index.go | 2 +- search-elasticsearch/go.mod | 6 +- search-elasticsearch/go.sum | 8 +- search-elasticsearch/info.yaml | 2 +- search-elasticsearch/sync.go | 2 +- search-meilisearch/README.md | 2 +- search-meilisearch/go.mod | 6 +- search-meilisearch/go.sum | 8 +- search-meilisearch/info.yaml | 2 +- search-meilisearch/meilisearch.go | 7 +- search-meilisearch/sync.go | 2 +- storage-aliyunoss/README.md | 2 +- storage-aliyunoss/aliyunoss.go | 6 +- storage-aliyunoss/go.mod | 6 +- storage-aliyunoss/go.sum | 8 +- storage-aliyunoss/info.yaml | 2 +- storage-s3/README.md | 2 +- storage-s3/go.mod | 6 +- storage-s3/go.sum | 8 +- storage-s3/info.yaml | 2 +- storage-s3/s3.go | 6 +- storage-s3/s3_client.go | 2 +- storage-tencentyuncos/README.md | 2 +- storage-tencentyuncos/go.mod | 6 +- storage-tencentyuncos/go.sum | 8 +- storage-tencentyuncos/info.yaml | 2 +- storage-tencentyuncos/tencentyuncos.go | 7 +- user-center-slack/client.go | 3 +- user-center-slack/config.go | 4 +- user-center-slack/go.mod | 6 +- user-center-slack/go.sum | 8 +- user-center-slack/handler.go | 2 +- user-center-slack/importer.go | 2 +- user-center-slack/info.yaml | 2 +- user-center-slack/notification.go | 5 +- user-center-slack/slack_user_center.go | 7 +- user-center-slack/user_config.go | 4 +- user-center-wecom/config.go | 4 +- user-center-wecom/go.mod | 6 +- user-center-wecom/go.sum | 8 +- user-center-wecom/handler.go | 4 +- user-center-wecom/info.yaml | 2 +- user-center-wecom/notification.go | 4 +- user-center-wecom/user_config.go | 4 +- user-center-wecom/wecom_user_center.go | 7 +- util/go.mod | 2 +- 169 files changed, 477 insertions(+), 491 deletions(-) diff --git a/.vaunt/config.yaml b/.vaunt/config.yaml index b772a9582..64f940a63 100644 --- a/.vaunt/config.yaml +++ b/.vaunt/config.yaml @@ -2,7 +2,7 @@ version: 0.0.1 achievements: - achievement: name: Plugin Maestro - icon: https://raw.githubusercontent.com/apache/incubator-answer-plugins/main/.vaunt/plugin.png + icon: https://raw.githubusercontent.com/apache/answer-plugins/main/.vaunt/plugin.png description: Awarded for crafting a plugin, magical! triggers: - trigger: diff --git a/README.md b/README.md index 250f0f5ba..41b0a27e4 100644 --- a/README.md +++ b/README.md @@ -1,62 +1,62 @@ # Apache Answer Official Plugins -Apache Answer Official Plugins are built to enhance the feature of [Answer](https://github.com/apache/incubator-answer). +Apache Answer Official Plugins are built to enhance the feature of [Answer](https://github.com/apache/answer). -[![LICENSE](https://img.shields.io/github/license/apache/incubator-answer)](https://github.com/apache/incubator-answer/blob/main/LICENSE) +[![LICENSE](https://img.shields.io/github/license/apache/answer)](https://github.com/apache/answer/blob/main/LICENSE) [![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/) [![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/) -[![Go Report Card](https://goreportcard.com/badge/github.com/apache/incubator-answer)](https://goreportcard.com/report/github.com/apache/incubator-answer) +[![Go Report Card](https://goreportcard.com/badge/github.com/apache/answer)](https://goreportcard.com/report/github.com/apache/answer) [![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej) ## Types of plugin -Our plugin is under development and the interface definition of the plugin can be viewed at [this link](https://github.com/apache/incubator-answer/tree/main/plugin). +Our plugin is under development and the interface definition of the plugin can be viewed at [this link](https://github.com/apache/answer/tree/main/plugin). ### Connector The Connector plugin helps us to implement third-party login functionality. For example: Google or GitHub OAuth login. -- [x] [OAuth2 Basic](https://github.com/apache/incubator-answer-plugins/tree/main/connector-basic) -- [x] [GitHub](https://github.com/apache/incubator-answer-plugins/tree/main/connector-github) -- [x] [Google](https://github.com/apache/incubator-answer-plugins/tree/main/connector-google) -- [x] [Dingtalk](https://github.com/apache/incubator-answer-plugins/tree/main/connector-dingtalk) +- [x] [OAuth2 Basic](https://github.com/apache/answer-plugins/tree/main/connector-basic) +- [x] [GitHub](https://github.com/apache/answer-plugins/tree/main/connector-github) +- [x] [Google](https://github.com/apache/answer-plugins/tree/main/connector-google) +- [x] [Dingtalk](https://github.com/apache/answer-plugins/tree/main/connector-dingtalk) ### Storage The Storage plugin helps us to upload files to third-party storage. For example: Aliyun OSS or AWS S3. -- [x] [Aliyun OSS](https://github.com/apache/incubator-answer-plugins/tree/main/storage-aliyunoss) -- [x] [Tencentyun COS](https://github.com/apache/incubator-answer-plugins/tree/main/storage-tencentyuncos) -- [x] [S3](https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3) +- [x] [Aliyun OSS](https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss) +- [x] [Tencentyun COS](https://github.com/apache/answer-plugins/tree/main/storage-tencentyuncos) +- [x] [S3](https://github.com/apache/answer-plugins/tree/main/storage-s3) ### Cache Using the Cache plugin allows you to store cached data in a different location. For example: Redis or Memcached. -- [x] [Redis](https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis) +- [x] [Redis](https://github.com/apache/answer-plugins/tree/main/cache-redis) ### Search Support using search plugin to speed up the search of question answers. For example: Elasticsearch or Meilisearch. -- [x] [Elasticsearch](https://github.com/apache/incubator-answer-plugins/tree/main/search-elasticsearch) -- [x] [Meilisearch](https://github.com/apache/incubator-answer-plugins/tree/main/search-meilisearch) -- [x] [Algolia](https://github.com/apache/incubator-answer-plugins/tree/main/search-algolia) +- [x] [Elasticsearch](https://github.com/apache/answer-plugins/tree/main/search-elasticsearch) +- [x] [Meilisearch](https://github.com/apache/answer-plugins/tree/main/search-meilisearch) +- [x] [Algolia](https://github.com/apache/answer-plugins/tree/main/search-algolia) ### User Center Using the third-party user system to manage users. For example: WeCom -- [x] [WeCom](https://github.com/apache/incubator-answer-plugins/tree/main/user-center-wecom) +- [x] [WeCom](https://github.com/apache/answer-plugins/tree/main/user-center-wecom) ### Notification The Notification plugin helps us to send messages to third-party notification systems. For example: Slack. -- [x] [Slack](https://github.com/apache/incubator-answer-plugins/tree/main/notification-slack) -- [x] [Lark](https://github.com/apache/incubator-answer-plugins/tree/main/notification-lark) -- [x] [Ding talk](https://github.com/apache/incubator-answer-plugins/tree/main/notification-dingtalk) -- [x] [WeCom](https://github.com/apache/incubator-answer-plugins/tree/main/notification-wecom) +- [x] [Slack](https://github.com/apache/answer-plugins/tree/main/notification-slack) +- [x] [Lark](https://github.com/apache/answer-plugins/tree/main/notification-lark) +- [x] [Ding talk](https://github.com/apache/answer-plugins/tree/main/notification-dingtalk) +- [x] [WeCom](https://github.com/apache/answer-plugins/tree/main/notification-wecom) ### Route @@ -66,16 +66,16 @@ Support for custom routing. Support for extending the markdown editor's toolbar. -- [x] [chart](https://github.com/apache/incubator-answer-plugins/tree/main/editor-chart) -- [x] [formula](https://github.com/apache/incubator-answer-plugins/tree/main/editor-formula) -- [x] [embed](https://github.com/apache/incubator-answer-plugins/tree/main/editor-embed) +- [x] [chart](https://github.com/apache/answer-plugins/tree/main/editor-chart) +- [x] [formula](https://github.com/apache/answer-plugins/tree/main/editor-formula) +- [x] [embed](https://github.com/apache/answer-plugins/tree/main/editor-embed) ### Reviewer Support for customizing the reviewer. -- [x] [default](https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-basic) -- [x] [akismet](https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-akismet) +- [x] [default](https://github.com/apache/answer-plugins/tree/main/reviewer-basic) +- [x] [akismet](https://github.com/apache/answer-plugins/tree/main/reviewer-akismet) ### Filter (coming soon) diff --git a/cache-redis/README.md b/cache-redis/README.md index d069e09d5..a101e86d8 100644 --- a/cache-redis/README.md +++ b/cache-redis/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/cache-redis +./answer build --with github.com/apache/answer-plugins/cache-redis ``` ### Configuration diff --git a/cache-redis/go.mod b/cache-redis/go.mod index bb1646e36..7179ae4c8 100644 --- a/cache-redis/go.mod +++ b/cache-redis/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/cache-redis +module github.com/apache/answer-plugins/cache-redis go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/go-redis/redis/v8 v8.11.5 ) diff --git a/cache-redis/go.sum b/cache-redis/go.sum index e8e27f2fb..fa1397749 100644 --- a/cache-redis/go.sum +++ b/cache-redis/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/cache-redis/info.yaml b/cache-redis/info.yaml index 0ecf4c259..aacbf8bcb 100644 --- a/cache-redis/info.yaml +++ b/cache-redis/info.yaml @@ -19,4 +19,4 @@ slug_name: redis_cache type: cache version: 1.2.9 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis +link: https://github.com/apache/answer-plugins/tree/main/cache-redis diff --git a/cache-redis/redis.go b/cache-redis/redis.go index 4c915c133..29b3cf4d5 100644 --- a/cache-redis/redis.go +++ b/cache-redis/redis.go @@ -25,13 +25,11 @@ import ( _ "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "time" - "github.com/apache/incubator-answer/plugin" - "github.com/go-redis/redis/v8" - - "github.com/apache/incubator-answer-plugins/cache-redis/i18n" + "github.com/apache/answer-plugins/cache-redis/i18n" + "github.com/apache/answer/plugin" ) var ( diff --git a/captcha-basic/basic.go b/captcha-basic/basic.go index 8a16cc386..0a76c347c 100644 --- a/captcha-basic/basic.go +++ b/captcha-basic/basic.go @@ -21,11 +21,11 @@ package basic import ( "embed" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "image/color" - "github.com/apache/incubator-answer-plugins/captcha-basic/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/captcha-basic/i18n" + "github.com/apache/answer/plugin" "github.com/mojocn/base64Captcha" ) diff --git a/captcha-basic/go.mod b/captcha-basic/go.mod index 655550561..b9ab7a1ec 100644 --- a/captcha-basic/go.mod +++ b/captcha-basic/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/captcha-basic +module github.com/apache/answer-plugins/captcha-basic go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/mojocn/base64Captcha v1.3.6 ) diff --git a/captcha-basic/go.sum b/captcha-basic/go.sum index bda78c2c9..bb4b977fa 100644 --- a/captcha-basic/go.sum +++ b/captcha-basic/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/captcha-basic/info.yaml b/captcha-basic/info.yaml index 0fbb17a03..9e584b913 100644 --- a/captcha-basic/info.yaml +++ b/captcha-basic/info.yaml @@ -19,4 +19,4 @@ slug_name: basic_captcha type: captcha version: 1.0.4 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/captcha-basic \ No newline at end of file +link: https://github.com/apache/answer-plugins/tree/main/captcha-basic \ No newline at end of file diff --git a/captcha-google-v2/go.mod b/captcha-google-v2/go.mod index 592a11685..cee9da6e0 100644 --- a/captcha-google-v2/go.mod +++ b/captcha-google-v2/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/captcha-google-v2 +module github.com/apache/answer-plugins/captcha-google-v2 go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/captcha-google-v2/go.sum b/captcha-google-v2/go.sum index 142206c82..64aa05d79 100644 --- a/captcha-google-v2/go.sum +++ b/captcha-google-v2/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/captcha-google-v2/info.yaml b/captcha-google-v2/info.yaml index ac18835f2..46ff24638 100644 --- a/captcha-google-v2/info.yaml +++ b/captcha-google-v2/info.yaml @@ -19,4 +19,4 @@ slug_name: google_v2_captcha type: captcha version: 1.0.4 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/captcha-google-v2 \ No newline at end of file +link: https://github.com/apache/answer-plugins/tree/main/captcha-google-v2 \ No newline at end of file diff --git a/captcha-google-v2/recaptcha.go b/captcha-google-v2/recaptcha.go index b610a819d..f1d15e67c 100644 --- a/captcha-google-v2/recaptcha.go +++ b/captcha-google-v2/recaptcha.go @@ -21,13 +21,13 @@ package recaptcha import ( "embed" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "io" "net/http" "time" - "github.com/apache/incubator-answer-plugins/captcha-google-v2/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/captcha-google-v2/i18n" + "github.com/apache/answer/plugin" "encoding/json" diff --git a/cdn-aliyun/README.md b/cdn-aliyun/README.md index 13ea11713..370638661 100644 --- a/cdn-aliyun/README.md +++ b/cdn-aliyun/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/cdn-aliyun +./answer build --with github.com/apache/answer-plugins/cdn-aliyun ``` ### Configuration diff --git a/cdn-aliyun/aliyun.go b/cdn-aliyun/aliyun.go index b3a22f192..cdab85cdf 100644 --- a/cdn-aliyun/aliyun.go +++ b/cdn-aliyun/aliyun.go @@ -24,10 +24,10 @@ import ( "encoding/json" "fmt" "github.com/aliyun/aliyun-oss-go-sdk/oss" - "github.com/apache/incubator-answer-plugins/cdn-aliyun/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/plugin" - "github.com/apache/incubator-answer/ui" + "github.com/apache/answer-plugins/cdn-aliyun/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" + "github.com/apache/answer/ui" "github.com/segmentfault/pacman/log" "io" "io/fs" diff --git a/cdn-aliyun/go.mod b/cdn-aliyun/go.mod index 0e77fe9f9..884a70295 100644 --- a/cdn-aliyun/go.mod +++ b/cdn-aliyun/go.mod @@ -1,11 +1,11 @@ -module github.com/apache/incubator-answer-plugins/cdn-aliyun +module github.com/apache/answer-plugins/cdn-aliyun go 1.22.0 require ( github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/cdn-aliyun/go.sum b/cdn-aliyun/go.sum index e5b08f64c..01a27fb3a 100644 --- a/cdn-aliyun/go.sum +++ b/cdn-aliyun/go.sum @@ -4,10 +4,10 @@ github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2Q github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible h1:8psS8a+wKfiLt1iVDX79F7Y6wUM49Lcha2FMXt4UM8g= github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/cdn-aliyun/info.yaml b/cdn-aliyun/info.yaml index 1326dda2d..a62b4ca52 100644 --- a/cdn-aliyun/info.yaml +++ b/cdn-aliyun/info.yaml @@ -19,4 +19,4 @@ slug_name: aliyun_cdn type: cdn version: 1.0.2 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/cdn-aliyun +link: https://github.com/apache/answer-plugins/tree/main/cdn-aliyun diff --git a/cdn-s3/go.mod b/cdn-s3/go.mod index 229fa3f3d..9b2f284e3 100644 --- a/cdn-s3/go.mod +++ b/cdn-s3/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/cdn-s3 +module github.com/apache/answer-plugins/cdn-s3 go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/aws/aws-sdk-go v1.44.314 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/cdn-s3/go.sum b/cdn-s3/go.sum index 6a910aaed..cdc538b8b 100644 --- a/cdn-s3/go.sum +++ b/cdn-s3/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aws/aws-sdk-go v1.44.314 h1:d/5Jyk/Fb+PBd/4nzQg0JuC2W4A0knrDIzBgK/ggAow= github.com/aws/aws-sdk-go v1.44.314/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= diff --git a/cdn-s3/info.yaml b/cdn-s3/info.yaml index 05700522c..1542365c5 100644 --- a/cdn-s3/info.yaml +++ b/cdn-s3/info.yaml @@ -19,4 +19,4 @@ slug_name: s3_cdn type: cdn version: 1.0.2 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/cdn-s3 +link: https://github.com/apache/answer-plugins/tree/main/cdn-s3 diff --git a/cdn-s3/s3.go b/cdn-s3/s3.go index 2d8419552..9810beb48 100644 --- a/cdn-s3/s3.go +++ b/cdn-s3/s3.go @@ -25,9 +25,9 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/cdn-s3/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/ui" + "github.com/apache/answer-plugins/cdn-s3/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/ui" "github.com/segmentfault/pacman/log" "io" "io/fs" @@ -38,7 +38,7 @@ import ( "strings" "time" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" ) var ( diff --git a/connector-apache/apache.go b/connector-apache/apache.go index 718ea04e9..bc1ae2392 100644 --- a/connector-apache/apache.go +++ b/connector-apache/apache.go @@ -23,13 +23,13 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "io" "net/http" - "github.com/apache/incubator-answer-plugins/connector-apache/i18n" - "github.com/apache/incubator-answer/pkg/token" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/connector-apache/i18n" + "github.com/apache/answer/pkg/token" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/connector-apache/go.mod b/connector-apache/go.mod index 937b28e5f..5b25a27a6 100644 --- a/connector-apache/go.mod +++ b/connector-apache/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/connector-apache +module github.com/apache/answer-plugins/connector-apache go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/connector-apache/go.sum b/connector-apache/go.sum index 4ff143047..1c0762d08 100644 --- a/connector-apache/go.sum +++ b/connector-apache/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/connector-apache/info.yaml b/connector-apache/info.yaml index d6c8eb0d9..7d376a870 100644 --- a/connector-apache/info.yaml +++ b/connector-apache/info.yaml @@ -19,4 +19,4 @@ slug_name: apache_connector type: connector version: 1.0.3 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/connector-apache +link: https://github.com/apache/answer-plugins/tree/main/connector-apache diff --git a/connector-basic/README.md b/connector-basic/README.md index 7b0f7019d..8b0d63cca 100644 --- a/connector-basic/README.md +++ b/connector-basic/README.md @@ -4,7 +4,7 @@ ## How to use ```bash -./answer build --with github.com/apache/incubator-answer-plugins/connector-basic +./answer build --with github.com/apache/answer-plugins/connector-basic ``` ## How to config diff --git a/connector-basic/basic.go b/connector-basic/basic.go index 4ea5d720c..3fd6a3b34 100644 --- a/connector-basic/basic.go +++ b/connector-basic/basic.go @@ -24,16 +24,16 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "io" "regexp" "strings" "time" "unicode/utf8" - "github.com/apache/incubator-answer-plugins/connector-basic/i18n" - "github.com/apache/incubator-answer/pkg/checker" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/connector-basic/i18n" + "github.com/apache/answer/pkg/checker" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" "github.com/tidwall/gjson" "golang.org/x/oauth2" diff --git a/connector-basic/go.mod b/connector-basic/go.mod index 039d3b590..77e04be34 100644 --- a/connector-basic/go.mod +++ b/connector-basic/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/connector-basic +module github.com/apache/answer-plugins/connector-basic go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f github.com/tidwall/gjson v1.17.3 golang.org/x/oauth2 v0.4.0 diff --git a/connector-basic/go.sum b/connector-basic/go.sum index 4e1826d11..5fbc0989d 100644 --- a/connector-basic/go.sum +++ b/connector-basic/go.sum @@ -22,10 +22,10 @@ github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuy github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= diff --git a/connector-basic/info.yaml b/connector-basic/info.yaml index efb9b02df..53475bd65 100644 --- a/connector-basic/info.yaml +++ b/connector-basic/info.yaml @@ -19,4 +19,4 @@ slug_name: basic_connector type: connector version: 1.2.8 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/connector-basic +link: https://github.com/apache/answer-plugins/tree/main/connector-basic diff --git a/connector-dingtalk/README.md b/connector-dingtalk/README.md index 4ea92628a..feba54789 100644 --- a/connector-dingtalk/README.md +++ b/connector-dingtalk/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/connector-dingtalk +./answer build --with github.com/apache/answer-plugins/connector-dingtalk ``` ### Configuration @@ -30,7 +30,7 @@ RUN apk --no-cache add \ RUN go env -w GOPROXY=https://goproxy.cn,direct RUN answer build \ - --with github.com/apache/incubator-answer-plugins/connector-dingtalk \ + --with github.com/apache/answer-plugins/connector-dingtalk \ --output /usr/bin/new_answer FROM alpine diff --git a/connector-dingtalk/dingtalk.go b/connector-dingtalk/dingtalk.go index f19e70a1b..9deb65f24 100644 --- a/connector-dingtalk/dingtalk.go +++ b/connector-dingtalk/dingtalk.go @@ -24,11 +24,11 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "net/http" - "github.com/apache/incubator-answer-plugins/connector-dingtalk/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/connector-dingtalk/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/connector-dingtalk/go.mod b/connector-dingtalk/go.mod index c000477e1..5330e6989 100644 --- a/connector-dingtalk/go.mod +++ b/connector-dingtalk/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/connector-dingtalk +module github.com/apache/answer-plugins/connector-dingtalk go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/connector-dingtalk/go.sum b/connector-dingtalk/go.sum index b08ce5b97..144856eb0 100644 --- a/connector-dingtalk/go.sum +++ b/connector-dingtalk/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/connector-dingtalk/info.yaml b/connector-dingtalk/info.yaml index 5d9b2d892..030079aef 100644 --- a/connector-dingtalk/info.yaml +++ b/connector-dingtalk/info.yaml @@ -19,4 +19,4 @@ slug_name: dingtalk_connector type: connector version: 1.0.3 author: xbmlz -link: https://github.com/apache/incubator-answer-plugins/tree/main/connector-dingtalk +link: https://github.com/apache/answer-plugins/tree/main/connector-dingtalk diff --git a/connector-github/README.md b/connector-github/README.md index 9cde6f65a..0193c9514 100644 --- a/connector-github/README.md +++ b/connector-github/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/connector-github +./answer build --with github.com/apache/answer-plugins/connector-github ``` ### Configuration diff --git a/connector-github/github.go b/connector-github/github.go index 3e5e63412..4d2bdd2f9 100644 --- a/connector-github/github.go +++ b/connector-github/github.go @@ -24,11 +24,11 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "time" - "github.com/apache/incubator-answer-plugins/connector-github/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/connector-github/i18n" + "github.com/apache/answer/plugin" "github.com/google/go-github/v50/github" "github.com/segmentfault/pacman/log" "golang.org/x/oauth2" diff --git a/connector-github/go.mod b/connector-github/go.mod index 69c300592..6a75ae198 100644 --- a/connector-github/go.mod +++ b/connector-github/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/connector-github +module github.com/apache/answer-plugins/connector-github go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/google/go-github/v50 v50.1.0 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f golang.org/x/oauth2 v0.4.0 diff --git a/connector-github/go.sum b/connector-github/go.sum index 84ebcc08a..f88527e4d 100644 --- a/connector-github/go.sum +++ b/connector-github/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/connector-github/info.yaml b/connector-github/info.yaml index 67f1c48ff..8c474a0cd 100644 --- a/connector-github/info.yaml +++ b/connector-github/info.yaml @@ -19,4 +19,4 @@ slug_name: github_connector type: connector version: 1.2.9 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/connector-github +link: https://github.com/apache/answer-plugins/tree/main/connector-github diff --git a/connector-google/README.md b/connector-google/README.md index 025424be9..81c7827a8 100644 --- a/connector-google/README.md +++ b/connector-google/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/connector-google +./answer build --with github.com/apache/answer-plugins/connector-google ``` ### Configuration diff --git a/connector-google/go.mod b/connector-google/go.mod index 710984417..fed7f8050 100644 --- a/connector-google/go.mod +++ b/connector-google/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/connector-google +module github.com/apache/answer-plugins/connector-google go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 golang.org/x/oauth2 v0.4.0 ) diff --git a/connector-google/go.sum b/connector-google/go.sum index 740263f2d..0b509d545 100644 --- a/connector-google/go.sum +++ b/connector-google/go.sum @@ -4,10 +4,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/connector-google/google.go b/connector-google/google.go index fdf623fe0..9f5c36212 100644 --- a/connector-google/google.go +++ b/connector-google/google.go @@ -24,12 +24,12 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "io" "time" - "github.com/apache/incubator-answer-plugins/connector-google/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/connector-google/i18n" + "github.com/apache/answer/plugin" "golang.org/x/oauth2" oauth2Google "golang.org/x/oauth2/google" ) diff --git a/connector-google/info.yaml b/connector-google/info.yaml index e9bbbb9b1..9dfc094b4 100644 --- a/connector-google/info.yaml +++ b/connector-google/info.yaml @@ -19,4 +19,4 @@ slug_name: google_connector type: connector version: 1.2.9 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/connector-google +link: https://github.com/apache/answer-plugins/tree/main/connector-google diff --git a/connector-wallet/README.md b/connector-wallet/README.md index 169919960..29079b5b0 100644 --- a/connector-wallet/README.md +++ b/connector-wallet/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/connector-wallet +./answer build --with github.com/apache/answer-plugins/connector-wallet ``` ### Use Case diff --git a/connector-wallet/go.mod b/connector-wallet/go.mod index 8aa8d20ee..1f47d29be 100644 --- a/connector-wallet/go.mod +++ b/connector-wallet/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/connector-wallet +module github.com/apache/answer-plugins/connector-wallet go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/i-lucifer/crypto v0.0.2 golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 ) diff --git a/connector-wallet/go.sum b/connector-wallet/go.sum index 486421bf0..1dbdb2e8b 100644 --- a/connector-wallet/go.sum +++ b/connector-wallet/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/connector-wallet/info.yaml b/connector-wallet/info.yaml index c6dc231f3..fedf206f6 100644 --- a/connector-wallet/info.yaml +++ b/connector-wallet/info.yaml @@ -19,5 +19,5 @@ slug_name: wallet_connector type: route version: 1.0.0 author: i-Lucifer,ourai -link: https://github.com/apache/incubator-answer-plugins/tree/main/connector-wallet +link: https://github.com/apache/answer-plugins/tree/main/connector-wallet route: /connector-wallet-auth diff --git a/connector-wallet/wallet.go b/connector-wallet/wallet.go index b8ba668ef..d6e1b83ce 100644 --- a/connector-wallet/wallet.go +++ b/connector-wallet/wallet.go @@ -25,9 +25,9 @@ import ( "strconv" "time" - "github.com/apache/incubator-answer-plugins/connector-wallet/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/connector-wallet/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" "github.com/i-lucifer/crypto" "golang.org/x/exp/rand" ) diff --git a/editor-chart/chart.go b/editor-chart/chart.go index 3875664f4..9c034e9b1 100644 --- a/editor-chart/chart.go +++ b/editor-chart/chart.go @@ -21,9 +21,9 @@ package chart import ( "embed" - "github.com/apache/incubator-answer-plugins/editor-chart/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/editor-chart/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/editor-chart/go.mod b/editor-chart/go.mod index c7dd531b8..93b387ac3 100644 --- a/editor-chart/go.mod +++ b/editor-chart/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/editor-chart +module github.com/apache/answer-plugins/editor-chart go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 ) require ( diff --git a/editor-chart/go.sum b/editor-chart/go.sum index b08ce5b97..144856eb0 100644 --- a/editor-chart/go.sum +++ b/editor-chart/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/editor-chart/info.yaml b/editor-chart/info.yaml index c9d7c324d..9a401d404 100644 --- a/editor-chart/info.yaml +++ b/editor-chart/info.yaml @@ -19,4 +19,4 @@ slug_name: chart_editor type: editor version: 1.2.10 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/editor-chart +link: https://github.com/apache/answer-plugins/tree/main/editor-chart diff --git a/editor-formula/formula.go b/editor-formula/formula.go index b95b5321c..17a3f9195 100644 --- a/editor-formula/formula.go +++ b/editor-formula/formula.go @@ -21,9 +21,9 @@ package formula import ( "embed" - "github.com/apache/incubator-answer-plugins/editor-formula/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/editor-formula/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/editor-formula/go.mod b/editor-formula/go.mod index 0df115e61..0ce1aef3b 100644 --- a/editor-formula/go.mod +++ b/editor-formula/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/editor-formula +module github.com/apache/answer-plugins/editor-formula go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 ) require ( diff --git a/editor-formula/go.sum b/editor-formula/go.sum index b08ce5b97..144856eb0 100644 --- a/editor-formula/go.sum +++ b/editor-formula/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/editor-formula/info.yaml b/editor-formula/info.yaml index 8e1b10491..db1621940 100644 --- a/editor-formula/info.yaml +++ b/editor-formula/info.yaml @@ -19,4 +19,4 @@ slug_name: formula_editor type: editor version: 1.2.13 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/editor-formula +link: https://github.com/apache/answer-plugins/tree/main/editor-formula diff --git a/embed-basic/basic.go b/embed-basic/basic.go index 3d81378a2..44d9d0dee 100644 --- a/embed-basic/basic.go +++ b/embed-basic/basic.go @@ -22,11 +22,11 @@ package embed_basic import ( "embed" "encoding/json" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "github.com/gin-gonic/gin" - "github.com/apache/incubator-answer-plugins/embed-basic/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/embed-basic/i18n" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/embed-basic/go.mod b/embed-basic/go.mod index c615a665a..8ca2ae923 100644 --- a/embed-basic/go.mod +++ b/embed-basic/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/embed-basic +module github.com/apache/answer-plugins/embed-basic go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/gin-gonic/gin v1.10.0 ) diff --git a/embed-basic/go.sum b/embed-basic/go.sum index b08ce5b97..144856eb0 100644 --- a/embed-basic/go.sum +++ b/embed-basic/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/embed-basic/info.yaml b/embed-basic/info.yaml index 0d39f7345..78fefb161 100644 --- a/embed-basic/info.yaml +++ b/embed-basic/info.yaml @@ -19,4 +19,4 @@ slug_name: basic_embed type: editor version: 1.1.3 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/embed-basic +link: https://github.com/apache/answer-plugins/tree/main/embed-basic diff --git a/notification-dingtalk/README.md b/notification-dingtalk/README.md index 01841610e..b805b117b 100644 --- a/notification-dingtalk/README.md +++ b/notification-dingtalk/README.md @@ -5,7 +5,7 @@ To use the notification-dingtalk plugin with your application, install it using the following command: ```bash -./answer build --with github.com/apache/incubator-answer-plugins/notification-dingtalk +./answer build --with github.com/apache/answer-plugins/notification-dingtalk ``` diff --git a/notification-dingtalk/config.go b/notification-dingtalk/config.go index 0bad4007c..a93951299 100644 --- a/notification-dingtalk/config.go +++ b/notification-dingtalk/config.go @@ -22,8 +22,8 @@ package dingtalk import ( "encoding/json" - "github.com/apache/incubator-answer-plugins/notification-dingtalk/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-dingtalk/i18n" + "github.com/apache/answer/plugin" ) type NotificationConfig struct { diff --git a/notification-dingtalk/dingtalk_notification.go b/notification-dingtalk/dingtalk_notification.go index 360a941db..33646544d 100644 --- a/notification-dingtalk/dingtalk_notification.go +++ b/notification-dingtalk/dingtalk_notification.go @@ -21,12 +21,11 @@ package dingtalk import ( "embed" - "github.com/apache/incubator-answer-plugins/util" - "github.com/go-resty/resty/v2" + "github.com/apache/answer-plugins/util" "strings" - dingtalkI18n "github.com/apache/incubator-answer-plugins/notification-dingtalk/i18n" - "github.com/apache/incubator-answer/plugin" + dingtalkI18n "github.com/apache/answer-plugins/notification-dingtalk/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" ) diff --git a/notification-dingtalk/go.mod b/notification-dingtalk/go.mod index 31cde7d81..56fe7b7e6 100644 --- a/notification-dingtalk/go.mod +++ b/notification-dingtalk/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/notification-dingtalk +module github.com/apache/answer-plugins/notification-dingtalk go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/go-resty/resty/v2 v2.15.3 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/notification-dingtalk/go.sum b/notification-dingtalk/go.sum index b76239735..39477f973 100644 --- a/notification-dingtalk/go.sum +++ b/notification-dingtalk/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/notification-dingtalk/info.yaml b/notification-dingtalk/info.yaml index c972d9857..6bba42b7f 100644 --- a/notification-dingtalk/info.yaml +++ b/notification-dingtalk/info.yaml @@ -19,4 +19,4 @@ slug_name: dingtalk_notification type: notification version: 1.0.1 author: Luffy -link: https://github.com/apache/incubator-answer-plugins/tree/main/notification-dingtalk +link: https://github.com/apache/answer-plugins/tree/main/notification-dingtalk diff --git a/notification-dingtalk/user_config.go b/notification-dingtalk/user_config.go index 2dbdba6ea..5cfdad4b1 100644 --- a/notification-dingtalk/user_config.go +++ b/notification-dingtalk/user_config.go @@ -24,8 +24,8 @@ import ( "fmt" "sync" - "github.com/apache/incubator-answer-plugins/notification-dingtalk/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-dingtalk/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/notification-lark/README.md b/notification-lark/README.md index 42dedcf8d..00bc6629d 100644 --- a/notification-lark/README.md +++ b/notification-lark/README.md @@ -7,7 +7,7 @@ To use the NotificationLark plugin with your application, install it using the following command: ```bash -./answer build --with github.com/apache/incubator-answer-plugins/notification-lark +./answer build --with github.com/apache/answer-plugins/notification-lark ``` ## How to config diff --git a/notification-lark/README_CN.md b/notification-lark/README_CN.md index 695284550..583a14773 100644 --- a/notification-lark/README_CN.md +++ b/notification-lark/README_CN.md @@ -7,7 +7,7 @@ 要在应用程序中使用飞书通知插件,请使用以下命令进行安装: ```bash -./answer build --with github.com/apache/incubator-answer-plugins/notification-lark +./answer build --with github.com/apache/answer-plugins/notification-lark ``` ## 如何配置 diff --git a/notification-lark/config.go b/notification-lark/config.go index b1646d0ad..f3b6004c3 100644 --- a/notification-lark/config.go +++ b/notification-lark/config.go @@ -23,8 +23,8 @@ import ( "context" "encoding/json" - "github.com/apache/incubator-answer-plugins/notification-lark/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-lark/i18n" + "github.com/apache/answer/plugin" lark "github.com/larksuite/oapi-sdk-go/v3" larkCore "github.com/larksuite/oapi-sdk-go/v3/core" larkWebSocket "github.com/larksuite/oapi-sdk-go/v3/ws" diff --git a/notification-lark/go.mod b/notification-lark/go.mod index 71a8e07b9..0d16a0083 100644 --- a/notification-lark/go.mod +++ b/notification-lark/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/notification-lark +module github.com/apache/answer-plugins/notification-lark go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/larksuite/oapi-sdk-go/v3 v3.3.1 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/notification-lark/go.sum b/notification-lark/go.sum index 2343bd681..473f7c073 100644 --- a/notification-lark/go.sum +++ b/notification-lark/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/notification-lark/info.yaml b/notification-lark/info.yaml index 1796a458e..98415c6e5 100644 --- a/notification-lark/info.yaml +++ b/notification-lark/info.yaml @@ -19,4 +19,4 @@ slug_name: lark_notification type: notification version: 1.0.2 author: sonui -link: https://apache.com/apache/incubator-answer-plugins/tree/main/notification-lark +link: https://github.com/apache/answer-plugins/tree/main/notification-lark diff --git a/notification-lark/lark_card_test.go b/notification-lark/lark_card_test.go index 0c8dd05c6..d1d28805d 100644 --- a/notification-lark/lark_card_test.go +++ b/notification-lark/lark_card_test.go @@ -25,7 +25,7 @@ import ( "os" "testing" - answer "github.com/apache/incubator-answer-plugins/notification-lark" + answer "github.com/apache/answer-plugins/notification-lark" lark "github.com/larksuite/oapi-sdk-go/v3" larkIM "github.com/larksuite/oapi-sdk-go/v3/service/im/v1" ) diff --git a/notification-lark/notification.go b/notification-lark/notification.go index 9ae5b32ac..c9954cb75 100644 --- a/notification-lark/notification.go +++ b/notification-lark/notification.go @@ -26,9 +26,9 @@ import ( "fmt" "strings" - lark_i18n "github.com/apache/incubator-answer-plugins/notification-lark/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/plugin" + lark_i18n "github.com/apache/answer-plugins/notification-lark/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" diff --git a/notification-lark/user_config.go b/notification-lark/user_config.go index 62d4ca050..2a6246861 100644 --- a/notification-lark/user_config.go +++ b/notification-lark/user_config.go @@ -24,8 +24,8 @@ import ( "fmt" "sync" - "github.com/apache/incubator-answer-plugins/notification-lark/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-lark/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/notification-lark/utils_test.go b/notification-lark/utils_test.go index c0ac61847..537c2de82 100644 --- a/notification-lark/utils_test.go +++ b/notification-lark/utils_test.go @@ -22,7 +22,7 @@ package lark_test import ( "testing" - answer "github.com/apache/incubator-answer-plugins/notification-lark" + answer "github.com/apache/answer-plugins/notification-lark" ) func TestGenRandomStr(t *testing.T) { diff --git a/notification-slack/config.go b/notification-slack/config.go index de3a9cd1d..5677c74c0 100644 --- a/notification-slack/config.go +++ b/notification-slack/config.go @@ -22,8 +22,8 @@ package slack_notification import ( "encoding/json" - "github.com/apache/incubator-answer-plugins/notification-slack/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-slack/i18n" + "github.com/apache/answer/plugin" ) type NotificationConfig struct { diff --git a/notification-slack/go.mod b/notification-slack/go.mod index c2a09f1a8..6f2e2e716 100644 --- a/notification-slack/go.mod +++ b/notification-slack/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/notification-slack +module github.com/apache/answer-plugins/notification-slack go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/go-resty/resty/v2 v2.15.0 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/notification-slack/go.sum b/notification-slack/go.sum index 4ec73d218..893739233 100644 --- a/notification-slack/go.sum +++ b/notification-slack/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/notification-slack/info.yaml b/notification-slack/info.yaml index 0ebac1c1d..96aa9d3f3 100644 --- a/notification-slack/info.yaml +++ b/notification-slack/info.yaml @@ -19,4 +19,4 @@ slug_name: slack_notification type: notification version: 1.0.3 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/notification-slack +link: https://github.com/apache/answer-plugins/tree/main/notification-slack diff --git a/notification-slack/slack_notification.go b/notification-slack/slack_notification.go index 0cd28e478..0f5c74f98 100644 --- a/notification-slack/slack_notification.go +++ b/notification-slack/slack_notification.go @@ -23,11 +23,9 @@ import ( "embed" "strings" - "github.com/apache/incubator-answer-plugins/util" - "github.com/go-resty/resty/v2" - - slackI18n "github.com/apache/incubator-answer-plugins/notification-slack/i18n" - "github.com/apache/incubator-answer/plugin" + slackI18n "github.com/apache/answer-plugins/notification-slack/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" ) diff --git a/notification-slack/user_config.go b/notification-slack/user_config.go index f657b1482..7ea077efc 100644 --- a/notification-slack/user_config.go +++ b/notification-slack/user_config.go @@ -24,8 +24,8 @@ import ( "fmt" "sync" - "github.com/apache/incubator-answer-plugins/notification-slack/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-slack/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/notification-wecom/README.md b/notification-wecom/README.md index 53b3b3441..d92dfa883 100644 --- a/notification-wecom/README.md +++ b/notification-wecom/README.md @@ -7,7 +7,7 @@ To use the notification-wecom plugin with your application, install it using the following command: ```bash -./answer build --with github.com/apache/incubator-answer-plugins/notification-wecom +./answer build --with github.com/apache/answer-plugins/notification-wecom ``` diff --git a/notification-wecom/README_CN.md b/notification-wecom/README_CN.md index 926ba357f..25effe10c 100644 --- a/notification-wecom/README_CN.md +++ b/notification-wecom/README_CN.md @@ -7,7 +7,7 @@ 要使用通知企业微信通知插件,请使用以下命令进行安装: ```bash -./answer build --with github.com/apache/incubator-answer-plugins/notification-wecom +./answer build --with github.com/apache/answer-plugins/notification-wecom ``` diff --git a/notification-wecom/config.go b/notification-wecom/config.go index 0bdcc81c9..751c03063 100644 --- a/notification-wecom/config.go +++ b/notification-wecom/config.go @@ -22,8 +22,8 @@ package wecom import ( "encoding/json" - "github.com/apache/incubator-answer-plugins/notification-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-wecom/i18n" + "github.com/apache/answer/plugin" ) type NotificationConfig struct { diff --git a/notification-wecom/go.mod b/notification-wecom/go.mod index 1e191c730..e8c7ddb08 100644 --- a/notification-wecom/go.mod +++ b/notification-wecom/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/notification-wecom +module github.com/apache/answer-plugins/notification-wecom go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/go-resty/resty/v2 v2.16.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/notification-wecom/go.sum b/notification-wecom/go.sum index 1bd7f1835..70faf4369 100644 --- a/notification-wecom/go.sum +++ b/notification-wecom/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/notification-wecom/info.yaml b/notification-wecom/info.yaml index a1f05e45c..380dd11b0 100644 --- a/notification-wecom/info.yaml +++ b/notification-wecom/info.yaml @@ -19,4 +19,4 @@ slug_name: notification_wecom type: notification version: 1.0.0 author: lihui -link: https://github.com/apache/incubator-answer-plugins/tree/main/notification-wecom +link: https://github.com/apache/answer-plugins/tree/main/notification-wecom diff --git a/notification-wecom/notification_wecom.go b/notification-wecom/notification_wecom.go index 9b01256c8..b5506d26b 100644 --- a/notification-wecom/notification_wecom.go +++ b/notification-wecom/notification_wecom.go @@ -21,12 +21,11 @@ package wecom import ( "embed" - "github.com/apache/incubator-answer/plugin" - "github.com/go-resty/resty/v2" + "github.com/apache/answer/plugin" "strings" - wecomI18n "github.com/apache/incubator-answer-plugins/notification-wecom/i18n" - "github.com/apache/incubator-answer-plugins/util" + wecomI18n "github.com/apache/answer-plugins/notification-wecom/i18n" + "github.com/apache/answer-plugins/util" "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" ) diff --git a/notification-wecom/user_config.go b/notification-wecom/user_config.go index bb294a8f5..f61e2492d 100644 --- a/notification-wecom/user_config.go +++ b/notification-wecom/user_config.go @@ -24,8 +24,8 @@ import ( "fmt" "sync" - "github.com/apache/incubator-answer-plugins/notification-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/notification-wecom/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/plugins_desc.json b/plugins_desc.json index 13487cd53..51e682952 100644 --- a/plugins_desc.json +++ b/plugins_desc.json @@ -3,274 +3,274 @@ { "name": "Redis Cache", "desc": "Use Redis as cache", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis" + "link": "https://github.com/apache/answer-plugins/tree/main/cache-redis" }, { "name": "Basic Captcha", "desc": "Default graphic verification code", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/captcha-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/captcha-basic" }, { "name": "Google reCAPTCHA v2", "desc": "Google reCAPTCHA v2 plugin", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/captcha-google-v2" + "link": "https://github.com/apache/answer-plugins/tree/main/captcha-google-v2" }, { "name": "Aliyun CDN", "desc": "Speed up your website and enjoy greatly improved loading times around the world.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/cdn-aliyun" + "link": "https://github.com/apache/answer-plugins/tree/main/cdn-aliyun" }, { "name": "Amazon CloudFront", "desc": "Speed up your website and enjoy greatly improved loading times around the world.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/cdn-s3" + "link": "https://github.com/apache/answer-plugins/tree/main/cdn-s3" }, { "name": "Apache Connector", "desc": "Connect to Apache Oauth", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-apache" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-apache" }, { "name": "OAuth2 Basic", "desc": "Generic OAuth2 Plugin", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-basic" }, { "name": "Dingtalk Connector", "desc": "Connect to Dingtalk for third-party login", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-dingtalk" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-dingtalk" }, { "name": "Google Connector", "desc": "Connect to Google for third-party login", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-google" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-google" }, { "name": "Wallet Connector", "desc": "Connect to Wallet for third-party login", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-wallet" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-wallet" }, { "name": "Chart Editor", "desc": "Render chart in editor", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/editor-chart" + "link": "https://github.com/apache/answer-plugins/tree/main/editor-chart" }, { "name": "Formula Editor", "desc": "Render formula in editor", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/editor-formula" + "link": "https://github.com/apache/answer-plugins/tree/main/editor-formula" }, { "name": "Embed", "desc": "Embed content from other sites", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/embed-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/embed-basic" }, { "name": "Ding talk Notification", "desc": "Send notifications to Ding Talk", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/notification-dingtalk" + "link": "https://github.com/apache/answer-plugins/tree/main/notification-dingtalk" }, { "name": "Slack Notification", "desc": "Send notifications to Slack", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/notification-slack" + "link": "https://github.com/apache/answer-plugins/tree/main/notification-slack" }, { "name": "Code Highlight", "desc": "Highlight code blocks in Markdown content", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/render-markdown-codehighlight" + "link": "https://github.com/apache/answer-plugins/tree/main/render-markdown-codehighlight" }, { "name": "Akismet Anti-Spam", "desc": "Akismet Anti-Spam is used to check the content of posts and comments against the Akismet web service to see if they look like spam.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-akismet" + "link": "https://github.com/apache/answer-plugins/tree/main/reviewer-akismet" }, { "name": "Baidu Anti-Spam", "desc": "Baidu Anti-Spam is used to check the content of posts and comments against the Baidu web service to see if they look like spam.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-baidu" + "link": "https://github.com/apache/answer-plugins/tree/main/reviewer-baidu" }, { "name": "Review Basic", "desc": "Generic review rule plugin", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/reviewer-basic" }, { "name": "Algolia Search", "desc": "Use Algolia as a search engine.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/search-algolia" + "link": "https://github.com/apache/answer-plugins/tree/main/search-algolia" }, { "name": "Elasticsearch Engine", "desc": "Use Elasticsearch as search engine", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/search-elasticsearch" + "link": "https://github.com/apache/answer-plugins/tree/main/search-elasticsearch" }, { "name": "MeiliSearch", "desc": "MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/search-meilisearch" + "link": "https://github.com/apache/answer-plugins/tree/main/search-meilisearch" }, { "name": "Aliyun OSS storage", "desc": "Upload files to AliCloud OSS storage", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/storage-aliyunoss" + "link": "https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss" }, { "name": "S3 storage", "desc": "Upload files to S3 storage", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3" + "link": "https://github.com/apache/answer-plugins/tree/main/storage-s3" }, { "name": "Tencent COS storage", "desc": "Upload files to Tencent COS storage", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/storage-tencentyuncos" + "link": "https://github.com/apache/answer-plugins/tree/main/storage-tencentyuncos" }, { "name": "Slack User Center", "desc": "A plugin for integrating Slack user management", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/user-center-slack" + "link": "https://github.com/apache/answer-plugins/tree/main/user-center-slack" }, { "name": "WeCom", "desc": "Get user info from WeCom and sync to User Center", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/user-center-wecom" + "link": "https://github.com/apache/answer-plugins/tree/main/user-center-wecom" } ], "zh_CN": [ { "name": "Redis缓存", "desc": "使用Redis作为缓存", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis" + "link": "https://github.com/apache/answer-plugins/tree/main/cache-redis" }, { "name": "基础验证码", "desc": "默认图形验证码", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/captcha-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/captcha-basic" }, { "name": "Google reCAPTCHA v2", "desc": "Google reCAPTCHA v2 插件", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/captcha-google-v2" + "link": "https://github.com/apache/answer-plugins/tree/main/captcha-google-v2" }, { "name": "阿里云CDN", "desc": "通过阿里云CDN提升静态资源加速", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/cdn-aliyun" + "link": "https://github.com/apache/answer-plugins/tree/main/cdn-aliyun" }, { "name": "Amazon CloudFront", "desc": "通过AWS CDN提升静态资源加速", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/cdn-s3" + "link": "https://github.com/apache/answer-plugins/tree/main/cdn-s3" }, { "name": "Apache 连接器", "desc": "用于接入 Apache Oauth", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-apache" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-apache" }, { "name": "通用连接器", "desc": "适用于各种 OAuth 登录的通用插件", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-basic" }, { "name": "钉钉连接器", "desc": "用于接入钉钉第三方登录", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-dingtalk" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-dingtalk" }, { "name": "Google 连接器", "desc": "用于接入 Google 第三方登录", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-google" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-google" }, { "name": "Wallet 连接器", "desc": "用于接入 Wallet 第三方登录", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/connector-wallet" + "link": "https://github.com/apache/answer-plugins/tree/main/connector-wallet" }, { "name": "图表编辑器", "desc": "在编辑器中渲染图表", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/editor-chart" + "link": "https://github.com/apache/answer-plugins/tree/main/editor-chart" }, { "name": "公式编辑器", "desc": "在编辑器中渲染公式", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/editor-formula" + "link": "https://github.com/apache/answer-plugins/tree/main/editor-formula" }, { "name": "内容嵌入", "desc": "在内容中嵌入其他网站", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/embed-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/embed-basic" }, { "name": "钉钉通知", "desc": "发送通知到钉钉", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/notification-dingtalk" + "link": "https://github.com/apache/answer-plugins/tree/main/notification-dingtalk" }, { "name": "Slack 通知", "desc": "发送通知到 Slack", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/notification-slack" + "link": "https://github.com/apache/answer-plugins/tree/main/notification-slack" }, { "name": "代码高亮", "desc": "高亮显示 Markdown 内容中的代码块", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/render-markdown-codehighlight" + "link": "https://github.com/apache/answer-plugins/tree/main/render-markdown-codehighlight" }, { "name": "Akismet Anti-Spam", "desc": "Akismet Anti-Spam is used to check the content of posts and comments against the Akismet web service to see if they look like spam.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-akismet" + "link": "https://github.com/apache/answer-plugins/tree/main/reviewer-akismet" }, { "name": "百度反垃圾", "desc": "百度反垃圾用于检查帖子和评论内容,通过百度内容审核平台查看它们是否像垃圾内容。", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-baidu" + "link": "https://github.com/apache/answer-plugins/tree/main/reviewer-baidu" }, { "name": "基础审核插件", "desc": "基础的通用审核插件", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-basic" + "link": "https://github.com/apache/answer-plugins/tree/main/reviewer-basic" }, { "name": "Algolia 搜索", "desc": "使用 Algolia 作为搜索引擎.", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/search-algolia" + "link": "https://github.com/apache/answer-plugins/tree/main/search-algolia" }, { "name": "Elasticsearch 引擎", "desc": "使用 Elasticsearch 作为搜索引擎", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/search-elasticsearch" + "link": "https://github.com/apache/answer-plugins/tree/main/search-elasticsearch" }, { "name": "MeiliSearch", "desc": "MeiliSearch 是一个强大、快速、开源、易于使用和部署的搜索引擎。", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/search-meilisearch" + "link": "https://github.com/apache/answer-plugins/tree/main/search-meilisearch" }, { "name": "阿里云OSS存储", "desc": "上传文件到阿里云OSS存储", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/storage-aliyunoss" + "link": "https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss" }, { "name": "S3 存储", "desc": "上传文件到S3存储", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3" + "link": "https://github.com/apache/answer-plugins/tree/main/storage-s3" }, { "name": "腾讯云COS对象存储", "desc": "上传文件到腾讯云COS对象存储", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/storage-tencentyuncos" + "link": "https://github.com/apache/answer-plugins/tree/main/storage-tencentyuncos" }, { "name": "Slack", "desc": "通过Slack进行登录", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/user-center-slack" + "link": "https://github.com/apache/answer-plugins/tree/main/user-center-slack" }, { "name": "企业微信", "desc": "从企业微信获取用户信息并同步到用户中心", - "link": "https://github.com/apache/incubator-answer-plugins/tree/main/user-center-wecom" + "link": "https://github.com/apache/answer-plugins/tree/main/user-center-wecom" } ] } diff --git a/render-markdown-codehighlight/go.mod b/render-markdown-codehighlight/go.mod index c8776b068..edaf6c5a5 100644 --- a/render-markdown-codehighlight/go.mod +++ b/render-markdown-codehighlight/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/render-markdown-codehighlight +module github.com/apache/answer-plugins/render-markdown-codehighlight go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/gin-gonic/gin v1.10.0 ) diff --git a/render-markdown-codehighlight/go.sum b/render-markdown-codehighlight/go.sum index b08ce5b97..144856eb0 100644 --- a/render-markdown-codehighlight/go.sum +++ b/render-markdown-codehighlight/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/render-markdown-codehighlight/info.yaml b/render-markdown-codehighlight/info.yaml index be82141ac..f518138ac 100644 --- a/render-markdown-codehighlight/info.yaml +++ b/render-markdown-codehighlight/info.yaml @@ -19,4 +19,4 @@ slug_name: render_markdown_codehighlight type: render version: 0.2.2 author: Chen Jiaji, Zhu Xuanlyu -link: https://github.com/apache/incubator-answer-plugins/tree/main/render-markdown-codehighlight +link: https://github.com/apache/answer-plugins/tree/main/render-markdown-codehighlight diff --git a/render-markdown-codehighlight/renderMarkdownCodehighlight.go b/render-markdown-codehighlight/renderMarkdownCodehighlight.go index c1ca809a3..3f8fb8bf3 100644 --- a/render-markdown-codehighlight/renderMarkdownCodehighlight.go +++ b/render-markdown-codehighlight/renderMarkdownCodehighlight.go @@ -22,9 +22,9 @@ package render_markdown_codehighlight import ( "embed" "encoding/json" - "github.com/apache/incubator-answer-plugins/render-markdown-codehighlight/i18n" - "github.com/apache/incubator-answer-plugins/util" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/render-markdown-codehighlight/i18n" + "github.com/apache/answer-plugins/util" + "github.com/apache/answer/plugin" "github.com/gin-gonic/gin" "strings" ) diff --git a/reviewer-akismet/akismet.go b/reviewer-akismet/akismet.go index 3df6f768b..10a3b7e3a 100644 --- a/reviewer-akismet/akismet.go +++ b/reviewer-akismet/akismet.go @@ -20,8 +20,7 @@ package basic import ( - "github.com/apache/incubator-answer/plugin" - "github.com/go-resty/resty/v2" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/reviewer-akismet/basic.go b/reviewer-akismet/basic.go index 6de7b4234..f6d15fd5e 100644 --- a/reviewer-akismet/basic.go +++ b/reviewer-akismet/basic.go @@ -22,10 +22,10 @@ package basic import ( "embed" "encoding/json" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" - "github.com/apache/incubator-answer-plugins/reviewer-akismet/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/reviewer-akismet/i18n" + "github.com/apache/answer/plugin" myI18n "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" ) diff --git a/reviewer-akismet/go.mod b/reviewer-akismet/go.mod index ae56af50b..dc9e27eec 100644 --- a/reviewer-akismet/go.mod +++ b/reviewer-akismet/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/reviewer-akismet +module github.com/apache/answer-plugins/reviewer-akismet go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/go-resty/resty/v2 v2.12.0 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/reviewer-akismet/go.sum b/reviewer-akismet/go.sum index e7f1caee9..042580ca4 100644 --- a/reviewer-akismet/go.sum +++ b/reviewer-akismet/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/reviewer-akismet/info.yaml b/reviewer-akismet/info.yaml index 75b311245..3d0094d52 100644 --- a/reviewer-akismet/info.yaml +++ b/reviewer-akismet/info.yaml @@ -19,4 +19,4 @@ slug_name: akismet_reviewer type: reviewer version: 1.0.3 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-akismet +link: https://github.com/apache/answer-plugins/tree/main/reviewer-akismet diff --git a/reviewer-baidu/basic.go b/reviewer-baidu/basic.go index 1baf3935b..7e92d1786 100644 --- a/reviewer-baidu/basic.go +++ b/reviewer-baidu/basic.go @@ -22,10 +22,10 @@ package basic import ( "embed" "encoding/json" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" - "github.com/apache/incubator-answer-plugins/reviewer-baidu/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/reviewer-baidu/i18n" + "github.com/apache/answer/plugin" "github.com/lufei/baidu-golang-sdk/aip/censor" myI18n "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" diff --git a/reviewer-baidu/go.mod b/reviewer-baidu/go.mod index 521fd2bd1..b1a37a62b 100644 --- a/reviewer-baidu/go.mod +++ b/reviewer-baidu/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/reviewer-baidu +module github.com/apache/answer-plugins/reviewer-baidu go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/lufei/baidu-golang-sdk v0.0.0-20241007032158-d85deddc0d61 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/reviewer-baidu/go.sum b/reviewer-baidu/go.sum index 31947edc1..40e9fd761 100644 --- a/reviewer-baidu/go.sum +++ b/reviewer-baidu/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/reviewer-baidu/info.yaml b/reviewer-baidu/info.yaml index 7f00dc932..3e2181280 100644 --- a/reviewer-baidu/info.yaml +++ b/reviewer-baidu/info.yaml @@ -19,4 +19,4 @@ slug_name: baidu_reviewer type: reviewer version: 1.0.1 author: Luffy -link: https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-baidu +link: https://github.com/apache/answer-plugins/tree/main/reviewer-baidu diff --git a/reviewer-basic/basic.go b/reviewer-basic/basic.go index b0a87c0e9..d12d63380 100644 --- a/reviewer-basic/basic.go +++ b/reviewer-basic/basic.go @@ -23,11 +23,11 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "strings" - "github.com/apache/incubator-answer-plugins/reviewer-basic/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/reviewer-basic/i18n" + "github.com/apache/answer/plugin" myI18n "github.com/segmentfault/pacman/i18n" ) diff --git a/reviewer-basic/go.mod b/reviewer-basic/go.mod index 844ae6051..983a0d472 100644 --- a/reviewer-basic/go.mod +++ b/reviewer-basic/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/reviewer-basic +module github.com/apache/answer-plugins/reviewer-basic go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/reviewer-basic/go.sum b/reviewer-basic/go.sum index 142206c82..64aa05d79 100644 --- a/reviewer-basic/go.sum +++ b/reviewer-basic/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/reviewer-basic/info.yaml b/reviewer-basic/info.yaml index 9cfcc0d4c..9dc75f8a3 100644 --- a/reviewer-basic/info.yaml +++ b/reviewer-basic/info.yaml @@ -19,4 +19,4 @@ slug_name: basic_reviewer type: reviewer version: 1.0.5 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-basic +link: https://github.com/apache/answer-plugins/tree/main/reviewer-basic diff --git a/search-algolia/README.md b/search-algolia/README.md index 6f4c29984..2f500df9d 100644 --- a/search-algolia/README.md +++ b/search-algolia/README.md @@ -11,7 +11,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/search-algolia +./answer build --with github.com/apache/answer-plugins/search-algolia ``` ### Configuration diff --git a/search-algolia/algolia.go b/search-algolia/algolia.go index 9d18b64bf..d30694924 100644 --- a/search-algolia/algolia.go +++ b/search-algolia/algolia.go @@ -22,14 +22,14 @@ package algolia import ( "context" "embed" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "strconv" "strings" "github.com/algolia/algoliasearch-client-go/v3/algolia/opt" "github.com/algolia/algoliasearch-client-go/v3/algolia/search" - "github.com/apache/incubator-answer-plugins/search-algolia/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/search-algolia/i18n" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/search-algolia/config.go b/search-algolia/config.go index 0b9f2fb70..626066558 100644 --- a/search-algolia/config.go +++ b/search-algolia/config.go @@ -22,9 +22,9 @@ package algolia import ( _ "embed" "encoding/json" - "github.com/apache/incubator-answer-plugins/search-algolia/i18n" + "github.com/apache/answer-plugins/search-algolia/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" ) var ( diff --git a/search-algolia/go.mod b/search-algolia/go.mod index 6b1487cba..31f406d3b 100644 --- a/search-algolia/go.mod +++ b/search-algolia/go.mod @@ -1,11 +1,11 @@ -module github.com/apache/incubator-answer-plugins/search-algolia +module github.com/apache/answer-plugins/search-algolia go 1.22.0 require ( github.com/algolia/algoliasearch-client-go/v3 v3.29.2 - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/search-algolia/go.sum b/search-algolia/go.sum index b3f764dc6..e6bb06e79 100644 --- a/search-algolia/go.sum +++ b/search-algolia/go.sum @@ -4,10 +4,10 @@ github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2Q github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= github.com/algolia/algoliasearch-client-go/v3 v3.29.2 h1:lmAD/gNui2TLoT8az22ECr056EjoBR0RJQssNezyniQ= github.com/algolia/algoliasearch-client-go/v3 v3.29.2/go.mod h1:i7tLoP7TYDmHX3Q7vkIOL4syVse/k5VJ+k0i8WqFiJk= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/search-algolia/info.yaml b/search-algolia/info.yaml index 05d05f60b..2ba4ae5d2 100644 --- a/search-algolia/info.yaml +++ b/search-algolia/info.yaml @@ -19,4 +19,4 @@ slug_name: algolia-search type: search version: 1.2.10 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/search-algolia +link: https://github.com/apache/answer-plugins/tree/main/search-algolia diff --git a/search-algolia/sync.go b/search-algolia/sync.go index 60ce4fd03..04b4202a1 100644 --- a/search-algolia/sync.go +++ b/search-algolia/sync.go @@ -21,7 +21,7 @@ package algolia import ( "context" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/search-elasticsearch/README.md b/search-elasticsearch/README.md index 0a63068dc..59a729ee0 100644 --- a/search-elasticsearch/README.md +++ b/search-elasticsearch/README.md @@ -7,7 +7,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/search-elasticsearch +./answer build --with github.com/apache/answer-plugins/search-elasticsearch ``` ### Configuration diff --git a/search-elasticsearch/es.go b/search-elasticsearch/es.go index ea2d0b3a1..64393a196 100644 --- a/search-elasticsearch/es.go +++ b/search-elasticsearch/es.go @@ -24,13 +24,12 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "strings" "sync" - "github.com/apache/incubator-answer-plugins/search-elasticsearch/i18n" - "github.com/apache/incubator-answer/plugin" - "github.com/olivere/elastic/v7" + "github.com/apache/answer-plugins/search-elasticsearch/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/search-elasticsearch/es_index.go b/search-elasticsearch/es_index.go index e159204ef..7234c8eba 100644 --- a/search-elasticsearch/es_index.go +++ b/search-elasticsearch/es_index.go @@ -19,7 +19,7 @@ package es -import "github.com/apache/incubator-answer/plugin" +import "github.com/apache/answer/plugin" var indexJson = ` { diff --git a/search-elasticsearch/go.mod b/search-elasticsearch/go.mod index 448268591..c56a2c0f1 100644 --- a/search-elasticsearch/go.mod +++ b/search-elasticsearch/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/search-elasticsearch +module github.com/apache/answer-plugins/search-elasticsearch go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/olivere/elastic/v7 v7.0.32 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/search-elasticsearch/go.sum b/search-elasticsearch/go.sum index b6d5aa1b3..de3dfda0d 100644 --- a/search-elasticsearch/go.sum +++ b/search-elasticsearch/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/search-elasticsearch/info.yaml b/search-elasticsearch/info.yaml index 49642b07b..21109ada5 100644 --- a/search-elasticsearch/info.yaml +++ b/search-elasticsearch/info.yaml @@ -19,4 +19,4 @@ slug_name: es_search type: search version: 1.2.9 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/search-elasticsearch +link: https://github.com/apache/answer-plugins/tree/main/search-elasticsearch diff --git a/search-elasticsearch/sync.go b/search-elasticsearch/sync.go index 13b6e3351..00e6fa081 100644 --- a/search-elasticsearch/sync.go +++ b/search-elasticsearch/sync.go @@ -21,7 +21,7 @@ package es import ( "context" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/search-meilisearch/README.md b/search-meilisearch/README.md index 326e3cb58..fc9953f35 100644 --- a/search-meilisearch/README.md +++ b/search-meilisearch/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/search-meilisearch +./answer build --with github.com/apache/answer-plugins/search-meilisearch ``` ### Configuration diff --git a/search-meilisearch/go.mod b/search-meilisearch/go.mod index b98009706..66e6b0d0b 100644 --- a/search-meilisearch/go.mod +++ b/search-meilisearch/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/search-meilisearch +module github.com/apache/answer-plugins/search-meilisearch go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/meilisearch/meilisearch-go v0.25.0 github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f ) diff --git a/search-meilisearch/go.sum b/search-meilisearch/go.sum index 0154a8a7c..7c246a6a8 100644 --- a/search-meilisearch/go.sum +++ b/search-meilisearch/go.sum @@ -5,10 +5,10 @@ github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHC github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/search-meilisearch/info.yaml b/search-meilisearch/info.yaml index b3800864d..3d5e50a75 100644 --- a/search-meilisearch/info.yaml +++ b/search-meilisearch/info.yaml @@ -19,4 +19,4 @@ slug_name: meilisearch_search type: search version: 1.2.8 author: sivdead -link: https://github.com/apache/incubator-answer-plugins/tree/main/search-meilisearch +link: https://github.com/apache/answer-plugins/tree/main/search-meilisearch diff --git a/search-meilisearch/meilisearch.go b/search-meilisearch/meilisearch.go index 57b7e1760..ce7c14f4f 100644 --- a/search-meilisearch/meilisearch.go +++ b/search-meilisearch/meilisearch.go @@ -24,13 +24,12 @@ import ( "embed" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "strings" "sync" - "github.com/apache/incubator-answer-plugins/search-meilisearch/i18n" - "github.com/apache/incubator-answer/plugin" - "github.com/meilisearch/meilisearch-go" + "github.com/apache/answer-plugins/search-meilisearch/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/errors" "github.com/segmentfault/pacman/log" ) diff --git a/search-meilisearch/sync.go b/search-meilisearch/sync.go index 3254ed5e0..f289dce91 100644 --- a/search-meilisearch/sync.go +++ b/search-meilisearch/sync.go @@ -21,7 +21,7 @@ package meilisearch import ( "context" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/storage-aliyunoss/README.md b/storage-aliyunoss/README.md index e98a7d59f..7516190ee 100644 --- a/storage-aliyunoss/README.md +++ b/storage-aliyunoss/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/storage-aliyunoss +./answer build --with github.com/apache/answer-plugins/storage-aliyunoss ``` ### Configuration diff --git a/storage-aliyunoss/aliyunoss.go b/storage-aliyunoss/aliyunoss.go index af132ca39..4fc41e568 100644 --- a/storage-aliyunoss/aliyunoss.go +++ b/storage-aliyunoss/aliyunoss.go @@ -25,15 +25,15 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "path/filepath" "strconv" "strings" "time" "github.com/aliyun/aliyun-oss-go-sdk/oss" - "github.com/apache/incubator-answer-plugins/storage-aliyunoss/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/storage-aliyunoss/i18n" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/storage-aliyunoss/go.mod b/storage-aliyunoss/go.mod index e58b421bc..d84224d3f 100644 --- a/storage-aliyunoss/go.mod +++ b/storage-aliyunoss/go.mod @@ -1,11 +1,11 @@ -module github.com/apache/incubator-answer-plugins/storage-aliyunoss +module github.com/apache/answer-plugins/storage-aliyunoss go 1.22.0 require ( github.com/aliyun/aliyun-oss-go-sdk v2.2.6+incompatible - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 ) require ( diff --git a/storage-aliyunoss/go.sum b/storage-aliyunoss/go.sum index a5ac701aa..fd0b2c84e 100644 --- a/storage-aliyunoss/go.sum +++ b/storage-aliyunoss/go.sum @@ -4,10 +4,10 @@ github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2Q github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= github.com/aliyun/aliyun-oss-go-sdk v2.2.6+incompatible h1:KXeJoM1wo9I/6xPTyt6qCxoSZnmASiAjlrr0dyTUKt8= github.com/aliyun/aliyun-oss-go-sdk v2.2.6+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/storage-aliyunoss/info.yaml b/storage-aliyunoss/info.yaml index f7567f32c..3ea1cdf43 100644 --- a/storage-aliyunoss/info.yaml +++ b/storage-aliyunoss/info.yaml @@ -19,4 +19,4 @@ slug_name: aliyunoss_storage type: storage version: 1.2.9 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/storage-aliyunoss +link: https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss diff --git a/storage-s3/README.md b/storage-s3/README.md index a55d38631..0fb39b28f 100644 --- a/storage-s3/README.md +++ b/storage-s3/README.md @@ -5,7 +5,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/storage-s3 +./answer build --with github.com/apache/answer-plugins/storage-s3 ``` ### Configuration diff --git a/storage-s3/go.mod b/storage-s3/go.mod index 897aae45f..6f952cf5e 100644 --- a/storage-s3/go.mod +++ b/storage-s3/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/storage-s3 +module github.com/apache/answer-plugins/storage-s3 go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/aws/aws-sdk-go v1.44.314 ) diff --git a/storage-s3/go.sum b/storage-s3/go.sum index 6a910aaed..cdc538b8b 100644 --- a/storage-s3/go.sum +++ b/storage-s3/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aws/aws-sdk-go v1.44.314 h1:d/5Jyk/Fb+PBd/4nzQg0JuC2W4A0knrDIzBgK/ggAow= github.com/aws/aws-sdk-go v1.44.314/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= diff --git a/storage-s3/info.yaml b/storage-s3/info.yaml index b3e91e8b2..9ccae7fb6 100644 --- a/storage-s3/info.yaml +++ b/storage-s3/info.yaml @@ -19,4 +19,4 @@ slug_name: s3_storage type: storage version: 1.2.9 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3 +link: https://github.com/apache/answer-plugins/tree/main/storage-s3 diff --git a/storage-s3/s3.go b/storage-s3/s3.go index 93b0e428b..f47b1177b 100644 --- a/storage-s3/s3.go +++ b/storage-s3/s3.go @@ -25,14 +25,14 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "path/filepath" "strconv" "strings" "time" - "github.com/apache/incubator-answer-plugins/storage-s3/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/storage-s3/i18n" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/storage-s3/s3_client.go b/storage-s3/s3_client.go index 6931bfc3f..07a372f2b 100644 --- a/storage-s3/s3_client.go +++ b/storage-s3/s3_client.go @@ -71,7 +71,7 @@ func (s *Client) PutObject(key, ext string, file io.ReadSeeker) (err error) { var ( // aclPublicRead is the environment variable for some special platforms such as digital ocean - // https://github.com/apache/incubator-answer-plugins/issues/97 + // https://github.com/apache/answer-plugins/issues/97 aclPublicRead = os.Getenv("ACL_PUBLIC_READ") ) diff --git a/storage-tencentyuncos/README.md b/storage-tencentyuncos/README.md index 013fc10ea..f56e2f98d 100644 --- a/storage-tencentyuncos/README.md +++ b/storage-tencentyuncos/README.md @@ -7,7 +7,7 @@ ### Build ```bash -./answer build --with github.com/apache/incubator-answer-plugins/storage-tencentyuncos +./answer build --with github.com/apache/answer-plugins/storage-tencentyuncos ``` ### Configuration diff --git a/storage-tencentyuncos/go.mod b/storage-tencentyuncos/go.mod index 98b93d7c3..1006cbab0 100644 --- a/storage-tencentyuncos/go.mod +++ b/storage-tencentyuncos/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/storage-tencentyuncos +module github.com/apache/answer-plugins/storage-tencentyuncos go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/tencentyun/cos-go-sdk-v5 v0.7.55 ) diff --git a/storage-tencentyuncos/go.sum b/storage-tencentyuncos/go.sum index 40b49732f..282bc3564 100644 --- a/storage-tencentyuncos/go.sum +++ b/storage-tencentyuncos/go.sum @@ -3,10 +3,10 @@ github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod h1:1pk82RBxDY/JZnPQrtqHlUFfCctgdorsd9M06fMynOM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/storage-tencentyuncos/info.yaml b/storage-tencentyuncos/info.yaml index 0bd0e1657..d662e0f0f 100644 --- a/storage-tencentyuncos/info.yaml +++ b/storage-tencentyuncos/info.yaml @@ -19,4 +19,4 @@ slug_name: tencentyuncos_storage type: storage version: 1.0.1 author: Luffy -link: https://github.com/apache/incubator-answer-plugins/tree/main/storage-tencentyuncos +link: https://github.com/apache/answer-plugins/tree/main/storage-tencentyuncos diff --git a/storage-tencentyuncos/tencentyuncos.go b/storage-tencentyuncos/tencentyuncos.go index f2273eef9..353da8381 100644 --- a/storage-tencentyuncos/tencentyuncos.go +++ b/storage-tencentyuncos/tencentyuncos.go @@ -25,7 +25,7 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "net/http" "net/url" "path/filepath" @@ -33,9 +33,8 @@ import ( "strings" "time" - "github.com/apache/incubator-answer-plugins/storage-tencentyuncos/i18n" - "github.com/apache/incubator-answer/plugin" - "github.com/tencentyun/cos-go-sdk-v5" + "github.com/apache/answer-plugins/storage-tencentyuncos/i18n" + "github.com/apache/answer/plugin" ) //go:embed info.yaml diff --git a/user-center-slack/client.go b/user-center-slack/client.go index 4ff54c3d5..32adb8a1a 100644 --- a/user-center-slack/client.go +++ b/user-center-slack/client.go @@ -26,8 +26,7 @@ import ( "net/http" "net/url" - "github.com/apache/incubator-answer/plugin" - "github.com/go-resty/resty/v2" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-slack/config.go b/user-center-slack/config.go index f1be5e679..2caa40f82 100644 --- a/user-center-slack/config.go +++ b/user-center-slack/config.go @@ -23,8 +23,8 @@ import ( "encoding/json" "time" - "github.com/apache/incubator-answer-plugins/user-center-slack/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-slack/i18n" + "github.com/apache/answer/plugin" ) type UserCenterConfig struct { diff --git a/user-center-slack/go.mod b/user-center-slack/go.mod index 761e31560..2199e668d 100644 --- a/user-center-slack/go.mod +++ b/user-center-slack/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/user-center-slack +module github.com/apache/answer-plugins/user-center-slack go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/gin-gonic/gin v1.10.0 github.com/go-resty/resty/v2 v2.15.1 github.com/patrickmn/go-cache v2.1.0+incompatible diff --git a/user-center-slack/go.sum b/user-center-slack/go.sum index 1a0e7c10f..5f92ec430 100644 --- a/user-center-slack/go.sum +++ b/user-center-slack/go.sum @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU= github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg= diff --git a/user-center-slack/handler.go b/user-center-slack/handler.go index e42684717..6ced931f2 100644 --- a/user-center-slack/handler.go +++ b/user-center-slack/handler.go @@ -28,7 +28,7 @@ import ( "net/http" "time" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" "github.com/gin-gonic/gin" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-slack/importer.go b/user-center-slack/importer.go index 8f2d19ca2..de703e8ba 100644 --- a/user-center-slack/importer.go +++ b/user-center-slack/importer.go @@ -35,7 +35,7 @@ import ( "strings" "time" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer/plugin" "github.com/gin-gonic/gin" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-slack/info.yaml b/user-center-slack/info.yaml index cd716d9b8..9a948c49f 100644 --- a/user-center-slack/info.yaml +++ b/user-center-slack/info.yaml @@ -19,4 +19,4 @@ slug_name: slack_user_center type: user_center version: 1.0.3 author: AnanChen -link: https://github.com/apache/incubator-answer-plugins/tree/main/user-center-slack +link: https://github.com/apache/answer-plugins/tree/main/user-center-slack diff --git a/user-center-slack/notification.go b/user-center-slack/notification.go index 94fa8ac20..6c58d32d0 100644 --- a/user-center-slack/notification.go +++ b/user-center-slack/notification.go @@ -22,9 +22,8 @@ package slack_user_center import ( "strings" - slackI18n "github.com/apache/incubator-answer-plugins/user-center-slack/i18n" - "github.com/apache/incubator-answer/plugin" - "github.com/go-resty/resty/v2" + slackI18n "github.com/apache/answer-plugins/user-center-slack/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-slack/slack_user_center.go b/user-center-slack/slack_user_center.go index 63da5c447..b7db71e5d 100644 --- a/user-center-slack/slack_user_center.go +++ b/user-center-slack/slack_user_center.go @@ -26,12 +26,11 @@ import ( "sync" "time" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" - "github.com/apache/incubator-answer-plugins/user-center-slack/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-slack/i18n" + "github.com/apache/answer/plugin" "github.com/gin-gonic/gin" - "github.com/patrickmn/go-cache" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-slack/user_config.go b/user-center-slack/user_config.go index b39eebc4d..5f2543430 100644 --- a/user-center-slack/user_config.go +++ b/user-center-slack/user_config.go @@ -24,8 +24,8 @@ import ( "fmt" "sync" - "github.com/apache/incubator-answer-plugins/user-center-slack/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-slack/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-wecom/config.go b/user-center-wecom/config.go index 5126808a2..6ea8401a2 100644 --- a/user-center-wecom/config.go +++ b/user-center-wecom/config.go @@ -23,8 +23,8 @@ import ( "encoding/json" "time" - "github.com/apache/incubator-answer-plugins/user-center-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-wecom/i18n" + "github.com/apache/answer/plugin" ) type UserCenterConfig struct { diff --git a/user-center-wecom/go.mod b/user-center-wecom/go.mod index cc3683726..7036fbb03 100644 --- a/user-center-wecom/go.mod +++ b/user-center-wecom/go.mod @@ -1,10 +1,10 @@ -module github.com/apache/incubator-answer-plugins/user-center-wecom +module github.com/apache/answer-plugins/user-center-wecom go 1.22.0 require ( - github.com/apache/incubator-answer v1.4.1 - github.com/apache/incubator-answer-plugins/util v1.0.2 + github.com/apache/answer v1.4.1 + github.com/apache/answer-plugins/util v1.0.2 github.com/gin-gonic/gin v1.10.0 github.com/go-resty/resty/v2 v2.12.0 github.com/patrickmn/go-cache v2.1.0+incompatible diff --git a/user-center-wecom/go.sum b/user-center-wecom/go.sum index 7221a91ca..cd4bb044c 100644 --- a/user-center-wecom/go.sum +++ b/user-center-wecom/go.sum @@ -6,10 +6,10 @@ github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a h1:HbKu58rmZp github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a/go.mod h1:SGnFV6hVsYE877CKEZ6tDNTjaSXYUk6QqoIK6PrAtcc= github.com/alicebob/miniredis/v2 v2.30.0 h1:uA3uhDbCxfO9+DI/DuGeAMr9qI+noVWwGPNTFuKID5M= github.com/alicebob/miniredis/v2 v2.30.0/go.mod h1:84TWKZlxYkfgMucPBf5SOQBYJceZeQRFIaQgNMiCX6Q= -github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= -github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= -github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= -github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= +github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c= +github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8= +github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA= +github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/bradfitz/gomemcache v0.0.0-20220106215444-fb4bf637b56d h1:pVrfxiGfwelyab6n21ZBkbkmbevaf+WvMIiR7sr97hw= diff --git a/user-center-wecom/handler.go b/user-center-wecom/handler.go index 8d5ed17b5..109df46e9 100644 --- a/user-center-wecom/handler.go +++ b/user-center-wecom/handler.go @@ -26,8 +26,8 @@ import ( "net/http" "strings" - "github.com/apache/incubator-answer-plugins/user-center-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-wecom/i18n" + "github.com/apache/answer/plugin" "github.com/gin-gonic/gin" ) diff --git a/user-center-wecom/info.yaml b/user-center-wecom/info.yaml index 2207c76ab..104a142ad 100644 --- a/user-center-wecom/info.yaml +++ b/user-center-wecom/info.yaml @@ -19,4 +19,4 @@ slug_name: wecom_user_center type: user_center version: 1.2.8 author: answerdev -link: https://github.com/apache/incubator-answer-plugins/tree/main/user-center-wecom +link: https://github.com/apache/answer-plugins/tree/main/user-center-wecom diff --git a/user-center-wecom/notification.go b/user-center-wecom/notification.go index b4fb0fdf5..d22f0421a 100644 --- a/user-center-wecom/notification.go +++ b/user-center-wecom/notification.go @@ -22,8 +22,8 @@ package wecom import ( "strings" - wecomI18n "github.com/apache/incubator-answer-plugins/user-center-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + wecomI18n "github.com/apache/answer-plugins/user-center-wecom/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/i18n" "github.com/segmentfault/pacman/log" "github.com/silenceper/wechat/v2/work/message" diff --git a/user-center-wecom/user_config.go b/user-center-wecom/user_config.go index 06497c6a6..2a7cabec2 100644 --- a/user-center-wecom/user_config.go +++ b/user-center-wecom/user_config.go @@ -24,8 +24,8 @@ import ( "fmt" "sync" - "github.com/apache/incubator-answer-plugins/user-center-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-wecom/i18n" + "github.com/apache/answer/plugin" "github.com/segmentfault/pacman/log" ) diff --git a/user-center-wecom/wecom_user_center.go b/user-center-wecom/wecom_user_center.go index 594d3bee7..899a7517f 100644 --- a/user-center-wecom/wecom_user_center.go +++ b/user-center-wecom/wecom_user_center.go @@ -22,15 +22,14 @@ package wecom import ( "embed" "fmt" - "github.com/apache/incubator-answer-plugins/util" + "github.com/apache/answer-plugins/util" "net/http" "sync" "time" - "github.com/apache/incubator-answer-plugins/user-center-wecom/i18n" - "github.com/apache/incubator-answer/plugin" + "github.com/apache/answer-plugins/user-center-wecom/i18n" + "github.com/apache/answer/plugin" "github.com/gin-gonic/gin" - "github.com/patrickmn/go-cache" "github.com/segmentfault/pacman/log" ) diff --git a/util/go.mod b/util/go.mod index f7cc0a37c..b236b63bd 100644 --- a/util/go.mod +++ b/util/go.mod @@ -1,4 +1,4 @@ -module github.com/apache/incubator-answer-plugins/util +module github.com/apache/answer-plugins/util go 1.22.0