Skip to content

[2500u3] fix: mark legacy WLAN scan configuration private - #663

Open
xujin177 wants to merge 1 commit into
linuxdeepin:develop/2500u3from
xujin177:fix/dconfig-private-2500u3
Open

xujin177 wants to merge 1 commit into
linuxdeepin:develop/2500u3from
xujin177:fix/dconfig-private-2500u3

Conversation

@xujin177

@xujin177 xujin177 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

将 DConfig 审查中的旧无线扫描周期配置可见性修复移植到 develop/2500u3。

来源 PR:#661

创建本 PR 时,master PR #661 尚未合入。本次从原 PR 的同一条提交 04695e41f246a15679696d5be42c197c09145fe9 执行 git cherry-pick -x,并非从已合入的 master 提交移植。补丁与 #661 完全一致,当前 PR 仅包含 1 个提交。

JSON 属性 修改
config/org.deepin.dde.network.json WLANScanInterval public → private

WLANScanInterval 已在配置定义中标记为 deprecated。U3 源码检索中,该键仅出现在定义和自动生成的配置封装中;实际无线扫描业务读取的是另一个键 wirelessScanInterval,本次保留其 public 声明。

只修改上述属性的 visibility,默认值、serial、flags、permissions、其他属性及业务代码均不变。

验证:

  • JSON 解析通过;与 U3 原始定义逐属性比对,唯一差异是 WLANScanInterval.visibility。
  • git diff --check 通过。
  • 与 master PR fix: mark legacy WLAN scan configuration private #661 的补丁 git patch-id --stable 一致。
  • 相对 U3 基线仅 1 个提交、1 份 JSON、1 项属性修改。

未运行桌面运行时测试;回归建议见提交信息 Influence。

PMS: TASK-398753

Summary by Sourcery

Bug Fixes:

  • Restrict the visibility of the deprecated WLANScanInterval configuration to private while preserving the public wirelessScanInterval setting used by the WLAN scanning workflow.

1. Mark 1 audited keys private across 1 DConfig schemas.
2. Preserve shared public interfaces and uninstalled source copies.
3. Keep values, flags, permissions and business logic unchanged.

Log: No user-facing changes

Influence:

1. Validate that all changed DConfig schemas load without JSON errors.
2. Scan wireless networks and verify refresh timing is unchanged.
3. Verify retained public and excluded keys match the audit workbook.

fix: 旧无线扫描周期配置声明为private

1. 按审查表将1份DConfig定义中的1个属性声明为private。
2. 保留跨应用共享public接口及当前构建不安装的旧定义。
3. 不修改默认值、flags、permissions或业务逻辑。

Influence:

1. 校验所有改动的DConfig JSON可正常解析和加载。
2. 扫描无线网络,确认刷新周期和网络展示正常。
3. 对照审查表确认保留的public属性和排除项未被修改。

Log: 无用户可见变化
PMS: TASK-398753
(cherry picked from commit 04695e4)
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: xujin177

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

@sourcery-ai

sourcery-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Mark the deprecated WLANScanInterval configuration property private to limit its visibility without changing its value or behavior.

  • config/org.deepin.dde.network.json L22

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

@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.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@deepin-bot

deepin-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 6.2.1
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #668

@deepin-bot

deepin-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 6.2.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #671

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.

2 participants