Skip to content

Conversation

@KT-lcz
Copy link
Contributor

@KT-lcz KT-lcz commented Jul 10, 2025

feat: 每次检查更新时自动安装更新相关组件

每次检查更新时自动安装更新相关组件

Log: 每次检查更新时自动安装更新相关组件
Task: https://pms.uniontech.com/task-view-378889.html
Influence: 提升更新稳定性

每次检查更新时自动安装更新相关组件

Log: 每次检查更新时自动安装更新相关组件
Task: https://pms.uniontech.com/task-view-378889.html
Influence: 提升更新稳定性
@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: KT-lcz

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

@deepin-ci-robot
Copy link

deepin pr auto review

代码审查意见:

  1. .gitignore 文件新增了 gopath,需要确认是否确实需要忽略 gopath 目录,因为这通常包含 Go 项目的依赖包,不应该被忽略。

  2. lastore-daemon.service 文件中新增了 Restart=on-failureRestartForceExitStatus=2,需要确认这些配置是否符合服务的重启策略,以及 RestartForceExitStatus=2 是否有特定的含义。

  3. 99lastore.conf 文件新增了 /var/lib/lastore/lastore-download-delay 的规则,需要确认这个规则是否必要,以及它对系统的影响。

  4. proxy.go 文件中新增了对 environnil 的处理,这是一个好的实践,可以避免潜在的空指针异常。

  5. message_report.go 文件中新增了 TpUpdateTime 字段,需要确认这些字段的用途,以及它们是否应该被序列化到 JSON 中。

  6. main.go 文件中 refreshUpdateInfos 方法的调用新增了一个参数 false,需要确认这个参数的用途,以及它对更新流程的影响。

  7. manager.go 文件中 installSpecialPackageSync 方法新增了返回值,需要确认这个方法是否应该返回错误信息。

  8. manager_update.go 文件中 updateSource 方法新增了对 UpgradePackageName 的处理,需要确认这个包名的正确性,以及它对更新流程的影响。

  9. manager_update.go 文件中 refreshUpdateInfos 方法新增了对 DelayAutoDownloadFlag 的处理,需要确认这个标记文件的作用,以及它对自动下载策略的影响。

  10. manager_update.go 文件中 updateSource 方法在 EndStatus 钩子中新增了对 installedUpgradePart 的检查,需要确认这个检查的必要性,以及它对更新流程的影响。

  11. manager_update.go 文件中 getCoreList 方法新增了一个常量 TimeOnly,需要确认这个常量的用途。

  12. manager_update.go 文件中 refreshUpdateInfos 方法新增了对 delay 参数的处理,需要确认这个参数的用途,以及它对更新流程的影响。

总体来说,代码的改动看起来是为了增强服务的稳定性和自动更新功能,但是需要更多的上下文信息来确认这些改动的具体影响。

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jul 10, 2025

TAG Bot

New tag: 6.2.25
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #194

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 1, 2025

TAG Bot

New tag: 6.2.26
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #198

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 15, 2025

TAG Bot

New tag: 6.2.27
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #204

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 22, 2025

TAG Bot

New tag: 6.2.28
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #206

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 29, 2025

TAG Bot

New tag: 6.2.29
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #209

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 19, 2025

TAG Bot

New tag: 6.2.30
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #215

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 26, 2025

TAG Bot

New tag: 6.2.31
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #223

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 28, 2025

TAG Bot

New tag: 6.2.32
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #225

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 11, 2025

TAG Bot

New tag: 6.2.33
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #231

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 17, 2025

TAG Bot

New tag: 6.2.34
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #235

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 31, 2025

TAG Bot

New tag: 6.2.36
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #250

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Nov 7, 2025

TAG Bot

New tag: 6.2.37
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #255

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Nov 21, 2025

TAG Bot

New tag: 6.2.38
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #258

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Nov 28, 2025

TAG Bot

New tag: 6.2.39
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #260

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Dec 5, 2025

TAG Bot

New tag: 6.2.40
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #266

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Dec 19, 2025

TAG Bot

New tag: 6.2.41
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #270

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Dec 26, 2025

TAG Bot

New tag: 6.2.42
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #272

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 4, 2026

TAG Bot

New tag: 6.2.43
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #278

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