huqinghong
5bde1429a8
refactor: 包管理支持任意仓库名
...
包管理支持任意仓库名
Log:
2022-12-08 17:12:28 +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
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
huqinghong
9d8dc969e2
fix: 多channel模式特定场景下应用无法更新问题
...
多channel模式特定场景下应用无法更新问题
Log:
Change-Id: I36d82ce489d4bb25c5374727e4ed9b6c7397a9ed
2022-09-08 16:20:35 +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
huqinghong
b7e8860973
fix: 包管理安装卸载更新支持调试符号
...
包管理安装卸载更新支持调试符号
Log:
Change-Id: I730286d3db4db9e7743368b7ca5e207d51931a87
2022-08-18 13:17:23 +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
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
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
yuanqiliang
2d16d1411c
refactor: 去掉前置申明命名空间
...
Log:
Change-Id: Ibb2b7493d8b4cb7b8e1a510eb7ffa2b3905f02c8
2022-04-28 11:22:14 +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
Heysion
4413e79d8f
feat: add testcase for info header file
...
给package/info.h 添加单元测试案例
Log:
Change-Id: I5c965636dd9b1764643c2386cbe38e9864bde892
2022-03-28 11:42:40 +08:00
Heysion
23dc1bc152
feat: add getPathInXdgUserConfig
...
增加通过XDG的KEY在XDG配置中查找路径的函数
Log:
Change-Id: I2ce6f0cad87c07011eb3c207c7aa0192b6afe838
2022-03-17 16:45:27 +08:00
Heysion Yuan
98e2f42cfe
feat: add xdg publicshare dir
...
添加XDG PUBLICSHARED 目录的处理
Log:
Change-Id: I362899c4c94b92f8aceae176cc7c588cc3c480d9
2022-03-14 17:27:53 +08:00
Heysion Yuan
c1bd4429a1
feat: add permissions on package info struct
...
在info.json中增加permssion的结构
Log:
Change-Id: Iddbd9e58d0742ac2649469c5d75a9f5c6846a6c6
2022-03-11 10:27:39 +08:00
Heysion Yuan
5a21fc0b5e
feat: add xdg key to dir path
...
添加使用xdg获取目录的接口
Log:
Change-Id: I19290feaf9664db011586d10a9b0652701887e12
2022-03-08 14:44:57 +08:00
liujianqiang
d9f958b5f4
fix: 转化参数中的特殊字符
...
在exec参数中的空格字符与双引号字符前添加转义\
不添加会导致无法解析参数路径中带空格或者双引号
Log:
Change-Id: I3ae852c847b14ed157b6f4a170c25930fb53f810
2022-03-08 13:07:42 +08:00
lihe
1c28742adf
feat: add builder for library
...
ll-builder now can build an lib from an yaml config.
Log:
Change-Id: Ia8b81077fe615182fea27a65c6cf192d305ba080
2022-02-15 11:30:01 +08:00
liujianqiang
2175b364e4
fix: 代码命名风格优化
...
appid和appID统一命名为appId
部分函数,变量修改为小驼峰命名
Log:
Change-Id: Ic4b56edbbcfc8484827aa61a40e439648ff009a4
2022-01-18 19:45:43 +08:00
lihe
cf99f67fe6
feat: add parseEnvKeyValue function
...
parseEnvKeyValue will fill key value string with env.
This function replace pattern like ${HOME} to env HOME.
Log:
Change-Id: Ib76ccdc5df28805c16420ba4d82a8386f7ef1e9f
2021-12-30 18:06:16 +08:00
yuanqiliang
6f6c70de19
fix: ll-test模块调整
...
文件头开源协议修改、头文件include调整、cmake调整
Log:
Change-Id: I6bb69a7ee8cfd2c983c4c4157cfd4e8e9418cf88
2021-11-26 12:38:04 +08:00
lihe
21be7fd155
refactor: add bundle and info.json
...
add module parse info.json and bundle file
Log:
Change-Id: I8a0fefc02f837b7fe94c46cdeb226a20eb573820
2021-11-08 10:30:03 +08:00
lihe
8d98ce77f6
feat: add stack result
...
usage:
in the origin error:
return dResultBase() << -1 << "this is level 1 error";
in the mid/top function:
return dResult(r) << -2 << "this is level 2 error";
Log:
Change-Id: I7f7612babf24ec887efe98a8ab0eb7e9263ca3f2
2021-11-04 16:06:23 +08:00