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