diff --git a/.gitee/issue_template.md b/.gitee/issue_template.md index 16dc681..f25affd 100644 --- a/.gitee/issue_template.md +++ b/.gitee/issue_template.md @@ -1,6 +1,8 @@ @@ -40,13 +49,13 @@ - [ ] `Other` ## 3. 系统详细信息 - + ``` ``` ## 4. 环境信息 - + ``` ``` diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 3ca3308..2ce09d2 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 914a806..9ba5a6b 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -5,6 +5,6 @@ body: - type: textarea id: content attributes: - label: '请在下方描述您的功能请求或建议' + label: '描述您的功能请求或建议' validations: required: false diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index db69d11..39f61eb 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -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- diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index 28b4358..2266bc0 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -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 diff --git a/requirements.txt b/requirements.txt index 74a094c..075e43d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 \ No newline at end of file