mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 16:00:26 +08:00
优化
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<!-- 这是隐藏的信息
|
||||
|
||||
在提交前请阅读下面的内容:
|
||||
|
||||
⚠️如果方便的话请优先在 GitHub 官方仓库提交 Issue!
|
||||
⚠️如果在使用过程中遇到问题需要帮助,请严格按照模板提交反馈!
|
||||
⚠️如果是意见与建议类问题则不需要使用此模板,自行清除所有模板内容!
|
||||
|
||||
@@ -20,17 +22,24 @@
|
||||
- [ ] `Debian`
|
||||
- [ ] `Ubuntu`
|
||||
- [ ] `Kali Linux`
|
||||
- [ ] `Linux Mint`
|
||||
- [ ] `Deepin`
|
||||
- [ ] `Zorin OS`
|
||||
- [ ] `Armbian`
|
||||
- [ ] `Proxmox`
|
||||
- [ ] `Red Hat Enterprise Linux`
|
||||
- [ ] `Fedora`
|
||||
- [ ] `CentOS / CentOS Stream`
|
||||
- [ ] `CentOS`
|
||||
- [ ] `Rocky Linux`
|
||||
- [ ] `AlmaLinux`
|
||||
- [ ] `OpenCloudOS`
|
||||
- [ ] `openEuler`
|
||||
- [ ] `OpenCloudOS`
|
||||
- [ ] `openKylin`
|
||||
- [ ] `Anolis OS`
|
||||
- [ ] `openSUSE`
|
||||
- [ ] `Arch Linux`
|
||||
- [ ] `Alpine Linux`
|
||||
- [ ] `Gentoo`
|
||||
|
||||
## 2. 处理器架构
|
||||
<!-- 将中括号内的 "空格" 替换为 "x" ,即为选中,例:" - [x] 否 " -->
|
||||
@@ -40,13 +49,13 @@
|
||||
- [ ] `Other`
|
||||
|
||||
## 3. 系统详细信息
|
||||
<!-- 请将命令 "cat /etc/os-release" 的输出结果粘贴在下方 -->
|
||||
<!-- 请执行命令 "cat /etc/os-release",并将输出结果粘贴在下方 -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
## 4. 环境信息
|
||||
<!-- 请将命令 "uname -a" 的输出结果粘贴在下方 -->
|
||||
<!-- 请执行命令 "uname -a",并将输出结果粘贴在下方 -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
21
.github/ISSUE_TEMPLATE/bug.yml
vendored
21
.github/ISSUE_TEMPLATE/bug.yml
vendored
@@ -10,17 +10,24 @@ body:
|
||||
- Debian
|
||||
- Ubuntu
|
||||
- Kali Linux
|
||||
- Linux Mint
|
||||
- Deepin
|
||||
- Zorin OS
|
||||
- Armbian
|
||||
- Proxmox
|
||||
- Red Hat Enterprise Linux
|
||||
- Fedora
|
||||
- CentOS / CentOS Stream
|
||||
- CentOS
|
||||
- Rocky Linux
|
||||
- AlmaLinux
|
||||
- OpenCloudOS
|
||||
- openEuler
|
||||
- OpenCloudOS
|
||||
- openKylin
|
||||
- Anolis OS
|
||||
- openSUSE
|
||||
- Arch Linux
|
||||
- Alpine Linux
|
||||
- Gentoo
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -40,7 +47,8 @@ body:
|
||||
id: release
|
||||
attributes:
|
||||
label: 系统详细信息
|
||||
description: '请将命令 `cat /etc/os-release` 的输出结果粘贴在下方'
|
||||
description: '请执行命令 `cat /etc/os-release`,并将输出结果粘贴在下方'
|
||||
render: 'shell'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -48,14 +56,14 @@ body:
|
||||
id: uname
|
||||
attributes:
|
||||
label: 环境信息
|
||||
description: '请将命令 `uname -a` 的输出结果粘贴在下方'
|
||||
description: '请执行命令 `uname -a`,并将输出结果粘贴在下方'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: 描述您的问题
|
||||
label: 描述您遇到的问题
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -63,6 +71,7 @@ body:
|
||||
id: logs
|
||||
attributes:
|
||||
label: 详细的执行日志
|
||||
placeholder: 日志内容或截图
|
||||
placeholder: 日志内容
|
||||
render: 'shell'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/feature.yml
vendored
2
.github/ISSUE_TEMPLATE/feature.yml
vendored
@@ -5,6 +5,6 @@ body:
|
||||
- type: textarea
|
||||
id: content
|
||||
attributes:
|
||||
label: '请在下方描述您的功能请求或建议'
|
||||
label: '描述您的功能请求或建议'
|
||||
validations:
|
||||
required: false
|
||||
|
||||
13
.github/workflows/build-docs.yml
vendored
13
.github/workflows/build-docs.yml
vendored
@@ -10,13 +10,18 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/checkout@v4
|
||||
- name: Configure Git Credentials
|
||||
run: |
|
||||
git config user.name github-actions[bot]
|
||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- uses: actions/cache@v3
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
key: mkdocs-material-${{ github.ref }}
|
||||
key: mkdocs-material-${{ env.cache_id }}
|
||||
path: .cache
|
||||
restore-keys: |
|
||||
mkdocs-material-
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
## Author: SuperManito
|
||||
## Modified: 2025-01-04
|
||||
## Modified: 2025-01-22
|
||||
## License: MIT
|
||||
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
||||
## Website: https://linuxmirrors.cn
|
||||
@@ -185,10 +185,11 @@ File_ArmbianRelease=/etc/armbian-release
|
||||
File_openEulerRelease=/etc/openEuler-release
|
||||
File_OpenCloudOSRelease=/etc/opencloudos-release
|
||||
File_AnolisOSRelease=/etc/anolis-release
|
||||
File_openKylinVersion=/etc/kylin-version/kylin-system-version.conf
|
||||
File_OracleLinuxRelease=/etc/oracle-release
|
||||
File_ArchLinuxRelease=/etc/arch-release
|
||||
File_AlpineRelease=/etc/alpine-release
|
||||
File_GentooRelease=/etc/gentoo-release
|
||||
File_openKylinVersion=/etc/kylin-version/kylin-system-version.conf
|
||||
File_ProxmoxVersion=/etc/pve/.version
|
||||
|
||||
## 定义软件源相关文件或目录
|
||||
@@ -639,6 +640,8 @@ function collect_system_info() {
|
||||
## 判定当前系统派系
|
||||
if [ -s $File_DebianVersion ]; then
|
||||
SYSTEM_FACTIONS="${SYSTEM_DEBIAN}"
|
||||
elif [ -s $File_OracleLinuxRelease ]; then
|
||||
output_error "当前操作系统不在本脚本的支持范围内,请前往官网查看支持列表!"
|
||||
elif [ -s $File_RedHatRelease ]; then
|
||||
SYSTEM_FACTIONS="${SYSTEM_REDHAT}"
|
||||
elif [ -s $File_openEulerRelease ]; then
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
mkdocs-material==9.5.49
|
||||
mkdocs-material==9.5.50
|
||||
mkdocs-glightbox==0.4.0
|
||||
mkdocs-exclude-search==0.6.6
|
||||
Reference in New Issue
Block a user