Skip to content

chore: update repo dist code to crimson - #800

Merged
BLumia merged 1 commit into
linuxdeepin:masterfrom
hudeng-go:patch-13
Aug 5, 2026
Merged

chore: update repo dist code to crimson#800
BLumia merged 1 commit into
linuxdeepin:masterfrom
hudeng-go:patch-13

Conversation

@hudeng-go

@hudeng-go hudeng-go commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

deepin现在已经更新到了25版本,因此更新仓库代号。

Summary by Sourcery

CI:

  • Switch the stable deepin-community APT source in the dev docs deployment workflow from beige to crimson.

deepin现在已经更新到了25版本,因此更新仓库代号。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @hudeng-go, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@sourcery-ai

sourcery-ai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the GitHub Actions dev docs deployment workflow to use the new Deepin 25 "crimson" stable repository instead of the previous "beige" codename.

File-Level Changes

Change Details Files
Update APT stable repository entries in the dev-doc deploy workflow to target the Deepin 25 "crimson" codename.
  • Replaced the binary stable repository codename from "beige" to "crimson" in the echo command that appends to /etc/apt/sources.list.
  • Replaced the source stable repository codename from "beige" to "crimson" in the echo command that appends to /etc/apt/sources.list.
.github/workflows/deploy-dev-doc.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

deepin pr auto review

★ 总体评分:100分

■ 【总体评价】

代码实现了deepin-community stable仓库代号从beige到crimson的平滑迁移,逻辑清晰且无任何风险
语法正确、质量良好且无安全漏洞,符合满分标准

■ 【详细分析】

  • 1.语法逻辑(完全正确)✓

修改部分位于.github/workflows/deploy-dev-doc.yml文件中,使用标准的shell echo命令与重定向符向/etc/apt/sources.list追加apt源配置,YAML缩进与shell语法均无误
建议:保持当前写法即可

  • 2.代码质量(良好)✓

变更仅涉及版本代号的字符串替换,遵循了原有的代码风格与配置格式,deb与deb-src成对出现,组件划分合理
建议:保持当前写法即可

  • 3.代码性能(无性能问题)✓

两条echo语句执行开销极低,不涉及复杂计算或资源消耗
建议:保持当前写法即可

  • 4.代码安全(存在0个安全漏洞)✓

漏洞对比统计:新增漏洞 0 个,减少漏洞 0 个,持平 0 个
本次diff仅将版本代号从beige更新为crimson,未引入任何新的不安全语法、命令注入点或敏感信息泄露风险。上下文中的trusted=yes为历史遗留配置,非本次变更引入,予以忽略
建议:无需额外安全修复

■ 【改进建议代码示例】

--- a/.github/workflows/deploy-dev-doc.yml
+++ b/.github/workflows/deploy-dev-doc.yml
@@ -35,8 +35,8 @@ jobs:
           echo "deb-src [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/dde/deepin_develop/ ./" >> /etc/apt/sources.list
           echo "deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main community commercial" >> /etc/apt/sources.list
           echo "deb-src [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main community commercial" >> /etc/apt/sources.list
-          echo "deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ beige main community commercial" >> /etc/apt/sources.list
-          echo "deb-src [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ beige main community commercial" >> /etc/apt/sources.list
+          echo "deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ crimson main community commercial" >> /etc/apt/sources.list
+          echo "deb-src [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ crimson main community commercial" >> /etc/apt/sources.list
           apt-get update && apt-get install -y --force-yes ca-certificates apt-transport-https sudo
       - uses: actions/checkout@v5
         with:

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, hudeng-go

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@BLumia
BLumia merged commit 6766dca into linuxdeepin:master Aug 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants