fix: remove yaml literal block scalar in linglong.yaml description#408
fix: remove yaml literal block scalar in linglong.yaml description#408add-uos wants to merge 1 commit into
Conversation
Use plain string format for description field to fix incorrect display in ll-cli list output. 移除 linglong.yaml description 的 YAML 块标量语法, 修复 ll-cli list 命令下描述信息显示异常。 Log: 修复 linglong.yaml 描述信息显示有误 PMS: BUG-370559 Influence: ll-cli list 命令查看语音记事本描述信息时显示正常。
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: add-uos The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the linglong.yaml package description format to avoid extra leading spaces in ll-cli list output by replacing a YAML block scalar with a single-line string. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review★ 总体评分:100分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 # 当前代码已足够优秀,无需进一步修改
package:
name: deepin-voice.note
version: 5.10.11
kind: app
description: voice note for deepin os
runtime:
id: org.deepin.Runtime |
|
Note
详情{
"linglong.yaml": [
{
"line": " url: \"http://gerrit.uniontech.com/deepin-voice-note\"",
"line_number": 64,
"rule": "S35",
"reason": "Url link | 58e6d4a7c1"
}
]
} |
Summary
linglong.yaml中description字段使用 YAML|块标量语法导致ll-cli list命令下描述信息显示异常的问题description从多行块标量格式改为普通字符串格式,去掉 4 空格缩进Bug
PMS: BUG-370559
通过
ll-cli list命令查看语音记事本信息时,描述信息显示有多余前导空格。Test plan
ll-cli list确认语音记事本描述信息显示正常,无多余空格Summary by Sourcery
Bug Fixes: