Commit Graph

2322 Commits

Author SHA1 Message Date
bluesky ec7f6d8337 chore: update docs
Update the documentation related to the sources field

Log: update docs
2025-02-21 17:10:22 +08:00
ComixHe 98e4db453b fix: resolve the real path of interpreter
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-21 13:34:26 +08:00
dengbo d2b6725953 fix: can not save file to media
/media is symlink(/run/media) in v25, app can not access the dir
so we should mount /media, /run/media to container and keep symlink.
2025-02-21 09:51:50 +08:00
ice909 d7edc532c5 chore: update translate
Update translate.
2025-02-20 17:57:17 +08:00
dengbo dff3a32258 feat: add mips64 arch
Add mips64 arch support.
2025-02-20 17:53:12 +08:00
reddevillg e4531af995 fix: Fix missing header
Fix compiler error on deepin v20 from source:
error: ‘bindtextdomain’ was not declared in this scope
error: ‘textdomain’ was not declared in this scope
2025-02-20 14:59:36 +08:00
ice909 0283ea34f4 fix: ll-cli outputs --help info instead of --help-all
This commit ensures that `ll-cli` now outputs the standard `--help` information when no arguments are provided, aligning with common CLI conventions.
The `--help-all` option remains available for users who need expanded details.
2025-02-20 14:09:12 +08:00
ice909 8e83788ec4 fix: search results show confusion
Unable to calculate the maximum width for each column because some appid and appname are too long, which would cause output to be messy.
2025-02-20 10:53:07 +08:00
ice909 e5c3654583 feat: `ll-cli ps` output to display only AppID in the App field
Previously, the `App` field in the `ll-cli ps` command output displayed the full package name (e.g., `main:org.dde.calendar/5.14.7.3/x86_64`).
This has been updated to display only the AppID portion (e.g., `org.dde.calendar`).
2025-02-19 18:14:46 +08:00
dengbo f02112810a fix: org.deepin.manual can not find documentation for other self-developed applications
Use relative path instead of an absolute path to create symlink.
2025-02-19 18:14:16 +08:00
dengbo b46466af43 fix: ostree repo config permission error
Do not update ostree repo config when open ostree repo,otherwise it will cause repo config permission error
and only supports updating ostree repositories through ll-cli repo command.
2025-02-19 18:13:25 +08:00
ice909 fa51411213 feat: add translations for all titles
ll-cli list and search remove arch field.
2025-02-19 16:51:54 +08:00
ice909 df0184c02c chore: output Title in uppercase
Adjust the uppercase of the output Title.
2025-02-19 16:51:54 +08:00
ComixHe f2610f9f9c refactor: use onlyapp to export uab by default
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-18 21:12:20 +08:00
ice909 3eabede8fd fix: use default repo name in pm and migration logic
Because defaultRepo is no longer a repo name.
2025-02-18 17:38:04 +08:00
ice909 1148261f8c fix: can't search after adding repo using alias
OSTree still uses defaultRepo, but defaultRepo has now become an alias.
2025-02-18 11:42:53 +08:00
ComixHe e8b8a7037b fix: correct the logic of finding repo
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-18 11:01:57 +08:00
myml 0615abd96c fix: debug symbols not stripped from build artifacts
之前在剥离调试符号的脚本中尝试跳过被剥离的调试符号文件,
但因判断条件错误, 导致未剥离调试符号的二进制文件也被跳过
2025-02-18 10:16:37 +08:00
ice909 990b690d93 fix: missing environment variables for uab run
This commit allows uab to run directly without detecting linglong.
2025-02-18 09:16:55 +08:00
ice909 8a2f5f57e3 fix: resolve "Invalid cross-device link" error during UAB export
If the project directory and ~/.cache/linglong-builder are not on the same device (file system), exporting the UAB cannot create hard links and can only copy files.

issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/811
2025-02-18 09:16:55 +08:00
ice909 ae7beb907f feat: filter search results to show only latest versions by default
Added a new `--all` flag to the search command to display all versions of packages.
By default, search results will only show the latest version of each package.
2025-02-13 20:56:31 +08:00
ice909 4b3fed1f00 feat: add --alias option for repo add
Add the --alias option to set aliases for the 'll-cli repo add' and 'll-builder repo add' commands.

So update, remove, and set-default also need to pass alias instead of name.
2025-02-13 20:29:24 +08:00
ComixHe 2338f78008 fix: compiling failed with Qt5
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-13 17:43:15 +08:00
ComixHe 93cc7251ff fix(ll-builder): generating ld config at run/build
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 18:11:02 +08:00
ComixHe a233980823 feat: support kill container by specific signal
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 16:23:05 +08:00
ComixHe 16d2b9f2ce fix(ll-builder): add missing part of code
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 13:32:19 +08:00
ComixHe 6450efa749 refactor: improve wait logic
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 11:44:02 +08:00
ComixHe f28141f4dd chore: sync upstream
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-12 11:44:02 +08:00
ComixHe 1f92d36d7d fix: memory leak
optimizing some functions

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-11 21:04:58 +08:00
myml 60fdf7b363 fix: no error messages when fetch fails
使用QProcess执行fetch-file-source脚本下载文件时, 如果文件哈希值错误,
脚本会使用echo返回错误信息, 但玲珑打印的stderr, 导致错误信息丢失
本次提交给QProcess设置mergedChannels, 能同时打印process的stdout和stderr
2025-02-11 20:48:58 +08:00
dengbo 26b7b40b6f feat: add sw arch support
Support sw64 arch.
2025-02-11 16:43:16 +08:00
reddevillg 21131d055e fix: Fix incorrect path when build prefix is /usr/local
Fix incorrect path when build prefix is /usr/local
2025-02-11 16:39:59 +08:00
ComixHe abe0b40577 fix: cli crash when information directory doesn't exist
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-11 09:23:40 +08:00
dengbo c293aae85f fix: launcher icon displays abnormally after uninstalling the app
Root entries directory should be symlink, or it can not be remove when uninstall app.
so we can not copy file to root entries directory but copy file in app entries and then modify.
2025-02-10 22:27:52 +08:00
ComixHe 2721eb8785 chore: migrating reuse dep5 to REUSE.toml
5ba095d80c

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-10 13:43:18 +08:00
ComixHe 51b08b627b fix: adjust generating ld.so.cache
we need and only need to generate and mount zz_deepin-linglong-app.conf
during generating ld cache

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-10 13:34:14 +08:00
ComixHe 3f99cf5657 fix: resolve the real path for some host files
when host use systemd-resolved to manage dns and systemd-resolved
working on stub mode, the file /etc/resolv.conf is a symlink to
/run/systemd/resolve/stub-resolv.conf.

refactoring the process for normalization.

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-08 13:46:41 +08:00
ComixHe d393cf3ed5 fix: make option accepts empty container
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-02-07 18:14:50 +08:00
myml 5a60515800 fix: translation error
修复中文翻译错误
2025-02-07 10:11:01 +08:00
ComixHe bef4a49985 feat(ll-cli): add subcommand 'inspect'
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-20 05:41:29 +00:00
Comix ed7dd782e9
refactor(uab): skip fc-cahce hook if uab file was exported in OnlyApp (#966)
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-16 16:51:14 +08:00
Comix 27ea143990
refactor: only create runtime directory before container running (#965)
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-16 16:12:01 +08:00
ComixHe 499cc111de refactor: change the destination of exported sign files
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-15 09:42:08 +08:00
dengbo 5db9d54b40 fix: error to export applications entries directory
1. we must fix export entries when in no dbus mode;
2. we must copy application entries directorys to the root entries
   directorys before rewrite file;
2025-01-10 22:00:11 +08:00
ComixHe 033dfdedcb feat: change the compression strategy of uab
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-10 17:54:06 +08:00
ComixHe ba889e2c46 chore: fix some compiler warnings
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-10 12:08:59 +08:00
ComixHe ec86bf68f1 fix: remove unneeded template disambiguator
After llvm 19, the program is ill-formed if the name prefixed by the template keyword is not followed by a template-argument-list.
Original cwg defects : https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-10 12:08:59 +08:00
dengbo 7831877744 fix: can not install app when cancel a task
Allow setup different tasks by the same ref.
2025-01-10 11:28:55 +08:00
ComixHe 715d3a6fb6 chore: ldd-check ignores some libs which under /opt
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-09 15:29:34 +08:00
ComixHe 3c475dea5f fix: add runtimeCheck method for builder
all checkers should execute at the container which
based on binary layer

Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-09 14:50:27 +08:00