Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync code to release 1.7 #905

Open
wants to merge 54 commits into
base: release/1.7
Choose a base branch
from

Conversation

dengbo11
Copy link
Collaborator

@dengbo11 dengbo11 commented Dec 4, 2024

No description provided.

@dengbo11 dengbo11 requested a review from myml December 4, 2024 02:42
@deepin-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dengbo11
Once this PR has been reviewed and has the lgtm label, please assign black-desk for approval. For more information see the Code Review Process.

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

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

@dengbo11 dengbo11 changed the title Sync code to release 1.7.1 Sync code to release 1.7 Dec 5, 2024
ComixHe and others added 27 commits December 5, 2024 13:34
If the reason is not "No such branch ...", do not fallback.

Log:
在旧版本玲珑中, $appid.install用于裁剪binary体积, 记录的文件路径需要带着$PREFIX
在新版本玲珑中, 裁剪会自动添加$PREFIX, 但兼容$appid.install文件的逻辑未考虑去除PREFIX
导致使用$appid.install的应用构建有问题
Remove updateAM, we can't connect to session bus now.

Log:
Default rules is enough. The extra rule allow the admin user
to skip authentication. Just remove it.

Log:
add sudo for ll-cli install,uninstall command

Log: update shell script
--prune and --all options should be provided for compatibility with older command line parsing.

Bug: https://pms.uniontech.com/bug-view-288097.html
Use BuilderBuildOptions to replace variable directly.
优化生成gdbinit的代码, 使逻辑更清晰
debug-file-directory使用绝对路径而不是substitute-path二次转换, 避免低版本gdb不支持
Use fallthrough to allow list,search,info,content sub command to support --json flags.
Return early if the current user is root.

Log:
在迁移后重新导出所有应用的entries, 避免数据残留影响功能
Adjust the log output level to debug, do not show extra information.
将软链接改为重命名时应该使用绝对路径
遍历entries目录时需要跟随软链接
非app包不应该导出entries
If the repository or cache file is not damaged, rebuildCache should not fail.

Log:
旧版本pkexec没有keep-cwd选项, 为兼容旧版本pkexec,
将相对路径的layer文件转为绝对路径
Support kill or enter application by appid.
Some packaging build platforms use the '-f' option, we must
provide for compatibility.
Option --repo-name should use correct variable.
dengbo11 and others added 27 commits December 5, 2024 13:34
1. Compatible with old versions to stop running app container using fuzz reference.
2. Only support enter running app container by fuzz reference.
剥离调试符号时应跳过已存在的debug文件, 这些文件可能是跟随deb导入的
export函数找不到layerdir时应该返回
After we removed support of multi-verison app, PackageTask must
ignore version to avoid installing multi-verison at the same time

Signed-off-by: ComixHe <[email protected]>
1. Develop module can not be installed without binary module.
2. Develop module should be remove when run uninstall app.
In linglong-bin.postrm, '>/dev/null' should be '2>dev/null'.

Log:
Use the correct logical operators to judge module.
修复builder在下载依赖时无法按Ctrl+C退出的问题
尝试使用QCoreApplication::aboutToQuit让任务停止没有效果, 所以使用了自定义的全局对象
tryMigrate should performe before construction ostree repo.
builder添加应用列表和删除应用的命令, 便于开发者清理构建缓存
兼容旧版本的runtime module
refactor the way of parsing and executing command
now parsing all args at first

Signed-off-by: ComixHe <[email protected]>
将玲珑版本号添加到user-agent便于服务端识别
If the layer dir is not exists, we just need to give a warning
instead of return with error.

Log:
The interface org.freedesktop.DBus.Introspectable can not be rejected in
dbus(1.12.20.11-deepin1). We use org.deepin.linglong.PackageManager.Prune
to identify permissions now.

Log:
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.

7 participants