Commit Graph

775 Commits

Author SHA1 Message Date
lihe 78e3cea270 fix: link dfm context-menus files when install
- link files from files/share/applications/context-menus/*.conf to
/usr/share/applications/context-menus

Change-Id: I392c2e50180f056564213bbf9bf2ef627e46d73f
2022-09-08 11:52:22 +08:00
huqinghong 2f8a848ef8 fix: 增加u盘和home目录挂载到沙箱
增加u盘和home目录挂载到沙箱

Log:
Change-Id: I880864ebed6201de41eb0ff018c82d5e5bb7dda0
2022-09-08 10:52:05 +08:00
lihe 9ee241dfcf fix: add privilege portal white list
- Add whiteList to filter package that can use privilege portal

Change-Id: I4d0868a49c7c19f9aa975498a4b5c60dfb9a76c2
2022-09-06 21:01:09 +08:00
chenhuixing 6dcb76c41c fix: prevent ostree data from being modified
Make a copy instead of a link when exporting files.

Log:
Change-Id: I303d8c12dda1ae7f8f00663d570206d3de153627
2022-09-06 11:21:51 +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
Li He a7be2068b4 refactor: add system-helper
system-helper will fix install/run compatibility issue for applications.

it also deal some problem need root to fix, but never grant a privilege
for application.

Change-Id: Ie5035e1296edaeb4573c50ed7b4ead7ba1fe0bcb
2022-09-05 11:06:30 +08:00
chenlinxuan 42a74cd3ae doc: add fixme
add a fixme comment

Change-Id: I146337a637317de8087b91dd4ed73f9fa6e19a9f
2022-09-02 18:12:49 +08:00
lihe 950ecacf8d
refactor: remove download from cli
- no need download, if need an bundle, install and export it.

Change-Id: I98408d487564ad4fdea85d163f22e2f8df4f9fb5
2022-09-02 09:56:52 +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 379b49acf5 fix: free ostree object and dismiss qt dbus memory warning
- need free repoPtr with g_obejct_unref.
- unregister service/object to dismiss memory check warning.

Change-Id: I0a8d4f1702668a9d6de1adb542a5c382b9b0ef1e
2022-09-02 09:52:14 +08:00
liujianqiang d16c6b1d11 fix: 修复二次启动应用失败
1. 二次启动ref字段加入了channel与module字段,导致二次启动不进同一沙箱启动.
2. exec执行参数解析错误处理。

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

Log:
Change-Id: Ie86d43ec53f6c4e2095fa1cc33936bc1a2d01a79
2022-09-02 08:28:35 +08:00
chenhuixing fb130b55fb chore: add default configuration file
install default configugration file to /etc/linglong.

Log:
Change-Id: Ia22c4035b19a119ebaf50285cadc19b25ba0a1fb
2022-09-01 13:26:02 +08:00
huqinghong 4e191ad083 feat: 包管理ll-cli命令自动补全
包管理ll-cli命令自动补全

Log:
Change-Id: If95f58490a686de5e97ae25dfc28ab470029fbc0
2022-08-30 13:25:29 +08:00
liujianqiang 05e3c5238b fix: lintian error
fix lintian error.

Log:
Change-Id: I6e8313070023faacd4af99aa09a94ae31f21271b
2022-08-29 16:02:40 +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
chenhuixing e2c28d0e5d feat: calculate package size
After the build is successful, calculate the package size
and write it into info.json.

Log:
Change-Id: I1c6b4c379d44c165bcb3198923733b68a980708c
2022-08-27 09:46:38 +08:00
chenlinxuan 0a8501e493 feat: add PKGBUILD
* copy PKGBUILD from https://wiki.archlinux.org/title/CMake_package_guidelines
  * add some dependencies

  This is just a workround, dependencies list should be consider more
  carefully.

Change-Id: Ie70aea128d3d8f127496d1860231a6651d98835e
2022-08-26 21:46:24 +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
lihe dbffe60138 docs: remove help manual
- move help/manual to website project
- clean some legacy description

Change-Id: I7e06310d09d29913ee47190757d31065b22aaf5b
2022-08-26 21:43:01 +08:00
chenhuixing 855d627989 fix: pull latest dependency failed
if the version of dependency is unset, pull latest version.

Log:
Change-Id: Ic575f3480714d547efec1342175194d79f91dee3
2022-08-25 13:03:41 +08:00
liujianqiang addd36d826 feat: add uab mimetype
add uab mimetype.

Log:
Change-Id: I4e512f42c5ceec08880978f631ce1ddee68a4d17
2022-08-18 13:32:40 +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
chenhuixing 47f54d9536 docs: update template files in debian
update copyright and remove unused template files.

Log:
Change-Id: I272598bd21408790288c04f77bd090bbbf1fe69c
2022-08-17 19:48:14 +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
chenhuixing 62f53d5159 fix: check the yaml file before use it
If the yaml file is not exist, exit with wrong code.

Log:
Change-Id: I2fedb433b61ab3c9c9575c77135183c9952ccdae
2022-08-12 18:21:17 +08:00
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