Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aoguai committed Aug 3, 2024
0 parents commit 81f778c
Show file tree
Hide file tree
Showing 37 changed files with 3,357 additions and 0 deletions.
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug report
description: 反馈与提交BUG / Feedback and submit bugs
title: "[BUG] 标题简要描述 / Brief description of the title"
labels: [ "bug" ]
assignees: [ ]
body:
- type: markdown
attributes:
value: |
创建一个反馈报告以帮助我们改进 / Create a feedback report to help us improve
- type: checkboxes
id: checkboxes
attributes:
label: 一些验证 / Some verifications
description: 在提交问题之前,请确保您完成以下操作 / Before submitting an issue, please ensure you have completed the following
options:
- label: 是否查看 wiki、issues 后自己尝试解决 / Have you tried to resolve the issue by checking the wiki and existing issues?
required: true
- label: 请 **确保** 您的问题能在 [releases](https://github.com/aoguai/LiYing/releases/latest) 发布的最新版本(包含测试版本)上复现 (如果不是请先更新到最新版本复现后再提交问题) / Please **ensure** your issue can be reproduced on the latest version (including test versions) released in [releases](https://github.com/aoguai/LiYing/releases/latest) (if not, please update to the latest version and reproduce the issue before submitting it)
required: true
- label: 搜索检查是否已经存在请求相同功能的问题/讨论,以避免重复创建问题 / Search to check if there are already issues/discussions requesting the same feature to avoid duplication
required: true
- label: 确认知晓并同意维护者直接关闭不符合 issue 规范的问题 / Acknowledge and agree that maintainers can directly close issues that do not follow the issue guidelines
required: true
- label: 确保提供下列BUG描述及其复现步骤, 否则我同意维护者直接关闭问题 / Ensure to provide the following bug description and reproduction steps, otherwise, I agree that maintainers can directly close the issue
required: true
- type: textarea
id: bug-description
attributes:
label: |
BUG 描述或反馈描述 / Bug description or feedback description
description: |
请输入 BUG 描述或反馈描述及其复现步骤,请使用尽量准确的描述。 / Please enter the bug description or feedback description and its reproduction steps. Use as accurate a description as possible.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: |
预期的效果 / Expected behavior
description: |
简明扼要地描述你原来希望的效果。 / Briefly describe what you originally expected to happen.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: |
截图 / Screenshots
description: |
添加截图以帮助解释你的问题。 / Add screenshots to help explain your issue.
validations:
required: true
- type: textarea
id: system-info
attributes:
label: |
系统信息 / System information
description: |
请说明您的操作系统: [例如.Windows]以及软件版本 [例如. V1.6] / Please specify your operating system: [e.g., Windows] and software version [e.g., V1.6]
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: |
额外的信息 / Additional information
description: |
在此添加关于问题的任何其他背景、猜想、推断。 / Add any other context, assumptions, or inferences about the issue here.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 讨论交流 / Discussions
url: https://github.com/aoguai/LiYing/discussions
about: Use GitHub discussions for message-board style questions and discussions.
21 changes: 21 additions & 0 deletions .github/workflows/Create Comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create Comment

on:
issues:
types: [labeled]

jobs:
create-comment:
runs-on: ubuntu-latest
if: github.event.label.name == 'need info'
steps:
- name: Create comment
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello ${{ github.event.issue.user.login }}. It seems that more information is needed for this issue. Please provide additional details.
你好 ${{ github.event.issue.user.login }}。看起来这个问题需要更多信息。请提供额外的细节。
26 changes: 26 additions & 0 deletions .github/workflows/Issue Close Question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

name: Issue Close Question

on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
issue-close-require:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: needs more info
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'need info'
inactive-day: 3
body: |
This issue has been closed automatically because it has not had recent activity for 3 days. If you have any questions, please comment here.
由于该 Issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。
120 changes: 120 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

.vscode/

.idea/

_myPython
_myPython/*

data/*.jpg
data/*.jepg
data/*.png

src/tool/ext/*.exe
src/model/*.onnx

*.zip
Loading

0 comments on commit 81f778c

Please sign in to comment.