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
Your Name
ec7ad15851
fix: support serialize with full namespace
...
The type system of C++ can not get the full type when build. if you
define two same class names like "Mount" in the global namespace, there
is no way to deserialize it because of name conflict. But when you put
it in a different namespace, the qRegisterMetaType can not deduce
the full namespace of "Mount", it can not find the exact converter
function by the template.
The only fix is to set the full namespace when you use Q_PROPERTY
or Q_JSON_PROPERTY/Q_JSON_PTR_PROPERTY in this project. for example:
Q_JSON_PROPERTY(linglong::test::MountList, mounts);
Also you should do that:
1. D_SERIALIZE_DECLARE(Mount) just behind class Mount;
2. D_SERIALIZE_REGISTER_TYPE_NM(linglong::test, MountRule) in the header
file in global namespace;
3. call qJsonRegister<linglong::test::Mount>() only once before
you use this serialize system;
TODO:
The serialize code should spilt to meta_serialize.h and json.h/yaml.h
just process the special file format.
Change-Id: I1eb7d68097eb71d07ea0e1421c078a3d65e86b1a
2022-03-16 09:41:04 +08:00
huqinghong
a5eda5e3d4
feat: 包管理cli 增加update功能
...
包管理cli 增加根据appID update功能:
ll-cli update "org.deepin.album/5.9.8"
Log:
Change-Id: Ic1a9b94ef465808650b396d325cf953c30b8ea8b
2022-03-14 19:19:00 +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
44c9dbacd7
feat: app loadConfig load user filesystem permission
...
加载user permission
Log:
Change-Id: Ie6acf917c53dde71c0499e4a6437e2cc6619315b
2022-03-13 14:52:50 +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
huqinghong
08e5be213a
fix: 多版本场景查询时sqlite版本号排序错误
...
多版本场景查询时sqlite版本号按字符排序,导致获取的最高版本不准
Log:
Change-Id: I87dd30c008258515d2732b51f177b94e14c7c879
2022-02-28 15:15:47 +08:00
black-desk
0e2b615148
fix: add "rbind" to all bind mounts
...
* Add "rbind" option to all bind mounts
* Remove "ro" option when mounting X11 socket
Change-Id: Id4f3b5d9c7379791fe00218db77b9055bf810cd0
2022-02-17 09:47: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
black-desk
93118f2535
style: code style
...
* follow "lower camel case" code style
Log:
Change-Id: Ie7cff5ec55541d709a49f983aed02a5c9836d796
2022-01-24 17:13:56 +08:00
huqinghong
7e2c1c929a
refactor: 优化代码结构
...
使用DSingleton实现httpclient单例
Log:
Change-Id: I8efcf266f3da141d3b8e2250cfeaea6435639440
2022-01-19 15:34:26 +08:00
liujianqiang
2175b364e4
fix: 代码命名风格优化
...
appid和appID统一命名为appId
部分函数,变量修改为小驼峰命名
Log:
Change-Id: Ic4b56edbbcfc8484827aa61a40e439648ff009a4
2022-01-18 19:45:43 +08:00
huqinghong
665cb401eb
refactor: 优化代码风格
...
修改变量和函数命名为小驼峰形式
Log:
Change-Id: Ieffc1510c464470234204f93e2fbdbe37d0c8734
2022-01-17 19:45:08 +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
huqinghong
10f0912e1c
fix: 适配新的ref格式及runtime
...
包管理适配新的ref格式及runtime
Log:
Change-Id: Ibe1b8f823ed7b27f6dc580a9b9eb35063f437f9e
2021-12-10 11:06:12 +08:00
huqinghong
5529dd01d0
refactor: 重构包管理相关代码
...
包信息文件PKGInfo.h与package.h合并为package.h
Log:
Change-Id: If5c1a4cbf3102a25c3d7281f7bd2ea8c1d4791e4
2021-12-08 14:13:27 +08:00
huqinghong
3f74f4dcbc
feat: 包管理cache功能
...
增加包管理查询cache功能,使用sqlite3 db文件作为cache
Log:
Change-Id: I0bcacb5bbe897a0d9011f7383d6a642cd62e642b
2021-12-07 21:21:16 +08:00
huqinghong
8e7a412dc6
refactor: 代码结构优化
...
重构uap相关代码
Log:
Change-Id: I9247c73c6ca51fd2e0d6f2c3c701cbbc0867858c
2021-12-01 20:28:35 +08:00
huqinghong
80be08fcc1
refactor: 重构包管理相关代码
...
重构包管理OUAP相关代码
Log:
Change-Id: Ica864ab8d56b6bf2d07e64721d64c07c7aba1d94
2021-11-26 14:55:30 +08:00
liujianqiang
cf39c0e4ae
fix: 移除uap_manager.cpp与uab_manager.h
...
移除uap_manager相关dbus接口与文件
Log:
Change-Id: I858222f5910ecd837f401fe88a853e846788dfe8
2021-11-26 13:39:59 +08:00
yuanqiliang
6f6c70de19
fix: ll-test模块调整
...
文件头开源协议修改、头文件include调整、cmake调整
Log:
Change-Id: I6bb69a7ee8cfd2c983c4c4157cfd4e8e9418cf88
2021-11-26 12:38:04 +08:00
yuanqiliang
16bb676029
fix: ll-service模块调整
...
文件头开源协议修改、头文件include调整、cmake调整
Log:
Change-Id: I783bf6a44b70bd526e340389e341167d540d2412
2021-11-26 11:35:20 +08:00
huqinghong
9ebf6b5ad0
fix: 删除冗余代码
...
删除cli侧冗余代码及APPSTREMGLIB
Log:
Change-Id: I7c395eab310f179342030856e1aa57804d043e69
2021-11-24 21:23:36 +08:00
huqinghong
2569cf9637
fix: 玲珑flatpak适配
...
玲珑flatpak安装卸载查询命令适配
Log:
Change-Id: Ie524e9d8936ebc7212e259cad48a7337e0cb71a7
2021-11-20 13:42:19 +08:00
huqinghong
b25bd2935b
fix: 包管理多版本适配
...
包管理多版本适配,增加包管理org.deepin.calculator/1.2.6格式ref适配
Log:
Change-Id: I9add977e3b824734690a393f1ae2b4a3da5812b8
2021-11-19 15:01:21 +08:00
lihe
bd082655b4
feat: remove ll-box
...
the ll-box is a mini sanbox for oci runtime, no need to build here
Change-Id: Ic225a24de8730a8c3614788f5c402de43bedb27c
2021-11-15 17:18:52 +08:00
huqinghong
6a3102177f
fix: 卸载时删除本地仓库ref及数据
...
卸载时删除本地仓库ref及数据
Log:
Change-Id: I357cbe53d9f7064aa9128986ab16114017489390
2021-11-10 15:41:31 +08:00
huqinghong
475a624b36
fix: API 适配多版本
...
API 适配多版本
Log:
Change-Id: I6d6657ca323942b2b30acb900f601a40cabd6413
2021-11-08 20:49:57 +08:00
lihe
921afacb5f
fix: remove crypto lib
...
do not need deal with sign now, and use QCryptographicHash if need.
Log:
Change-Id: I8383f842d20f48b0eeda2e61dc85a71698fc7aa4
2021-11-08 11:40:17 +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
huqinghong
d07b63e62b
feat: 增加模糊查找功能
...
增加模糊查找功能,不区分大小写
Log:
Change-Id: I9e14c15ac1ea1bbce7eab5f92f4f1f337aa3104e
2021-11-03 14:24:56 +08:00
huqinghong
2204d62f6f
fix: 适配新的repo仓库地址
...
适配新的repo仓库地址
Log:
Change-Id: I2d848c8c68a35eb73d1411c2de667c9cd22adf70
2021-10-30 11:41:50 +08:00
liujianqiang
8a0916bf1c
feat: add uap manager test case
...
add uap manager test case
Log:
Change-Id: I68bf689e6c91f62d362645c24a48cea54685ca22
2021-10-29 16:42:58 +08:00
liujianqiang
0be6eec6ab
fix: 去掉在线包制作默认数据仓库路径
...
数据默认仓库路径与系统仓库路径冲突
Log:
Change-Id: Ifc503b4743be3f46b9b266f8265897a917a92eda
2021-10-29 14:22:33 +08:00
huqinghong
8e326b7c3f
fix: 优化代码结构
...
优化代码结构
Log:
Change-Id: I2ed9f50c87aaec17cab60bf4aba0a4ae8be9dfd5
2021-10-27 16:00:06 +08:00
Heysion Yuan
5af28e1086
fix: singleton test data race
...
Fix singleton test data race
Log:
Change-Id: I08b32ed87380418c3341e6a624eab53a503a4dbf
2021-10-21 20:47:16 +08:00
Heysion Yuan
95b4d73d2d
feat: add singleton on service package manager appinfo
...
Add singleton on service package manager appinfo
Log:
Change-Id: I370b09b308a76fd341682dd17a0098f7829dbcb7
2021-10-21 20:02:44 +08:00
huqinghong
26a24fff8d
feat: add query func
...
add query func
Log: add query func
Change-Id: Id7c4ed17edaa24e3f1d810f897c1641b37bb74f9
2021-10-19 17:00:12 +08:00
huqinghong
d28d2b52ac
fix: fix dbus ret msg
...
fix dbus ret msg
Log: fix dbus ret msg
Change-Id: I04bd9472f4af9a1cfc5d387dca604574418e884d
2021-10-19 14:44:36 +08:00
liujianqiang
2a4f3c58c1
fix: 删除/tmp/uap-xxxx临时目录
...
删除/tmp/uap-xxxx临时目录
Log: 删除/tmp/uap-xxxx临时目录
Change-Id: I42b964a200e99d6ea998381ae66bf27f228345d7
2021-10-19 11:14:05 +08:00
Heysion Yuan
cbe72fb027
feat: add test case start dbus api
...
Add test case start dbus api
Log:
Change-Id: Ieb68ca2d5d6e259c9bf7a303d560df34d0311340
2021-10-18 17:35:38 +08:00
Heysion Yuan
56379a24b6
feat: add qdbus return message test case
...
Add qdbus return message test case
Log:
Change-Id: Ieb973e59c188f6776731ae4f43dcef4b4243a7db
2021-10-15 17:08:45 +08:00
Heysion Yuan
ece1682d7e
feat: add qdbus return message template
...
add qdbus return message temlpate
Log:
Change-Id: I03c08d1f79397b6b4e13c96feaecc1e1dcd7a0a1
2021-10-15 12:04:08 +08:00
liujianqiang
c2bc015038
fix: 修复在线包制作test case 报错问题
...
修复在线包制作test case 报错问题
Log: 修复在线包制作test case 报错问题
Change-Id: I14f619cad5df9cdff44c2f78e298716d752f71fb
2021-10-08 19:59:47 +08:00
liujianqiang
2b40b71d5c
fix: 增加测试case判断条件
...
增加测试case判断条件
Log: 增加测试case判断条件
Change-Id: Iec6d9dce6005d7053aa2410eae5909cb4c89e952
2021-10-08 11:41:06 +08:00
huqinghong
4a683e98c7
fix: fix the task of 84537
...
modify code style
Log: modify code style
Task: https://pms.uniontech.com/zentao/task-view-84537.html
Change-Id: Ie64b559073b63dea8c5a32f18de577db524340b9
2021-10-08 11:16:45 +08:00
liujianqiang
52452abf60
feat: 把在线包数据存入ostree仓库并元信息中导入commit
...
把在线包数据存入ostree仓库并元信息中导入commit
Log: 把在线包数据存入ostree仓库并元信息中导入commit
Change-Id: I7c6c42f202c6cda358f7ccfb512bc0efc962a389
2021-09-30 21:01:14 +08:00
liujianqiang
29132e2438
feat: 添加离线包test case
...
添加离线包test case
Log: 添加离线包test case
Change-Id: I109844fac183ffbffb08bd1cb67c2934cbe042e6
2021-09-28 21:15:55 +08:00
liujianqiang
f67c870cae
fix: 取appid为uap包名
...
取appid为uap包名
Log: 取appid为uap包名
Change-Id: I29e322e6c0dd3338c5c37e725dfa631db3b7d396
2021-09-28 19:40:34 +08:00
Heysion
e9d376d38c
feat: add install after link yaml file
...
Add install after link yaml file
Log:
Change-Id: If5d664173f1b3fc69d63543008af3bc5c5534ca7
2021-09-28 17:12:04 +08:00
liujianqiang
2c85c5f71d
fix: 删除解压临时目录
...
删除解压临时目录
Log: 删除解压临时目录
Change-Id: Id75db786f91edd5cc53a07d4cdb5de206b8566f6
2021-09-27 21:24:55 +08:00
liujianqiang
b8073ac42c
fix: 修改uap.json格式
...
修改uap.json格式
Log: 修改uap.json格式
Change-Id: I13e256b62f781f5a2fa0242810339f333886412c
2021-09-27 11:54:50 +08:00
Heysion
b5d4877ccd
fix: fix cmake only x86_64
...
Fix cmake only x86_64
Log:
Change-Id: I3133d06ebda1e92cd0ab623dcdd805e910b98473
2021-09-27 11:42:23 +08:00
Heysion
cd0657bbe9
test: update test data desktop file
...
Update test data desktop file
Log:
Change-Id: I56cc54643377a43ae88d3d1c967c78333f6e506a
2021-09-27 10:18:29 +08:00
Heysion
1f3949c4df
test: add test demo data
...
Add test demo data
Log:
Change-Id: Ic72b370025fdfbe59162dfee59c98a99d0afb43f
2021-09-26 21:57:07 +08:00
Heysion
8b145c9c56
fix: clean test data dir
...
Fix clean test data dir
Log:
Change-Id: If9cb715b54ffc7531d9bb5ed3c31eee8021a2c4d
2021-09-26 14:42:58 +08:00
Heysion
6baeac64af
fix: fix util-fs test case
...
Fix util-fs test case
Log:
Change-Id: I13a47792c7a983beb98cc062a3610b7a8c2369dd
2021-09-26 14:28:55 +08:00
Heysion
1746b1a442
feat: add listDirFolders in fs.h
...
Add listDirFolders api in util fs
Log:
Change-Id: I3e7a7d3440ff1d8ca00004f4366266602f42991f
2021-09-24 16:38:14 +08:00
huqinghong
5824b7d119
fix: fix the task of 84537
...
modify compile warnning
Log: modify compile warnning
Task: https://pms.uniontech.com/zentao/task-view-84537.html
Change-Id: I9eb3d24d88d22aed2f748dc4d3127e83205f372b
2021-09-24 15:08:24 +08:00
huqinghong
08aafdab0a
fix: fix the task of 84537
...
add appstream demo code
Log: add appstream demo code
Task: https://pms.uniontech.com/zentao/task-view-84537.html
Change-Id: Ibdd290f41ff285606cd279c2c5f3b30a81f7e9e2
2021-09-24 08:52:29 +08:00
liujianqiang
9cebc0aaa9
feat: 添加信息获取与在线包制作test case
...
添加信息获取与在线包制作test case
Log: 添加信息获取与在线包制作test case
Change-Id: I9c38b0dde8d7469fe97982aaf8982c0cd6ce03ed
2021-09-22 20:28:43 +08:00
huqinghong
d114e189ef
fix: fix the task of 84537
...
modify add linglong demo code
Log: linglong demo code
Task: https://pms.uniontech.com/zentao/task-view-84537.html
Change-Id: Ia30a4419015bedc35493140b3967cbf014f0ec1e
2021-09-22 10:39:39 +08:00
liujianqiang
76cd645a32
fix: 去掉签名test
...
去掉签名test
Log: 去掉签名test
Change-Id: I8ccc9c91d52795088510cb9ef5a1fe864dd2091c
2021-09-18 16:09:22 +08:00
刘建强
6705272649
fix: 修复gerrit编译报错
...
修复gerrit编译报错
Log: 修复gerrit编译报错
Change-Id: I729c38e0ab0c69505dd5ca606af82aa53b6c3cbe
2021-09-18 11:20:08 +08:00
Heysion
05a1e52003
fix: fix libuossv.h to libuossv/uossv.h
...
Fix libuossv include path
Log:
2021-09-16 22:18:12 +08:00
Heysion
b9bc512c6b
feat: add test uos sign api
...
Add test uos sign api
Log:
2021-09-16 22:12:05 +08:00
Heysion
fec67c4b49
fix: fix test demo and memory leak
...
Fix test demo memory leak
Log:
2021-09-16 22:10:58 +08:00
liujianqiang
483c3e101c
fix: 修复编译报错、离线包制作报错、测试报错问题
...
修复编译报错、离线包制作报错、测试报错问题
Log: 修复编译报错、离线包制作报错、测试报错问题
Change-Id: I375be6f936d19c045a3e42a16c4490f993fea785
2021-09-16 16:57:52 +08:00
Heysion
e1b73deb34
add: add demo pkg data
...
Add demo test pkg data
Log:
2021-09-16 09:58:16 +08:00
Heysion
fc4ef32999
feat: reset uap struct
...
Rest Uap Struct
Log:
2021-09-15 11:44:03 +08:00
Heysion
5073f3bc45
add:add uap config json
...
Add uap config json
Log:
2021-09-15 10:36:05 +08:00
liujianqiang
4a951b9a34
fix: add test case for extract
...
add test case for extract
Log:
2021-09-14 17:46:05 +08:00
Heysion Yuan
41ebf8f480
fix: fix asan build flags
...
Fix asan build flags
Log:
2021-09-09 17:22:10 +08:00
Heysion Yuan
942bfda811
Merge branch 'master' into uap-dev
2021-09-09 17:05:29 +08:00
Iceyer
b30b0ff418
feat: support enter container namespace
2021-09-09 16:08:41 +08:00
Heysion
c6bb0012ea
fix: build test case depends
...
Fix build test case depends
Log:
2021-09-08 22:22:34 +08:00
Heysion
2a1b9a781a
fix: test package case
...
Fix package test case
Log:
2021-09-08 22:22:04 +08:00
Iceyer
3d9e5237c5
feat: support dump qobject to dbus
2021-09-08 20:59:16 +08:00
Heysion
a004b0b13c
fix: Fix test_package.cpp package error case
...
Fix package error case
Log:
2021-09-07 20:45:45 +08:00
Heysion Y
eaa008aae0
Merge branch 'master' of gitlabwh.uniontech.com:wuhan/se/v23/linglong/linglong
2021-09-07 20:42:36 +08:00
Heysion Y
c1b425d991
add: add test package case
...
test package error case
Log:
2021-09-07 20:40:56 +08:00
Iceyer
af58ec6277
fix: set uid/git map failed
2021-09-07 18:04:07 +08:00
Iceyer
72de4c2084
fix: remove some build warning and test memory leak
2021-09-07 15:56:29 +08:00
Iceyer
707eff9552
feat: support uid/gid map
2021-09-07 10:11:05 +08:00
Iceyer
c18f56375f
feat: add exec prototype
2021-09-07 09:17:03 +08:00
Iceyer
4149c6fa23
fix: reset clang-format config
2021-09-06 09:18:15 +08:00
Heysion Yuan
d2f6b1dcf4
add uap0001
2021-09-02 21:12:28 +08:00
Heysion Yuan
2d9f0def40
fix qt_json test build failed
2021-09-02 20:02:10 +08:00
Iceyer
20251249c9
fix: fix memory leak
2021-09-02 10:12:59 +08:00
Iceyer
6df3b5a5d8
feat: add yaml support
2021-09-01 19:18:25 +08:00
Iceyer
9c26c3f4cb
feat: add qt json support
2021-09-01 17:08:36 +08:00
Iceyer
e70810e429
Init commit
2021-08-31 15:17:45 +08:00