Commit Graph

749 Commits

Author SHA1 Message Date
chenhuixing 34e8bc2352 fix: rename export dir to appid
Avoid the export directory has the same name as the file under the source code.

Log:
Change-Id: I8fb6eba780800412e86704a90696e0a30bc07bc4
2022-08-12 18:21:00 +08:00
chenhuixing 66433683d6 chore: update debian control files
update some description and add some dependencies for ll-builder.

Log:
Change-Id: I40f140d3bfed97c6f0b34fc786543be579f64af3
2022-08-12 18:20:39 +08:00
chenhuixing ec8b951979 fix: add variables to depends
The variables should be added to depends.

Log:
Change-Id: If4cd5e97d019d69106814c387185d3b15ed8e389
2022-08-12 16:03:53 +08:00
chenlinxuan 5909445927 fix: adjust dbus configuration
Before this change, everybody can own name `com.deepin.linglong.SystemPackageManager`
on system bus, which is not acceptable.

Change-Id: Ib744d7778f74632c8df8e5b4d086a66a7826dff0
2022-08-11 11:22:16 +08:00
chenlinxuan de81beb35c fix: fix profile script error
/etc/os-release can be anything, might not have "VERSION_ID" in it.
  So after sed, $VERSION can be empty string, or even a string with
  space inside.

  We should always quote variable when we using it.

Change-Id: I14046270ef446c9f878c66336150735c44038dd0
2022-08-11 11:13:07 +08:00
chenhuixing bad6cc1154 chore: bump version to 1.3.3.6-1
1. update version.
2. fix missing ')'.

Log:
Change-Id: I3b406de96b16ad416d287211bfd1e2f8147d3c6d
2022-08-09 16:16:15 +08:00
chenhuixing 8e46f708d5 fix: fix obvious bugs
1. fix push failed if the url is not end with '/'.
2. fix builder run failed.
3. fix the inaccurate display of information prompts.

Log:
Change-Id: I40afef8bb98c89f62c9a072b7b3a0c34cef4be4a
2022-08-09 14:10:36 +08:00
chenhuixing 1d3c54f017 chore: update template.yaml
update initialization template file.

Log:
Change-Id: I600da618b5cfa1969b58dc1b5dfdfae7cc592f74
2022-08-05 18:41:25 +08:00
chenhuixing 52bbfa3a2a feat: support build dependencies from source
if the 'source' and 'build' tags are added to the project's 
dependencies,build the dependencies before building the project.

Log:
Change-Id: Ice3b8bf5201856e7c3190c3a2151c827960a8c36
2022-08-05 14:07:02 +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 ec8dc9a2b0 fix: 玲珑包管理修改dbus超时
玲珑包管理修改dbus超时

Log:
Change-Id: I6604b61168b0ec5ece61d3d340f6563dea11008d
2022-08-04 11:39:18 +08:00
liujianqiang 404f44f88b feat: bump version to 1.3.3.5-1
update version for deepin.

Log:
Change-Id: I8bbc26d52ac48ca44d360fe7cc172702102bf123
2022-08-01 20:49:46 +08:00
chenlinxuan da037d2b5f fix: Clean up env setup script
* Fix a error when $VERSION is empty;
  * Remove no effect code.

Change-Id: I435332cb0b646677bf6cdf71c64b1bc4fce20405
2022-08-01 20:36:23 +08:00
liujianqiang 7314411182 fix: gnome应用运行失败
overlay mount失效,待修复后改回.

Log:
Change-Id: I9f7335b667a5f06d54239336bb71221a126bfdfd
2022-08-01 13:12:22 +08:00
liujianqiang 55aa7c5763 fix: 规范post脚本格式
规范post脚本格式.

Log:
Change-Id: Ibdc753e6f54c2c1f9b79ad96d868ba73e424554b
2022-08-01 10:14:35 +08:00
huqinghong 906b60358a fix: 玲珑包管理帮助信息去掉flatpak提示
玲珑包管理帮助信息去掉flatpak提示

Log:
Change-Id: I25681a6eb289441495ebefbfe0634f02fed4ee9d
2022-07-29 17:17:13 +08:00
liujianqiang c35de8a208 fix: 设定使用最小空间为600M
1. 设定使用最小空间为600M.
2. 修改设置父仓库方式.

Bug: https://pms.uniontech.com/bug-view-151017.html

Log:
Change-Id: I826dd7dc7ef1eec5f3f32106245f315e889aa74c
2022-07-29 16:06:52 +08:00
liujianqiang 53258b0028 fix: 修复打印错误日志信息
修复在挂载成功的时候还是打印失败的日志。

Log:
Change-Id: Ia6f3e61341c180951a949ceb2c4c8d898337a372
2022-07-29 15:27:00 +08:00
chenhuixing eb70b35496 feat: support channel and module fields
1. Separate the runtime and devel files.
2. Push with specific channel.

Log:
Change-Id: If4deef102de17fbe5308d3a3b99fd023897ffa97
2022-07-29 14:25:28 +08:00
chenhuixing d81c075ba8 fix: additional command is executed after exec
if build with --exec, only execute the specified command.

Log:
Change-Id: I032875285783efda99c7cbfbf311c55c8f7a57ec
2022-07-28 21:01:04 +08:00
huqinghong f16705282e fix: 包管理特定场景提示信息不准确
包管理特定场景提示信息不准确

Log:
Change-Id: I4730be0f37df90726c29cf1dff1effcd055600d9
2022-07-27 14:41:42 +08:00
huqinghong ae50769bd4 feat: 包管理安装卸载更新增加channel、module字段
包管理安装卸载更新增加channel、module字段

Log:
Change-Id: I21f4b3b845f74602db92c237d0579c47c8ba6cf4
2022-07-26 17:44:03 +08:00
liujianqiang befd88d5e9 fix: update version to 1.3.3.4-1
1.update version to 1.3.3.4 for deepin.
2.wine应用挂载push保持不变。

Log:
Change-Id: Iadd68bf4973f76149452763a14bd65c46a5bd5f2
2022-07-26 11:25:14 +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
liujianqiang ee5f044a9b fix: ll-service增加RunCommand dbus接口
因沙箱内需要转发dbus信息,使用ll-service提供接口转发。

Log:
Change-Id: I40fa9d6170b05914527a75628083320bc4c3297b
2022-07-26 09:58:02 +08:00
chenhuixing d9c84f7aeb fix: adjust mount path of base
mount correct base path.

Log:
Change-Id: I4b0bd68b7165d6328916805262f15fdc1c7fa7e0
2022-07-25 22:08:19 +08:00
huqinghong 5dbb8dad63 feat: 更新权限管控配置文件格式
更新权限管控配置文件格式

Log:
Change-Id: I40615a97f8fde74a9199800057b992a0fa5e01b0
2022-07-25 15:38:04 +08:00
liujianqiang 43768666ad fix: Modify domain name for deepin
Modify domain name for deepin.

Log:
Change-Id: Id0ed1bc65908dfe7096ce3e0839440913c60ba45
2022-07-25 15:27:21 +08:00
liujianqiang 6e2e1bc45c fix: 增加base etc挂载
增加base etc挂载,适配ubuntu.

Log:
Change-Id: I42954ddaf1dfc213488560b82365f943e4da6e40
2022-07-25 13:07: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
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
chenhuixing 06a27b0fac fix: push failed return code 0
push failed should return nonzero integer.

Log:
Change-Id: I0b4de95fba03b739ff0f1ad8c26d9a8870203822
2022-07-22 17:08:55 +08:00
liujianqiang 4ec9eae95f feat: bump version to 1.3.3.2-1
update version to 1.3.3.2-1.

Log:
Change-Id: I041ab09eab4531f157c04057a4520a941f91c4b0
2022-07-21 16:58:28 +08:00
liujianqiang aa65a4b70f fix: 适配玲珑base
在其他发型版需要使用玲珑base,适配其运行环境.

Log:
Change-Id: Id6bfba815d783aa2b883a448af2d96d554a47ebf
2022-07-21 13:37:02 +08:00
huqinghong dbb6fe779f fix: 包管理cli侧特定场景更新应用提示信息不合理
包管理cli侧特定场景更新应用提示信息不合理

Log:
Change-Id: Ib869187d536c49e39f8d5cd669b85664a5f2452e
2022-07-20 11:06:25 +08:00
liujianqiang b3cc6a4182 fix: 启动相同应用在同一沙箱启动
启动相同应用在同一沙箱启动。

Log:
Change-Id: Ic954fc28f1642572c85c31ece943b80566924bb8
2022-07-19 09:57:48 +08:00
liujianqiang 170b4d2a1b fix: 适配debian发行版路径
采用从user-dirs.dirs配置文件读取挂载路径,适配debian.

Log:
Change-Id: Ia495105f5bfb6bc676c583cc3aecee7637d45f1f
2022-07-18 15:50:30 +08:00
lihe 4f7adc844f refactor: remove useless file
remove uab.h/uab.cpp and tracker.h/tracker.cpp

Log:
Change-Id: I6dc4a812d0f7fa08580cd3e768fe60dfc593ad8f
2022-07-18 09:29:27 +08:00
huqinghong 9697b6068c fix: 玲珑日志记录模块log_handler无法自动删过期日志文件的问题
玲珑日志记录模块log_handler无法自动删过期日志文件的问题

Log:
Change-Id: Ia55b2625ff92867dbd142b1aba9a6017e1094aee
2022-10-15 13:42:35 +08:00
huqinghong 08ed69c31f fix: 包管理下载任务管理jobManager应商店要求改成system级别
包管理下载任务管理jobManager应商店要求改成system级别

Log:
Change-Id: I363428a7539dda0522398d33fea2af6787792c8f
2022-07-14 21:37:43 +08:00
huqinghong c102d4e445 fix: cli侧--help去掉不用的命令参数
cli侧--help去掉不用的命令参数

Log:
Change-Id: Ic940a59123e0e0fc6ae725b63dec24da12940de4
2022-07-14 10:36:51 +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
huqinghong 84d0e31b68 fix: 优化包管理网络不可达时query信息提示
优化包管理网络不可达时query信息提示

Log:
Change-Id: Ia6293af6d22d15236c73ff2da8f61cf74ca38871
2022-07-11 19:51:38 +08:00
liujianqiang 25c049167f feat: bump version to 1.3.3.1-1
update version to 1.3.3.1-1.

Log:
Change-Id: I0a6d35117e79db961bea2accd6408b1d097a859f
2022-07-11 15:13:53 +08:00
huqinghong 004a3eaeac fix: 包管理安装临时仓库由/var/tmp迁移到/persistent/linglong/.cache
包管理安装临时仓库由/var/tmp迁移到/persistent/linglong/.cache(1050限制)

Log:
Change-Id: I80037ed56837a729aead7df015de70d1561ba542
2022-07-08 09:49:05 +08:00
huqinghong 7ff2f07210 fix: 包管理cli update一个不存在的包时提示信息不合理
包管理cli update一个不存在的包时提示信息不合理

Log:
Change-Id: I18f7ee2df2cc31a72f0c802f361f79846d147b05
2022-07-07 16:59:30 +08:00
huqinghong 0588d4bbad fix: cli侧带架构执行update命令时提示信息不对
cli侧带架构执行update命令时提示信息不对

Log:
Change-Id: Ic41bbcc76f1073020397f763dcf304a4b9aa2d76
2022-07-07 11:26:26 +08:00
huqinghong e78e1360a2 fix: 包管理安装时查询最高版本增加包名校验
包管理安装时查询最高版本增加包名校验

Log:
Change-Id: I4005db879b0045b32e34dcd407016786c7003905
2022-07-06 16:14:04 +08:00
chenhuixing 70cc77e942 feat: push with specific url
support push by a specific url.

Log:
Change-Id: Ie780b50ff6880df88c8fbd8c83752f77eb41435f
2022-07-06 15:28:10 +08:00