build(debian): separate Qt5/Qt6 build configurations for V25/V20 support#191
Conversation
|
Warning
|
Reviewer's GuideAdds a separate Debian packaging control file defining a Qt5-based build configuration for deepin-draw, presumably to support V20, alongside the existing (Qt6/V25) packaging setup. Flow diagram for selecting Qt5 vs Qt6 Debian control for buildsflowchart TD
start["Start package build"]
detect_version["Detect target UOS version"]
v20_check{Is target V20?}
use_control1["Use debian/control.1 (Qt5 config)"]
use_control["Use debian/control (Qt6 config)"]
build_qt5["Build deepin-draw with Qt5 dependencies"]
build_qt6["Build deepin-draw with Qt6 dependencies"]
end_node["deepin-draw .deb produced"]
start --> detect_version --> v20_check
v20_check -->|Yes| use_control1 --> build_qt5 --> end_node
v20_check -->|No| use_control --> build_qt6 --> end_node
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The new debian/control.1 largely duplicates typical control metadata; consider factoring shared fields/Build-Depends so Qt5/Qt6 variants don’t drift out of sync over time.
- The Standards-Version is set to 3.9.8, which is quite old; verify whether a more recent Standards-Version should be used to match your target Debian/UOS tooling.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The new debian/control.1 largely duplicates typical control metadata; consider factoring shared fields/Build-Depends so Qt5/Qt6 variants don’t drift out of sync over time.
- The Standards-Version is set to 3.9.8, which is quite old; verify whether a more recent Standards-Version should be used to match your target Debian/UOS tooling.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
Note
详情{
"debian/control": [
{
"line": "Homepage: http://www.deepin.org",
"line_number": 24,
"rule": "S35",
"reason": "Url link | 6fe814dfb7"
}
]
} |
deepin pr auto review这份 以下是对该变更的详细审查意见,涵盖语法逻辑、代码质量、代码性能和代码安全四个方面: 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全
改进建议
总结这次修改在逻辑上正确,有助于统一技术栈到较新的 Qt6 版本,有利于长期维护和安全性。主要问题在于包含了不必要的临时文件 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: LiHua000, lzwind 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 |
|
/forcemerge |
|
This pr force merged! (status: unstable) |
b1e815e
into
linuxdeepin:develop/snipe
Log:as title
Summary by Sourcery
Build: