Commit Graph

146 Commits

Author SHA1 Message Date
huqinghong 5bde1429a8 refactor: 包管理支持任意仓库名
包管理支持任意仓库名

Log:
2022-12-08 17:12:28 +08:00
Chen Linxuan 0b52ab9ab3 style: run cmake-format
Change-Id: I061cc7d09dc899ea3fcbcbf5a5074e9a880d01d0
2022-11-22 17:09:38 +08:00
huqinghong bb742dcaf9 refactor: test 代码风格调整
test 代码风格调整

Log:
Change-Id: I4d306b1abaeae7127858b796e4293e43a9eed829
2022-11-22 15:59:01 +08:00
huqinghong 7ffbd4455f refactor: ll-package-manager 开源改造
ll-package-manager 开源改造

Log:
Change-Id: Id35975c879a834959947430380a4e72c9d1bcf71
2022-11-21 10:44:38 +08:00
huqinghong 5e83cd2004 refactor: 调整服务名与部分源码结构
1. 调整space.linglong.Service.desktop服务名
2. 调整部分源代码目录
3. 调整脚本默认仓库地址

Log:
Change-Id: I8d4eb2be70fc09538defb53a5e402727626540ae
2022-11-09 16:11:35 +08:00
huqinghong bef9bcc5d3 refactor: system_packmanager改为packmanager
system_packmanager改为packmanager

Log:
Change-Id: Ieb79a89c391baeb73ada9e89098069b307162da2
2022-11-02 13:56:28 +08:00
chenhuixing 1432eced4d refactor: 修改builder推送文件方式
推送压缩包而不是ostree数据

Log:
Change-Id: I3aa93ee0347c6bcc9f659116b365c9f7fac6d6e2
2022-11-02 11:48:08 +08:00
huqinghong 68394e624f refactor: ll-service、job服务名从com改成org
ll-service、job服务名从com改成org

Log:
Change-Id: I84c8ca6abeb07daee5560558837085349352f478
2022-11-01 17:23:36 +08:00
huqinghong 269daa4a49 refactor: 包管理相关文件路径调整
包管理相关文件路径调整

Log:
Change-Id: Idfcc357c2c224f54aa984fd5960f4d847853c4e7
2022-11-01 11:41:34 +08:00
Chen Linxuan 2cc9e3f413 style: run clang-format
Just run clang-format for all source files

Change-Id: I57d44a19d8bfc88cc101326c4b6d60b6c0869474
2022-11-01 09:56:22 +08:00
huqinghong cf72cbf20d Revert "refactor: 包管理相关文件路径调整"
This reverts commit 7c0fc72523.

Reason for revert: 与linglong-bin 3.16转测版本冲突了,优先保证转测版本

Change-Id: I8ef9ae8c9965ea8c90af74f42e0dfa731e93f06d
2022-11-01 09:37:21 +08:00
huqinghong 7c0fc72523 refactor: 包管理相关文件路径调整
包管理相关文件路径调整

Log:
Change-Id: I14f3d06d660011eed0c969e52f0092a236af9f4a
2022-10-31 14:38:18 +08:00
liujianqiang cc7c9bcd88 fix: mount /dev
mount /dev for specify app.

Bug: https://pms.uniontech.com/bug-view-162385.html
Log:
Change-Id: Ieb100d40c378f1de143691a57c425061027088cc
2022-10-20 21:49:12 +08:00
huqinghong 9d8dc969e2 fix: 多channel模式特定场景下应用无法更新问题
多channel模式特定场景下应用无法更新问题

Log:
Change-Id: I36d82ce489d4bb25c5374727e4ed9b6c7397a9ed
2022-09-08 16:20:35 +08:00
lihe fbc4baeb3a
refactor: add install portal fix dock plugin
- WARN: it is not safe to portal file in linglong to host, every install
portal need review.
- Fix that dock can not load plugin. The plugin is part of dock binary
code, not linglong package.

Change-Id: I4557d7e005d890125a1d0fb6af7f0a5fdf8687c1
2022-09-06 10:12:14 +08:00
lihe 0c4a1120f6 refactor: fix the error package manager name
- the package manager is not system-helper, correct that issue.
- the dbus service should be org.deepin.linglong.PackageManager.

Change-Id: Ib66fd2d20dcfcd0557184fb6812151ce17df90e7
2022-09-02 09:52:33 +08:00
lihe 07b4c9f8fc fix: memory leak when use loadJson
load json return an QObject*, the caller need free it

Change-Id: Iefd66f1da7b0717f6852398fdaadb462c7ffe803
2022-08-29 11:57:25 +08:00
Heysion Yuan 211dbbea9c Revert "test: add test demo data"
This reverts commit 1f3949c4df.

Change-Id: I27fe4eabfa17a523b8dada3aec5df2ad4d30b991
2022-08-26 21:43:20 +08:00
huqinghong b7e8860973 fix: 包管理安装卸载更新支持调试符号
包管理安装卸载更新支持调试符号

Log:
Change-Id: I730286d3db4db9e7743368b7ca5e207d51931a87
2022-08-18 13:17:23 +08:00
Heysion Yuan d58e5622e5 Revert "add: add demo pkg data"
This reverts commit e1b73deb34.

Change-Id: Iea015f8c95088738b91e13ede52ef8461ddd5443
2022-08-18 11:04:17 +08:00
lihe 869dda75ba refactor: new push/pull api
- push ostree commit/metadata/filez with http
- pull ostree with ostree_repo_pull_with_options
- use /etc/linglong/builder.yaml, ${HOME}/.config/linglong/builder.yaml
as config.

Log:
Change-Id: I7e8ede3ba1c52454bd9017a0a5abf9ff5e32b243
2022-08-15 09:50:12 +08:00
lihe 967fff8118 feat: support string map of serialize QObject
- QMap<QString,QPointer<Type>> is declare as TypeStrMap
- refactor serialize macro to util/serialize/serialize.h

Log:
Change-Id: I3071c3c13d7f6a117bbcedd9d60bdc8943642635
2022-08-04 15:25:14 +08:00
huqinghong ae50769bd4 feat: 包管理安装卸载更新增加channel、module字段
包管理安装卸载更新增加channel、module字段

Log:
Change-Id: I21f4b3b845f74602db92c237d0579c47c8ba6cf4
2022-07-26 17:44:03 +08:00
Li He 1a32ca50ad refactor: add http_client/ostree_repor for new apie
- clean libostree api, move to ostree/ostree_repo
- clean http client, remove curl as soon as possbile

Change-Id: I79363fc6da11c4be50d619828b9978f796062a70
2022-07-26 10:30:22 +08:00
Li He b1054a5c5e refactor: move app status and cache to package manager module
Other module should not access app status/cache directly.

Log

Change-Id: I80865774d024b5ddb1f28a5eb3b001b79486186d
2022-07-24 20:03:02 +08:00
Li He e6923e47a6 refactor: add cmake-format config
- use cmake-format to make CMakeLists.txt clean
- adjust all CMakeLists with .camek-format.py config file

Log:
Change-Id: I12020db02a9c33044aa6011f61fe4aa9667a873b
2022-07-24 19:41:02 +08:00
huqinghong 483d44fe9c refactor: 优化包管理ll-cli安装卸载不经过ll-service
优化包管理ll-cli安装卸载不经过ll-service直接调用llsystem-helper

Log:
Change-Id: I72d9121898a5b07fa09d70e1af89b587e6985bf8
2022-07-12 14:36:43 +08:00
liujianqiang a8d090a7f2 fix: 调整仓库模式为bare-user-only
调整仓库模式为bare-user-only,因为bare-user模式不支持tmpfs.
推包commit增加--canonical-permissions参数,去掉g与o写权限与suid,guid权限。

Log:
Change-Id: I8faf76f1aa5d38f19f7839d12d03c135e52b9d09
2022-07-12 11:23:14 +08:00
liujianqiang 3de0bb20f6 fix: 调整仓库模式为bare-user
调整仓库模式为bare-user,bare-user-only不能拉取权限为777文件。

Log:
Change-Id: I3432036d6bf5fe3ae98f9c028a9a810d7336c8ea
2022-06-29 14:22:27 +08:00
huqinghong d0fa548536 fix: 补充玲珑包管理测试用例
补充玲珑包管理测试用例

Log:
Change-Id: I912715a97909f020c43574c65a13ef693a04eb6d
2022-06-20 19:33:28 +08:00
huqinghong 28ed30e09a fix: 包管理查询服务器时有文件锁不支持同时查询
包管理查询服务器时queryRemote有文件锁不支持同时查询

Log:
Change-Id: Idfc4ea856b5e7dbafccbf53cfc71b46e4fb28dd2
2022-05-24 14:56:40 +08:00
yuanqiliang 32f4da787a refactor: rename fs.h to file.h, fs.cpp to file.cpp
Log:
Change-Id: I8e787d71d19e6f4b190408a123a612a9dc46f0cd
2022-05-13 09:27:35 +08:00
yuanqiliang 41ecb41631 feat: 复用QThreadpool实现sqlite连接池
1. 实现sqlite连接池
2. 简化sql增删改查写法

Log:
Change-Id: If5010f2f90a0c2d1f97bbfab831fa84c380f692e
2022-05-12 21:03:20 +08:00
black-desk 2a85531027 style: perform clang-format
run clang-format on some files

Change-Id: I55d4917c35bca3f2735a0c34abbc8c9969e9d871
2022-05-12 13:28:16 +08:00
huqinghong cd3f29a204 fix: 包管理多用户适配
包管理多用户适配、包管理安装数据库适配

Log:
Change-Id: I03e1875fb1c01147231b836872177c9da0e7ccad
2022-05-12 09:25:09 +08:00
liujianqiang 6bab478cb2 fix: 调整玲珑安装路径
调整玲珑安装路径,不同系统版本安装的位置不同。

Log:
Bug: https://pms.uniontech.com/bug-view-126683.html
Change-Id: Id65c11a381628d8f4a615a44183901072f084a2c
2022-05-12 08:50:50 +08:00
yuanqiliang 6d5bba7148 refactor: 单例模式统一使用宏简化
Log:
Change-Id: Ief857f752f7dc05af94aecca8fbda33673f685c2
2022-05-05 10:23:15 +08:00
yuanqiliang f39dfd6fa3 refactor: 更改注册自定义类型文件名为register_meta_type.h
Log:
Change-Id: Ic63a8c22daf49421469677655a26044f0b0e22a1
2022-05-05 10:23:15 +08:00
yuanqiliang cb7154f3cc refactor: 枚举风格统一
Log:
Change-Id: I6ef3962bac424d02774e284ce84a55c9a832a070
2022-04-28 11:42:13 +08:00
yuanqiliang 2d16d1411c refactor: 去掉前置申明命名空间
Log:
Change-Id: Ibb2b7493d8b4cb7b8e1a510eb7ffa2b3905f02c8
2022-04-28 11:22:14 +08:00
yuanqiliang df0522448f refactor: 枚举状态码移到src/module/util/下
Log:
Change-Id: Ic8f2f1644dd0a644b9ab4a99662430c4ab7d0335
2022-04-27 21:30:45 +08:00
huqinghong 1d36bad49e refactor: cli start kill 整改
start kill 整改返回值及入参

Log:
Change-Id: Ie07a8086caad34f89bd009b22dd184824c680e96
2022-04-27 15:53:56 +08:00
huqinghong 7ccdeef6a0 refactor: cli query 返回值整改为json
cli query 返回值由结构体数组整改为json

Log:
Change-Id: I4cc9ead088a722d55b1764f8ea0fa415d8f9fc2b
2022-04-27 11:41:25 +08:00
huqinghong a0c5a9ad2b refactor: 将包管理命令uninstall query命令优化
优化包管理命令uninstall query命令参数和返回值

Log:
Change-Id: Iea94dd86a75fc8047372d47656459e428adcd456
2022-04-26 09:47:47 +08:00
yuanqiliang 793a3cd222 refactor: DBus install、update接口入参、返回值改为struct
Log:
Change-Id: I7f6604ca770b7d87648deaea1a62da5641997fe7
2022-04-24 21:26:13 +08:00
huqinghong 61ddeebc09 fix: repohelper_test编译告警
repohelper_test编译告警及用例问题

Log:
Change-Id: I55804f6129d0fcab1306617c2dbbc2e4c2abfc4f
2022-04-24 15:17:35 +08:00
huqinghong 9fff01a160 fix: 多用户场景下软件包卸载后显示异常问题
多用户场景下软件包卸载后后list命令仍能查到

Log: 优化代码结构
Change-Id: I76410df0caa0e934446300d84c7957eedad88b09
2022-04-19 09:54:57 +08:00
yuanqiliang 82b053a48d fix: AppMetaInfo类放到namespace中
Log:
Change-Id: I5d8bfa5c78c490d9577aad86e24c91b6fc347460
2022-04-18 20:17:23 +08:00
yuanqiliang a88a6d10c6 fix: resolve the crp and dtk dependency conflicts
use CRTP to fix this conflict

Log:
Change-Id: Ie6399f3738e822d7753937ec0705ba88f93c8c07
2022-03-29 15:46:18 +08:00
Heysion 5147606096 feat: add testcase for runtime app header file
给runtime/app.h 增加测试用例

Log:
Change-Id: I0a2d35ecbdaa08aeffd9b37edd6c9f1a1adae13c
2022-03-29 11:06:04 +08:00