Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update issue templates and be compatible with qinglong in different system #720

Merged
merged 6 commits into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 52 additions & 5 deletions .github/ISSUE_TEMPLATE/bug-report----.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,62 @@
---
name: Bug report(缺陷)
about: 缺陷或异常
title: "【Bug】请在标题中清晰地概述你要反馈的异常或缺陷"
title: "【Bug】<请在标题中清晰地概述你要反馈的异常或缺陷>"
labels: ''
assignees: ''

---

版本号:(请贴出你的版本号,请确认是否已通过升级到最新版来解决当前问题?)
运行环境:(请贴出运行环境,比如是Actions或docker或本地?是Win还是Linux?)
<!-- 请完整勾选或填写如下信息 -->

问题描述:(提issue前请先确认没有其他人已提过相同的议题,请清晰的描述所您所遇到的问题。)
### 版本

日志信息:(如果可以,请贴出Debug级别的日志信息,以便更高效的确定和解决问题。)
BiliTool版本号:`x.x.x`

### 确认

- [ ] 是的,我已搜索并确认,没有其他相同的议题
- [ ] 是的,我确认,已尝试升级到最新版,但未解决

### 服务器架构

- [ ] x64
- [ ] arm64
- [ ] arm
- [ ] 其他(请在下面补充)

### 服务器系统

- [ ] Windows
- [ ] macOS
- [ ] Linux
- [ ] Debian
- [ ] Ubuntu
- [ ] Windows
- [ ] Alpine
- [ ] Centos
- [ ] 其他(请在下面补充)

### 选择的BiliTool运行模式

- [ ] docker
- [ ] podman
- [ ] 下载的Release包
- [ ] 其他(请在下面补充)

### 问题描述

<!-- 请在下方清晰的描述所您所遇到的问题 -->
<这里>

### 日志信息

<!-- 请在下方贴出Debug级别的日志信息,以便更高效的确定和解决问题 -->

<details>

```
<这里>
```

</details>
91 changes: 91 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report-qinglong----.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
name: [QingLong]Bug report(缺陷)
about: 缺陷或异常(青龙专属)
title: "【Bug】【青龙】<请在标题中清晰地概述你要反馈的异常或缺陷>"
labels: ''
assignees: ''

---

<!-- 请完整勾选或填写如下信息 -->

### 版本

BiliTool版本号:`x.x.x`

青龙版本号:`x.x.x`

### 确认

- [ ] 是的,我已搜索并确认,没有其他相同的议题
- [ ] 是的,我确认,已尝试升级到最新版,但未解决

### 服务器架构

- [ ] x64
- [ ] arm64
- [ ] arm
- [ ] 其他(请在下面补充)

### 服务器系统

- [ ] Windows
- [ ] macOS
- [ ] Linux
- [ ] Debian
- [ ] Ubuntu
- [ ] Windows
- [ ] Alpine
- [ ] Centos
- [ ] 其他(请在下面补充)

### 青龙容器类型

- [ ] Docker
- [ ] Podman
- [ ] 其他(请在下面补充)

### 青龙镜像

- [ ] whyour/qinglong:latest(Alpine)
- [ ] whyour/qinglong:debian(Debian)

### 选择的BiliTool运行模式

- [ ] dotnet
- [ ] bilitool

### 如果是青龙拉库相关bug,请贴出拉库方式截图

- [ ] 否
- [ ] 是,截图如下

### 如果是缺失文件相关bug,请贴出容器内文件路径信息

- [ ] 否
- [ ] 是,信息如下

查看方式参考文档:[提示文件不存在或路径异常怎么排查](https://github.com/RayWangQvQ/BiliBiliToolPro/blob/main/qinglong/README.md#43-提示文件不存在或路径异常怎么排查)

BiliTool仓库文件路径:`<粘贴路径>`

脚本文件路径:`<粘贴路径>`

<这里贴截图>

### 问题描述

<!-- 请在下方清晰的描述所您所遇到的问题 -->
<这里>

### 日志信息

<!-- 请在下方贴出Debug级别的日志信息,以便更高效的确定和解决问题 -->

<details>

```
<这里>
```

</details>
15 changes: 12 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-request----.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
---
name: Feature request(建议)
about: 建议或需求
title: "【建议】请在标题中清晰地概述你的建议"
title: "【建议】<请在标题中清晰地概述你的建议>"
labels: 建议/enhancement
assignees: ''

---

建议内容:
(提issue前请先确认没有其他人提过相同的议题)
<!-- 请完整勾选或填写如下信息 -->

### 确认

- [ ] 是的,我已搜索并确认,没有其他相同的议题

### 建议内容

<!-- 请清晰的描述您的需求或建议 -->
<!-- 如果可以,请描述您认为可行的解决方案 -->
<这里>
12 changes: 10 additions & 2 deletions .github/ISSUE_TEMPLATE/other----.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
---
name: Other(其他)
about: 既不是Bug也不是建议的或不能确定的其他议题
title: "【其他】请在标题中清晰地概述内容"
title: "【其他】<请在标题中清晰地概述内容>"
labels: ''
assignees: ''

---

(提issue前请先确认没有其他人提过相同的议题)
### 确认

- [ ] 是的,我确认要选Other,因为我的内容既不是Bug,也不是Feature
- [ ] 是的,我已搜索并确认,没有其他相同的议题

### 描述

<!-- 请在下方清晰的描述您的内容 -->
<这里>
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- 该操作会向作者源仓库发起PR,是用来向源仓库贡献自己代码的 -->
<!-- 请PR到我的develop分支上,main分支不接受直接PR -->
<!-- 请PR到我的develop分支 -->

<!-- 如果您明白正在做什么,请将下一行中符号【】内的文字由“no”修改为“yes”(不含引号) -->
<!-- 请问您是否明白:【no】 -->

【内容】:
请描述您将贡献的内容
### 内容

<请描述您将贡献的内容>
4 changes: 2 additions & 2 deletions qinglong/DefaultTasks/bili_task_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ DiskWarn=${DiskWarn:-""}

dir_repo=${dir_repo:-"$QL_DIR/data/repo"}
dir_shell=$QL_DIR/shell
. $dir_shell/env.sh
touch $dir_shell/env.sh && . $dir_shell/env.sh
touch /root/.bashrc && . /root/.bashrc

# 目录
say "青龙repo目录: $dir_repo"
qinglong_bili_repo="$(echo "$bili_repo" | sed 's/\//_/g')${bili_branch}"
qinglong_bili_repo_dir="$(find $dir_repo -type d -iname $qinglong_bili_repo | head -1)"
qinglong_bili_repo_dir="$(find $dir_repo -type d \( -iname $qinglong_bili_repo -o -iname ${qinglong_bili_repo}_main \) | head -1)"
say "bili仓库目录: $qinglong_bili_repo_dir"

current_linux_os="debian" # 或alpine
Expand Down
4 changes: 2 additions & 2 deletions qinglong/DefaultTasks/dev/bili_dev_task_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ DiskWarn=${DiskWarn:-""}

dir_repo=${dir_repo:-"$QL_DIR/data/repo"}
dir_shell=$QL_DIR/shell
. $dir_shell/env.sh
touch $dir_shell/env.sh && . $dir_shell/env.sh
touch /root/.bashrc && . /root/.bashrc

# 目录
say "青龙repo目录: $dir_repo"
qinglong_bili_repo="$(echo "$bili_repo" | sed 's/\//_/g')${bili_branch}"
qinglong_bili_repo_dir="$(find $dir_repo -type d -iname $qinglong_bili_repo | head -1)"
qinglong_bili_repo_dir="$(find $dir_repo -type d \( -iname $qinglong_bili_repo -o -iname ${qinglong_bili_repo}_main \) | head -1)"
say "bili仓库目录: $qinglong_bili_repo_dir"

current_linux_os="debian" # 或alpine
Expand Down
21 changes: 20 additions & 1 deletion qinglong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- [4. 常见问题](#4-常见问题)
- [4.1. 安装dotnet失败怎么办法](#41-安装dotnet失败怎么办法)
- [4.2. Couldn't find a valid ICU package installed on the system](#42-couldnt-find-a-valid-icu-package-installed-on-the-system)
- [4.3. 提示文件不存在或路径异常,怎么排查](#43-提示文件不存在或路径异常怎么排查)

<!-- /TOC -->

Expand Down Expand Up @@ -133,4 +134,22 @@ export BILI_GITHUB_PROXY="https://github.moeyy.xyz/" # 下载二进制包时使
```
名称:DOTNET_SYSTEM_GLOBALIZATION_INVARIANT
值:1
```
```

### 4.3. 提示文件不存在或路径异常,怎么排查

需要`docker exec -it qinglong bash`后,查看几个常用路径:

```
/ql
/data
/repo
/scripts
/shell
```

- `/ql/dada/repo`目录下存储了拉库后,bilitool的源代码
- `/ql/scripts`目录下存储了bilitool的定时运行脚本
- `/ql/shell`目录下是青龙的基础脚本

请cd到相应目录,查看该目录下文件是否存在,状态是否正常。
2 changes: 1 addition & 1 deletion src/Ray.BiliBiliTool.Console/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"DailyTaskConfig": {
"SupportUpIds": "",
"AutoChargeUpId": "220893216"
"AutoChargeUpId": "341688380"
},
"Security": {
"IsSkipDailyTask": false,
Expand Down
2 changes: 1 addition & 1 deletion src/Ray.BiliBiliTool.Console/appsettings.Production.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"DailyTaskConfig": {
"SupportUpIds": "",
"AutoChargeUpId": "220893216"
"AutoChargeUpId": "341688380"
},
//用于UT验证
"IsPrd": true
Expand Down
Loading