From 41a4d50ebfd011c595b1e44320d60df73e3320d6 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Sat, 30 Mar 2024 01:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitee/ISSUE_TEMPLATE/build.yml | 22 ------ .gitee/ISSUE_TEMPLATE/config.yml | 11 --- .gitee/ISSUE_TEMPLATE/docs.yml | 22 ------ .gitee/ISSUE_TEMPLATE/feat.yml | 43 ------------ .gitee/ISSUE_TEMPLATE/fix.yml | 56 --------------- .gitee/ISSUE_TEMPLATE/question.yml | 29 -------- .gitee/ISSUE_TEMPLATE/refactor.yml | 36 ---------- .gitee/ISSUE_TEMPLATE/style.yml | 22 ------ .gitee/ISSUE_TEMPLATE/test.yml | 22 ------ .gitee/PULL_REQUEST_TEMPLATE.zh-CN.md | 55 --------------- .gitee/issue_template.md | 0 .github/ISSUE_TEMPLATE/build.yml | 22 ------ .github/ISSUE_TEMPLATE/config.yml | 11 --- .github/ISSUE_TEMPLATE/docs.yml | 22 ------ .github/ISSUE_TEMPLATE/feat.yml | 43 ------------ .github/ISSUE_TEMPLATE/fix.yml | 56 --------------- .github/ISSUE_TEMPLATE/question.yml | 29 -------- .github/ISSUE_TEMPLATE/refactor.yml | 36 ---------- .github/ISSUE_TEMPLATE/style.yml | 22 ------ .github/ISSUE_TEMPLATE/test.yml | 22 ------ .github/PULL_REQUEST_TEMPLATE.zh-CN.md | 56 --------------- .github/issue_template.md | 0 .github/workflows/publish-docker.yml | 0 .workflow/branch-pipeline.yml | 53 -------------- .workflow/master-pipeline.yml | 51 -------------- .workflow/pipeline-docker.yml | 95 -------------------------- .workflow/pr-pipeline.yml | 40 ----------- doc/CHANGELOG.md | 22 ------ doc/Git提交规范.md | 63 ----------------- doc/贡献者指南.md | 69 ------------------- 30 files changed, 1030 deletions(-) delete mode 100644 .gitee/ISSUE_TEMPLATE/build.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/config.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/docs.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/feat.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/fix.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/question.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/refactor.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/style.yml delete mode 100644 .gitee/ISSUE_TEMPLATE/test.yml delete mode 100644 .gitee/PULL_REQUEST_TEMPLATE.zh-CN.md delete mode 100644 .gitee/issue_template.md delete mode 100644 .github/ISSUE_TEMPLATE/build.yml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/docs.yml delete mode 100644 .github/ISSUE_TEMPLATE/feat.yml delete mode 100644 .github/ISSUE_TEMPLATE/fix.yml delete mode 100644 .github/ISSUE_TEMPLATE/question.yml delete mode 100644 .github/ISSUE_TEMPLATE/refactor.yml delete mode 100644 .github/ISSUE_TEMPLATE/style.yml delete mode 100644 .github/ISSUE_TEMPLATE/test.yml delete mode 100644 .github/PULL_REQUEST_TEMPLATE.zh-CN.md delete mode 100644 .github/issue_template.md delete mode 100644 .github/workflows/publish-docker.yml delete mode 100644 .workflow/branch-pipeline.yml delete mode 100644 .workflow/master-pipeline.yml delete mode 100644 .workflow/pipeline-docker.yml delete mode 100644 .workflow/pr-pipeline.yml delete mode 100644 doc/CHANGELOG.md delete mode 100644 doc/Git提交规范.md delete mode 100644 doc/贡献者指南.md diff --git a/.gitee/ISSUE_TEMPLATE/build.yml b/.gitee/ISSUE_TEMPLATE/build.yml deleted file mode 100644 index e8c06daa..00000000 --- a/.gitee/ISSUE_TEMPLATE/build.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 构建或者辅助工具建议 -description: 构建过程或辅助工具 -title: "[构建&辅助]: " -labels: ["build"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你的构建或者辅助工具建议? - description: 清晰并简洁地描述问题是什么? - validations: - required: true - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.gitee/ISSUE_TEMPLATE/config.yml b/.gitee/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index bc11e516..00000000 --- a/.gitee/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,11 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: issue创建要求 - url: https://fastbee.cn/doc/ - about: 不符合模板要求不便定位问题,可能会被管理员直接关闭 - - name: fastbee帮助文档 - url: https://fastbee.cn/doc/ - about: 提供fastbee平台基本功能使用、介绍和常见问题解答 - - name: Gitee 帮助中心 - url: https://help.gitee.com/ - about: 提供 Git 使用指南、教程、Gitee.com 平台基本功能使用、介绍和常见问题解答 diff --git a/.gitee/ISSUE_TEMPLATE/docs.yml b/.gitee/ISSUE_TEMPLATE/docs.yml deleted file mode 100644 index d0b5abce..00000000 --- a/.gitee/ISSUE_TEMPLATE/docs.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 文档完善 -description: 开发或者使用文档完善 -title: "[文档]: " -labels: ["docs"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你需要哪些开发或者使用文档? - description: 你需要哪些开发或者使用文档? - validations: - required: true - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.gitee/ISSUE_TEMPLATE/feat.yml b/.gitee/ISSUE_TEMPLATE/feat.yml deleted file mode 100644 index 504991c4..00000000 --- a/.gitee/ISSUE_TEMPLATE/feat.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: 功能建议 -description: 对本项目提出一个功能建议 -title: "[功能建议]: " -labels: ["feat"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你的功能建议是否和某个问题相关? - description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 - validations: - required: false - - type: textarea - id: desired-solution - attributes: - label: 你希望看到什么解决方案? - description: 清晰并简洁地描述你希望发生的事情。 - validations: - required: true - - type: textarea - id: alternatives - attributes: - label: 你考虑过哪些替代方案? - description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 - validations: - required: false - - type: textarea - id: additional-context - attributes: - label: 你有其他上下文或截图吗? - description: 在此处添加有关功能请求的任何其他上下文或截图。 - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.gitee/ISSUE_TEMPLATE/fix.yml b/.gitee/ISSUE_TEMPLATE/fix.yml deleted file mode 100644 index 2ae71a0d..00000000 --- a/.gitee/ISSUE_TEMPLATE/fix.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Bug 反馈 -description: 当你在代码中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 -title: "[Bug 反馈]: " -labels: ["fix"] -body: - - type: markdown - attributes: - value: | - 感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档: - - https://fastbee.cn/doc/ - - type: checkboxes - attributes: - label: 这个问题是否已经存在? - options: - - label: 我已经搜索过现有的问题 (https://gitee.com/kerwincui/wumei-smart/issues) - required: true - - type: textarea - attributes: - label: 如何复现 - description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 - placeholder: | - 1. ... - 2. ... - 3. ... - validations: - required: true - - type: textarea - attributes: - label: 预期结果 - description: 请告诉我们你预期会发生什么。 - validations: - required: true - - type: textarea - attributes: - label: 实际结果 - description: 请告诉我们实际发生了什么。 - validations: - required: true - - type: textarea - attributes: - label: 完整日志(报错时间点&日志行号),报错截图或抓包文件 - description: 如果可以的话,上传任何关于 bug 的资料。 - value: | - [在这里上传相关资料] - - type: dropdown - id: version - attributes: - label: 版本 - description: 你当前正在使用我们软件的哪个版本/分支? - options: - - master (默认) - - develop - - v2.0.0 (最新) - - v1.3.0 - validations: - required: true diff --git a/.gitee/ISSUE_TEMPLATE/question.yml b/.gitee/ISSUE_TEMPLATE/question.yml deleted file mode 100644 index 9110170f..00000000 --- a/.gitee/ISSUE_TEMPLATE/question.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 问题咨询 -description: 对本项目某个功能的问题咨询 -title: "[问题咨询]: " -labels: ["question"] -body: - - type: markdown - attributes: - value: | - 感谢你宝贵的建议,我们共同进步! - - type: textarea - id: related-problem - attributes: - label: 你对哪块的功能不了解,哪些流程不清楚,需要提供怎么样的帮助,需要提供哪块的技术文档? - description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 - validations: - required: false - - type: textarea - id: additional-context - attributes: - label: 你有其他上下文或截图吗? - description: 在此处添加有关功能请求的任何其他上下文或截图。 - validations: - required: false - - type: checkboxes - attributes: - label: 是否付费咨询 - options: - - label: 我有意向付费咨询,希望快速解决该问题。 - required: false diff --git a/.gitee/ISSUE_TEMPLATE/refactor.yml b/.gitee/ISSUE_TEMPLATE/refactor.yml deleted file mode 100644 index 18fde057..00000000 --- a/.gitee/ISSUE_TEMPLATE/refactor.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: 代码重构 -description: 代码重构(即不是新增功能,也不是修改bug的代码变动) -title: "[代码重构]: " -labels: ["refactor"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你觉得那个模块需要重新设代,哪块代码需要重新优化? - description: 你觉得那个模块需要重新设代,哪块代码需要重新优化? - validations: - required: false - - type: textarea - id: desired-solution - attributes: - label: 你希望看到什么解决方案? - description: 清晰并简洁地描述你希望发生的事情。 - validations: - required: true - - type: textarea - id: alternatives - attributes: - label: 你考虑过哪些替代方案? - description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.gitee/ISSUE_TEMPLATE/style.yml b/.gitee/ISSUE_TEMPLATE/style.yml deleted file mode 100644 index 583e4929..00000000 --- a/.gitee/ISSUE_TEMPLATE/style.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 格式优化 -description: 格式(不影响代码运行的变动) -title: "[格式优化]: " -labels: ["style"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你觉得那个的代码格式需要优化? - description: 你觉得那个的代码格式需要优化? - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.gitee/ISSUE_TEMPLATE/test.yml b/.gitee/ISSUE_TEMPLATE/test.yml deleted file mode 100644 index b4d212c9..00000000 --- a/.gitee/ISSUE_TEMPLATE/test.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 测试用例完善 -description: 测试用例完善,性能压测等 -title: "[测试&性能]: " -labels: ["test"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你需要哪些测试用例,性能压测数据? - description: 你需要哪些测试用例,性能压测数据? - validations: - required: true - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md b/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md deleted file mode 100644 index 6db54cd4..00000000 --- a/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md +++ /dev/null @@ -1,55 +0,0 @@ - - -**在提出此拉取请求时,我确认了以下几点(请复选框):** - -- [ ] 我已阅读并理解[贡献者指南](../doc/贡献者指南.md)。 -- [ ] 我已检查没有与此请求重复的拉取请求。 -- [ ] 我已经考虑过,并确认这份呈件对其他人很有价值。 -- [ ] 我接受此提交可能不会被使用,并根据维护人员的意愿关闭拉取请求。 - -### 一、内容说明(相关的Issue) - - -### 二、变更内容 - * 2.1 关联PR列表 - - * 2.2 数据库和部署说明 - 1. 常规更新 - 2. 重启unicorn - 3. 重启sidekiq - 4. 迁移任务:是否有迁移任务,没有写 "无" - 5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无" - - * 2.4 其他技术优化内容(做了什么,变更了什么) - - 重构了 xxxx 代码 - - xxxx 算法优化 - - - * 2.5 废弃通知(什么字段、方法弃用?) - - - - * 2.6 后向不兼容变更(是否有无法向后兼容的变更?) - - - -### 四、研发自测点(自测哪些?冒烟用例全部自测?) - 自测测试结论: - - -### 五、测试关注点(选填,有影响时填写,需要重点关注的、可能会忽略的地方) - 检查点: - -| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | -|------|------------|----------|---------------| -| xxx | 否 | 需要 | 不需要 | -| | | | | - - 接口测试: - - 性能测试: - - 并发测试: - - 其他: - diff --git a/.gitee/issue_template.md b/.gitee/issue_template.md deleted file mode 100644 index e69de29b..00000000 diff --git a/.github/ISSUE_TEMPLATE/build.yml b/.github/ISSUE_TEMPLATE/build.yml deleted file mode 100644 index e8c06daa..00000000 --- a/.github/ISSUE_TEMPLATE/build.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 构建或者辅助工具建议 -description: 构建过程或辅助工具 -title: "[构建&辅助]: " -labels: ["build"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你的构建或者辅助工具建议? - description: 清晰并简洁地描述问题是什么? - validations: - required: true - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index bc11e516..00000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,11 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: issue创建要求 - url: https://fastbee.cn/doc/ - about: 不符合模板要求不便定位问题,可能会被管理员直接关闭 - - name: fastbee帮助文档 - url: https://fastbee.cn/doc/ - about: 提供fastbee平台基本功能使用、介绍和常见问题解答 - - name: Gitee 帮助中心 - url: https://help.gitee.com/ - about: 提供 Git 使用指南、教程、Gitee.com 平台基本功能使用、介绍和常见问题解答 diff --git a/.github/ISSUE_TEMPLATE/docs.yml b/.github/ISSUE_TEMPLATE/docs.yml deleted file mode 100644 index d0b5abce..00000000 --- a/.github/ISSUE_TEMPLATE/docs.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 文档完善 -description: 开发或者使用文档完善 -title: "[文档]: " -labels: ["docs"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你需要哪些开发或者使用文档? - description: 你需要哪些开发或者使用文档? - validations: - required: true - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.github/ISSUE_TEMPLATE/feat.yml b/.github/ISSUE_TEMPLATE/feat.yml deleted file mode 100644 index 504991c4..00000000 --- a/.github/ISSUE_TEMPLATE/feat.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: 功能建议 -description: 对本项目提出一个功能建议 -title: "[功能建议]: " -labels: ["feat"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你的功能建议是否和某个问题相关? - description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 - validations: - required: false - - type: textarea - id: desired-solution - attributes: - label: 你希望看到什么解决方案? - description: 清晰并简洁地描述你希望发生的事情。 - validations: - required: true - - type: textarea - id: alternatives - attributes: - label: 你考虑过哪些替代方案? - description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 - validations: - required: false - - type: textarea - id: additional-context - attributes: - label: 你有其他上下文或截图吗? - description: 在此处添加有关功能请求的任何其他上下文或截图。 - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.github/ISSUE_TEMPLATE/fix.yml b/.github/ISSUE_TEMPLATE/fix.yml deleted file mode 100644 index 2ae71a0d..00000000 --- a/.github/ISSUE_TEMPLATE/fix.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Bug 反馈 -description: 当你在代码中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 -title: "[Bug 反馈]: " -labels: ["fix"] -body: - - type: markdown - attributes: - value: | - 感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档: - - https://fastbee.cn/doc/ - - type: checkboxes - attributes: - label: 这个问题是否已经存在? - options: - - label: 我已经搜索过现有的问题 (https://gitee.com/kerwincui/wumei-smart/issues) - required: true - - type: textarea - attributes: - label: 如何复现 - description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 - placeholder: | - 1. ... - 2. ... - 3. ... - validations: - required: true - - type: textarea - attributes: - label: 预期结果 - description: 请告诉我们你预期会发生什么。 - validations: - required: true - - type: textarea - attributes: - label: 实际结果 - description: 请告诉我们实际发生了什么。 - validations: - required: true - - type: textarea - attributes: - label: 完整日志(报错时间点&日志行号),报错截图或抓包文件 - description: 如果可以的话,上传任何关于 bug 的资料。 - value: | - [在这里上传相关资料] - - type: dropdown - id: version - attributes: - label: 版本 - description: 你当前正在使用我们软件的哪个版本/分支? - options: - - master (默认) - - develop - - v2.0.0 (最新) - - v1.3.0 - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml deleted file mode 100644 index 9110170f..00000000 --- a/.github/ISSUE_TEMPLATE/question.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 问题咨询 -description: 对本项目某个功能的问题咨询 -title: "[问题咨询]: " -labels: ["question"] -body: - - type: markdown - attributes: - value: | - 感谢你宝贵的建议,我们共同进步! - - type: textarea - id: related-problem - attributes: - label: 你对哪块的功能不了解,哪些流程不清楚,需要提供怎么样的帮助,需要提供哪块的技术文档? - description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 - validations: - required: false - - type: textarea - id: additional-context - attributes: - label: 你有其他上下文或截图吗? - description: 在此处添加有关功能请求的任何其他上下文或截图。 - validations: - required: false - - type: checkboxes - attributes: - label: 是否付费咨询 - options: - - label: 我有意向付费咨询,希望快速解决该问题。 - required: false diff --git a/.github/ISSUE_TEMPLATE/refactor.yml b/.github/ISSUE_TEMPLATE/refactor.yml deleted file mode 100644 index 18fde057..00000000 --- a/.github/ISSUE_TEMPLATE/refactor.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: 代码重构 -description: 代码重构(即不是新增功能,也不是修改bug的代码变动) -title: "[代码重构]: " -labels: ["refactor"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你觉得那个模块需要重新设代,哪块代码需要重新优化? - description: 你觉得那个模块需要重新设代,哪块代码需要重新优化? - validations: - required: false - - type: textarea - id: desired-solution - attributes: - label: 你希望看到什么解决方案? - description: 清晰并简洁地描述你希望发生的事情。 - validations: - required: true - - type: textarea - id: alternatives - attributes: - label: 你考虑过哪些替代方案? - description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.github/ISSUE_TEMPLATE/style.yml b/.github/ISSUE_TEMPLATE/style.yml deleted file mode 100644 index 583e4929..00000000 --- a/.github/ISSUE_TEMPLATE/style.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 格式优化 -description: 格式(不影响代码运行的变动) -title: "[格式优化]: " -labels: ["style"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你觉得那个的代码格式需要优化? - description: 你觉得那个的代码格式需要优化? - validations: - required: false - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.github/ISSUE_TEMPLATE/test.yml b/.github/ISSUE_TEMPLATE/test.yml deleted file mode 100644 index b4d212c9..00000000 --- a/.github/ISSUE_TEMPLATE/test.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 测试用例完善 -description: 测试用例完善,性能压测等 -title: "[测试&性能]: " -labels: ["test"] -body: - - type: markdown - attributes: - value: | - 感谢提出功能建议,我们将仔细考虑! - - type: textarea - id: related-problem - attributes: - label: 你需要哪些测试用例,性能压测数据? - description: 你需要哪些测试用例,性能压测数据? - validations: - required: true - - type: checkboxes - attributes: - label: 意向参与贡献 - options: - - label: 我有意向参与具体功能的开发实现并将代码贡献到社区 - required: false diff --git a/.github/PULL_REQUEST_TEMPLATE.zh-CN.md b/.github/PULL_REQUEST_TEMPLATE.zh-CN.md deleted file mode 100644 index d3cef9a2..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.zh-CN.md +++ /dev/null @@ -1,56 +0,0 @@ - - -**在提出此拉取请求时,我确认了以下几点(请复选框):** - -- [ ] 我已阅读并理解[贡献者指南](../doc/贡献者指南.md)。 -- [ ] 我已检查没有与此请求重复的拉取请求。 -- [ ] 我已经考虑过,并确认这份呈件对其他人很有价值。 -- [ ] 我接受此提交可能不会被使用,并根据维护人员的意愿关闭拉取请求。 - - -### 一、内容说明(相关的Issue) - - -### 二、变更内容 - * 2.1 关联PR列表 - - * 2.2 数据库和部署说明 - 1. 常规更新 - 2. 重启unicorn - 3. 重启sidekiq - 4. 迁移任务:是否有迁移任务,没有写 "无" - 5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无" - - * 2.4 其他技术优化内容(做了什么,变更了什么) - - 重构了 xxxx 代码 - - xxxx 算法优化 - - - * 2.5 废弃通知(什么字段、方法弃用?) - - - - * 2.6 后向不兼容变更(是否有无法向后兼容的变更?) - - - -### 四、研发自测点(自测哪些?冒烟用例全部自测?) - 自测测试结论: - - -### 五、测试关注点(选填,有影响时填写,需要重点关注的、可能会忽略的地方) - 检查点: - -| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | -|------|------------|----------|---------------| -| xxx | 否 | 需要 | 不需要 | -| | | | | - - 接口测试: - - 性能测试: - - 并发测试: - - 其他: - diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index e69de29b..00000000 diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml deleted file mode 100644 index e69de29b..00000000 diff --git a/.workflow/branch-pipeline.yml b/.workflow/branch-pipeline.yml deleted file mode 100644 index 9d2a2926..00000000 --- a/.workflow/branch-pipeline.yml +++ /dev/null @@ -1,53 +0,0 @@ -version: '1.0' -name: branch-pipeline -displayName: BranchPipeline -stages: - - stage: - name: compile - displayName: 编译 - steps: - - step: build@maven - name: build_maven - displayName: Maven 构建 - # 支持6、7、8、9、10、11六个版本 - jdkVersion: 8 - # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 - mavenVersion: 3.3.9 - # 构建命令 - commands: - - mvn -B clean package -Dmaven.test.skip=true - # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 - artifacts: - # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 - - name: BUILD_ARTIFACT - # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 - path: - - ./target - - step: publish@general_artifacts - name: publish_general_artifacts - displayName: 上传制品 - # 上游构建任务定义的产物名,默认BUILD_ARTIFACT - dependArtifact: BUILD_ARTIFACT - # 上传到制品库时的制品命名,默认output - artifactName: output - dependsOn: build_maven - - stage: - name: release - displayName: 发布 - steps: - - step: publish@release_artifacts - name: publish_release_artifacts - displayName: '发布' - # 上游上传制品任务的产出 - dependArtifact: output - # 发布制品版本号 - version: '1.0.0.0' - # 是否开启版本号自增,默认开启 - autoIncrement: true -triggers: - push: - branches: - exclude: - - master - include: - - .* diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml deleted file mode 100644 index 5d926c26..00000000 --- a/.workflow/master-pipeline.yml +++ /dev/null @@ -1,51 +0,0 @@ -version: '1.0' -name: master-pipeline -displayName: MasterPipeline -stages: - - stage: - name: compile - displayName: 编译 - steps: - - step: build@maven - name: build_maven - displayName: Maven 构建 - # 支持6、7、8、9、10、11六个版本 - jdkVersion: 8 - # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 - mavenVersion: 3.3.9 - # 构建命令 - commands: - - mvn -B clean package -Dmaven.test.skip=true - # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 - artifacts: - # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 - - name: BUILD_ARTIFACT - # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 - path: - - ./target - - step: publish@general_artifacts - name: publish_general_artifacts - displayName: 上传制品 - # 上游构建任务定义的产物名,默认BUILD_ARTIFACT - dependArtifact: BUILD_ARTIFACT - # 上传到制品库时的制品命名,默认output - artifactName: output - dependsOn: build_maven - - stage: - name: release - displayName: 发布 - steps: - - step: publish@release_artifacts - name: publish_release_artifacts - displayName: '发布' - # 上游上传制品任务的产出 - dependArtifact: output - # 发布制品版本号 - version: '1.0.0.0' - # 是否开启版本号自增,默认开启 - autoIncrement: true -triggers: - push: - branches: - include: - - master diff --git a/.workflow/pipeline-docker.yml b/.workflow/pipeline-docker.yml deleted file mode 100644 index 464ef6c6..00000000 --- a/.workflow/pipeline-docker.yml +++ /dev/null @@ -1,95 +0,0 @@ -version: '1.0' -name: pipeline-docker -displayName: 构建镜像 -triggers: - trigger: auto - push: - branches: - precise: - - master - commitMessages: - include: - - ^deploy-docker -stages: - - name: stage-5ecf171c - displayName: 项目打包 - strategy: naturally - trigger: auto - executor: - - kerwincui - steps: - - step: build@maven - name: build_maven - displayName: Maven 构建后端 - jdkVersion: '8' - mavenVersion: 3.6.1 - commands: - - cd ./springboot - - mvn -B clean package -Dmaven.test.skip=true - artifacts: - - name: BUILD_JAVA - path: - - ./springboot/wumei-admin/target/wumei-admin.jar - settings: [] - strategy: - retry: '0' - - step: build@nodejs - name: build_nodejs - displayName: Nodejs 构建前端 - nodeVersion: 14.16.0 - commands: - - cd ./vue - - npm install --registry=https://registry.npm.taobao.org \ - - '&& rm -rf ./dist && npm run build:prod' - artifacts: - - name: BUILD_VUE - path: - - ./vue/dist - strategy: - retry: '0' - - name: stage-f5631c9e - displayName: 上传打包文件 - strategy: naturally - trigger: auto - executor: - - kerwincui - steps: - - step: publish@general_artifacts - name: publish_general_artifacts_java - displayName: 上传后端制品 - dependArtifact: BUILD_JAVA - artifactName: springboot - strategy: - retry: '0' - - step: publish@general_artifacts - name: publish_general_artifacts_vue - displayName: 上传前端制品 - dependArtifact: BUILD_VUE - artifactName: vue - strategy: - retry: '0' - - name: stage-59a550ac - displayName: 构建镜像 - strategy: naturally - trigger: auto - executor: - - kerwincui - steps: - - step: build@docker - name: build_docker - displayName: 镜像构建 - type: cert - certificate: kerwincui-docker - tag: kerwincui/wumei-smart:1.01 - dockerfile: ./docker/Dockerfile - context: ./docker - artifacts: - - ${BUILD_JAVA} - - ${BUILD_VUE} - isCache: true - strategy: - retry: '0' -permissions: - - role: admin - members: - - kerwincui diff --git a/.workflow/pr-pipeline.yml b/.workflow/pr-pipeline.yml deleted file mode 100644 index 3f7579dd..00000000 --- a/.workflow/pr-pipeline.yml +++ /dev/null @@ -1,40 +0,0 @@ -version: '1.0' -name: pr-pipeline -displayName: PRPipeline -stages: - - stage: - name: compile - displayName: 编译 - steps: - - step: build@maven - name: build_maven - displayName: Maven 构建 - # 支持6、7、8、9、10、11六个版本 - jdkVersion: 8 - # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 - mavenVersion: 3.3.9 - # 构建命令 - commands: - - mvn -B clean package -Dmaven.test.skip=true - # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 - artifacts: - # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 - - name: BUILD_ARTIFACT - # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 - path: - - ./target - - step: publish@general_artifacts - name: publish_general_artifacts - displayName: 上传制品 - # 上游构建任务定义的产物名,默认BUILD_ARTIFACT - dependArtifact: BUILD_ARTIFACT - # 构建产物制品库,默认default,系统默认创建 - artifactRepository: default - # 上传到制品库时的制品命名,默认output - artifactName: output - dependsOn: build_maven -triggers: - pr: - branches: - include: - - master diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md deleted file mode 100644 index 5ea51169..00000000 --- a/doc/CHANGELOG.md +++ /dev/null @@ -1,22 +0,0 @@ - -## [v2.0.0] - 2024-01-31 - -### 新增功能 -- 支持netty mqtt broker ([#1]()) -- 支持多种编码协议管理([#2]()) -- 支持emqx5.0([#3]()) - -### 功能优化 -- 设备列表卡片优化,设备详情页面优化 -- 物模型功能优化 -- 产品管理功能优化 - -### 代码重构 -- java项目代码目录重新调整 -- 消息网关重构 - -### 其他事务 -- 新增Git提交规范([#Git提交规范](https://gitee.com/kerwincui/wumei-smart/blob/master/doc/Git%E6%8F%90%E4%BA%A4%E8%A7%84%E8%8C%83.md)) -- 新增贡献者指南([#贡献者指南](https://gitee.com/kerwincui/wumei-smart/blob/master/doc/%E8%B4%A1%E7%8C%AE%E8%80%85%E6%8C%87%E5%8D%97.md)) -- 新增功能规划([#功能规划](https://gitee.com/kerwincui/wumei-smart/blob/master/RoadMap.md)) -- 修改项目AGPL3协议商用授权说明 diff --git a/doc/Git提交规范.md b/doc/Git提交规范.md deleted file mode 100644 index d4036165..00000000 --- a/doc/Git提交规范.md +++ /dev/null @@ -1,63 +0,0 @@ -# 一,conventional commit(约定式提交) -Conventional Commits 是一种用于给提交信息增加人机可读含义的规范。它提供了一组用于创建清晰的提交历史的简单规则。 -## 1.1 作用 -- 自动化生成 CHANGELOG -- 基于提交类型,自动决定语义化的版本变更 -- 向项目相关合作开发者发送变更信心 -- 触发自动化构建和部署流程 -- 给开发者提供一个更加结构化的提交历史,便于减低对项目做贡献的难度 -## 1.2 提交格式 -提交说明的结构如下: -(): -空行 -[可选的正文] -空行 -[可选的脚注] -### 1.2.1 Header -Header部分只有一行,包括三个字段: type(必需)、scope(必需)和subject(必需)。 - -#### (1)type 类型 -type用于说明 commit 的类别,只允许使用下面7个标识: -- feat:新功能(feature) -- fix:修补bug -- docs:文档(documentation) -- style: 格式(不影响代码运行的变动) -- refactor:重构(即不是新增功能,也不是修改bug的代码变动) -- test:增加测试 -- build:构建过程或辅助工具的变动 -#### (2)scope 范围 -scope用于说明 commit 影响的范围,比如指标模板、规则上下线等等,视项目不同而不同。 -#### (3)subject 主题 -subject是 commit 目的的简短描述,不超过50个字符。 -1. 以动词开头,使用第一人称现在时,比如change,而不是changed或changes -2. 第一个字母小写 -3. 结尾不加句号(.) -### 1.2.2 Body 正文 - Body 部分是对本次 commit 的详细描述,可以分成多行。 -1. 需要简要的列出各种正向或者反向的测试场景,测试通过,填pass。 -2. 增加修改人信息 - -## 1.3 例子 -### 1.3.1 feat例子 -``` -feat(规则上下线、构建、生效、仿真生效): 添加规则上下线功能 - -1. 规则上下线主流程,引擎正常订阅,fldl生成正常。 pass -2. 规则上下线,传入不存在的规则编号,异常提示。 pass - -提交人:xxx -``` -### 1.3.2 fix例子 -``` -fix(模型模块): 模型测试失败 - -1. 导入mar模型,包含衍生字段。 pass -2. 导入mar模型,不包含衍生字段。 pass - -提交人:xxx -``` -## 1.4 IDEA插件推荐 - -1. 安装路径:File->Settings->Plugins->Marketplace->搜索Conventional Commit,点击安装即可。 -2. 提交的时候点击中间的小红点创建提交消息,根据对话框提示填写相关信息即可生成规范的提交消息。 - diff --git a/doc/贡献者指南.md b/doc/贡献者指南.md deleted file mode 100644 index 8d931a0f..00000000 --- a/doc/贡献者指南.md +++ /dev/null @@ -1,69 +0,0 @@ -> 非常欢迎参与项目贡献,我们致力于维护一个互相帮助,共同成长社区。 - -# 贡献方式 -在Fastbee 社区,贡献方式有很多: - -- 💻代码:可以帮助社区完成一些任务、编写新的feature或者是修复一些bug; -- ⚠️测试:可以来参与测试代码的编写,包括了单元测试、集成测试、e2e测试; -- ✅编译:构建或者辅助工具建议,包括:Docker,K8s,CI/CD,辅助调试工具等; -- 📖文档:可以编写或完善文档,来帮助用户更好地了解和使用 物联网平台; -- 🤔讨论:可以参与 Fastbee 新的feature的讨论,将您的想法跟 Fastbee 融合; -- 💬建议:也可以对项目或者社区提出一些建议,促进社区的良性发展; -- ❗疑问:问出一个好的问题,同样也可以促进项目发展,拓宽思考方向; - -> 即便是小到错别字的修正我们也都非常欢迎 :) - -# 提PR有以下注意点 -PR统一在Gitee平台上进行提交,如果你不知道如何提交PR,可以在Gitee平台里去学习。这里不作说明。 -- fork后切换到develop分支,请以这个分支为开发基准。 -- 所有的PR提交到develop分支,这个分支为开发分支。 -- 如果你作了功能性的变动,请带上你的测试用例,测试用例规范可以参考之前的测试用例。 -- 所有的PR必须关联至少一个issue,如果没有相关issue,请自行创建一个。 -- 正式提交PR之前,请确保所有的测试用例都通过。 -- Git提交消息,需要按照[Git提交规范](./Git提交规范.md)。 - -# 提交 Pull Request -1. 首先您需要 Fork 目标仓库 Fastbee repository. -2. 然后 用git命令 将代码下载到本地: - -``` - git clone https://gitee.com/zhuangpengli/FastBee -``` - -3. 下载完成后,请参考目标仓库README 文件对项目进行初始化。 -4. 接着,您可以参考如下命令进行代码的提交, 切换新的分支, 进行开发: - -``` -# 根据项目需要创建对应分支 -git checkout -b feat-xxx 或者 fix-xxx 等等 -``` - -5. 提交 commit , commit 描述信息需要符合[约定格式](./Git提交规范.md). - -``` -git add -git commit -m '[docs]feature: necessary instructions' -``` -6. 推送到远程仓库 -``` -git push origin feat-xxx -``` -7. 然后您就可以在 Gitee 上发起新的 PR (Pull Request)。 - -> 注意!!! PR 的标题需要符合我们的规范,并且在 PR 中写上必要的说明,来方便 Committer 和其他贡献者进行代码审查。等待PR代码被合并 - -> 在提交了 PR 后,Committer 或者社区的小伙伴们会对您提交的代码进行审查(Code Review),会提出一些修改建议,或者是进行一些讨论,请及时关注您的PR。 -若后续需要改动,不需要发起一个新的 PR,在原有的分支上提交 commit 并推送到远程仓库后,PR会自动更新。 - - -# 代码被合并后 -在代码被合并后,您就可以在本地和远程仓库删除这个开发分支了: -``` -git branch -d feat-xxx -git push origin --delete feat-xxx在主分支上, -``` -您可以执行以下操作来同步上游仓库: -``` -git remote add upstream https://gitee.com/zhuangpengli/FastBee.git -#Bind the remote warehouse, if it has been executed, it does not need to be executed againgit checkout master git pull upstream master -``` \ No newline at end of file