Commit Graph

2321 Commits

Author SHA1 Message Date
myml 0450a2726c feat: supports selecting compression algorithm
在导出时传递参数自选压缩算法
layer默认使用lzma有更高压缩率
uab默认使用lz4可以更快解压速度,避免影响应用自运行
2025-03-18 15:16:36 +08:00
dengbo 534fb1b0f8 fix: dsg config not effective
DSG_APP_ID should be add to environment.
2025-03-18 14:52:14 +08:00
dengbo 05655fc764 feat: support export dsg config file
Support export dsg config file for self-developed applications.
2025-03-18 14:52:14 +08:00
ice909 4fa4148801 fix: Invalid symbolic links should also be copied
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-14 10:36:27 +08:00
ice909 52479429ae fix: relative symlinks to directories from becoming empty folders
When copying relative symlinks pointing to existing directories, they were incorrectly turned into empty folders.

Issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/1039

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-14 10:36:27 +08:00
ice909 f72413cdd3 fix: ostree init failed
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-13 14:07:41 +08:00
ice909 f5cb7a22c0 fix: preserve packages with different modules while filtering by version
Previously, packages with the same id but different module values were incorrectly treated as the same package, causing some to be lost.
This fix ensures that (id, module) is used as the unique key, preserving all distinct packages while still filtering by version.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-13 11:37:35 +08:00
ice909 1e9c45de71 fix: ostree repo config is not initialized
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-12 17:27:07 +08:00
ice909 b24d059538 fix: network exception waiting time is to long
Setting connection timeout is 1 second.

Issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/1041

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-12 16:31:23 +08:00
dengbo a0f68ba652 refactor: adust the behavior of install UAB
Do not Execute UAB when install UAB.
2025-03-12 16:30:56 +08:00
dengbo 845089d652 fix: app cannot be started immediately after exiting
Mount /tmp to tmpfs to prevent some files sharing.
2025-03-12 09:46:18 +08:00
ice909 498d9d1e9f docs: add build dependencies to build.md
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-11 21:22:32 +08:00
ice909 c6f4126e54 chore: update bash-completion
Now repo should use alias.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-11 21:22:32 +08:00
dengbo bc206df5be feat: add linglong desktop
Add linglong desktop file to support install uab.
2025-03-11 20:57:55 +08:00
myml ecf1297728 chore: regenerator http api code
重新生成客户端http代码
2025-03-11 17:16:29 +08:00
myml 8ec9eb817d feat: update client swagger
更新api swagger文件, 用于自动生成客户端代码
主要为了将RegisterStruct.size字段改为int64类型, 避免溢出
2025-03-11 17:16:29 +08:00
ziggy cf763b240d docs: Removed unused image path
有一个文档中的图像不再需要了,从md中删除
2025-03-11 17:01:46 +08:00
ziggy 61e0bd1096 docs: Add 4 building examples 2025-03-11 13:29:17 +08:00
ice909 cb3a81d50b fix: builder push crash
Push crashes when getting the default repository.
2025-03-10 17:46:17 +08:00
reddevillg 6ffb64124d fix: fix mapping file
fix an unintentional change made by commit d7cea3443a
2025-03-10 16:59:38 +08:00
ComixHe 278bbc63e4 fix: correct mount option for distribution.info
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-03-10 10:28:02 +08:00
reddevillg abe82f68e2 fix: fix missing environment variable
Merge environment variable if possible
2025-03-06 12:02:53 +08:00
ice909 bbc864d9cd fix: repo output is not aligned
Fix repo's output title and value do not align.
2025-03-05 10:53:40 +08:00
ice909 904e726f12 fix: upgrade progress abnormal
Fix upgrade progress will exceed 100%.
2025-03-05 10:52:59 +08:00
ComixHe caf8886ed4 fix: container root must exist at the declared path
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-03-05 10:52:04 +08:00
dengbo11 4c66ed5a85 feat(cli): ll-cli add dir sub command
ll-cli add dir sub command to support get layer director by appid.
2025-03-04 09:59:10 +08:00
myml 2805551ec7 feat: use getLayerDir when exporting
导出entires时不需要获取modules目录
2025-03-04 09:53:43 +08:00
ice909 6eb10ec317 fix: ostree config doesn't have the correct update
When adding and removing a repository, ostree's repo config isn't updated.
2025-03-03 21:22:37 +08:00
ice909 59d5af4116 feat: optimizing cli output
Optimize ps and list --upgrade's output.
2025-02-28 11:44:00 +08:00
reddevillg 3a08a6f794 fix: Fix export empty app layer
Fix export empty app layer
2025-02-27 20:32:12 +08:00
myml 52720d5fc8 fix: builder does not use the channel field of linglong.yaml
构建工具未使用linglong.yaml的channel字段

Log:
2025-02-27 20:31:33 +08:00
ComixHe d7cea3443a refactor: optimize starting container
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-27 19:42:27 +08:00
reddevillg ba59b2239e fix: Dont't mapping the file under /home
Fix some applications can't write to files or delete files under home
directory
2025-02-27 19:22:08 +08:00
dengbo 37a7dff992 chore: remove packaging directory
Remove packaging directory.
2025-02-27 17:54:46 +08:00
dengbo 34da329288 fix: rewrite file error
Should use complete base name rather than base name.
2025-02-27 16:16:42 +08:00
reddevillg 90518c1765 fix: ll-bulder build dependent on fuse-overlay
Add Depends fuse-overlay
2025-02-27 15:48:29 +08:00
dengbo cbebd39881 fix: app can not start by laucher
Parameter("-- --") parsing error when exec not have field codes.
2025-02-27 14:29:35 +08:00
reddevillg 60c5ba8740 feat: Introduce export UAB option --loader
Option --loader=<app_loader> can be used to run app without container
involved. With custom loader, only app's layer will be exported. When
custom loader get started, environment variable LINGLONG_UAB_APPROOT
is the app directory.
2025-02-27 14:28:19 +08:00
ice909 860c7b4813 fix: enter command cannot enter the container
A previous change to ps caused this problem.
2025-02-26 13:34:56 +08:00
ice909 895a590848 chore: fix some compile warning
Fix some compile warning.
2025-02-26 11:42:58 +08:00
ice909 f7d4a15332 fix: upgrade exception when all packages are up to date
When all packages are up to date, the upgrade command does not automatically end

Issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/1024
2025-02-26 11:03:05 +08:00
ice909 3f72c3c879 test: add unit test for repo config
test getRepoMinPriority
test getRepoMaxPriority
test convertToV2
2025-02-25 19:22:32 +08:00
ice909 c8d3330c9c feat: add priority to the repo config
The default priority for the stable repository is 0.
When adding a new repository, its priority will be set to the current minimum priority minus 100.
If the new repository is set as the default repository, its priority will be set to the current maximum priority plus 100.
Added the set-priority subcommand to allow manual specification of priorities (duplicates are not allowed).
2025-02-25 14:23:22 +08:00
dengbo fae28f069a fix: uab icon display abnormality
Update generic-icon to universal-application-bundle.
2025-02-24 20:31:35 +08:00
reddevillg f26e6e5046 feat: ll-builder support install package via apt
Provide "build depends" and "depends" for apt build extension, build
phase seperate into build phase and prepare phase. "build depends"
to be installed in build environment before build phase starting, and
preserve in overlayfs. "depends" to be installed in prepare phase, and
will be merged to apps output.
2025-02-24 20:28:37 +08:00
ice909 02f64f65b2 feat: add command automatic completion for zsh
ll-cli in zsh supports automatic completion.
2025-02-24 14:28:40 +08:00
ComixHe 959ce460c9 fix: add marco to test SIGSTKFLT
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-21 17:52:24 +08:00
ComixHe 0ad39c8ac0 refactor: change the way to detect machine architecture
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-21 17:28:40 +08:00
dengbo 4f20d6cd67 fix: can not start app normally when there are extra parameters
add "--" to abort parameter parsing, the first "--" to abort COMMAND
option parsing, the second "--" will abort ll-cli run command parametor
parsing.
2025-02-21 17:11:27 +08:00
bluesky ec7f6d8337 chore: update docs
Update the documentation related to the sources field

Log: update docs
2025-02-21 17:10:22 +08:00