Commit Graph

45 Commits

Author SHA1 Message Date
ice909 db3a9dc4ce feat: improve shell completions to show only apps when appropriate
This change enhances both bash and zsh completions for the ll-cli tool
by:
1. Adding a new function to specifically list installed applications
2. Updating the run, uninstall, and content commands to show only apps
   in their tab completion suggestions instead of all installed
components
3. Making the completion more contextually relevant for these commands
2025-05-13 11:34:59 +08:00
ice909 63263e8a29 fix: zsh completion failed
"_values:compvalues:11: not enough arguments"

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-25 13:03:58 +08:00
ice909 72f9be6bdb chore: update completion script
Install with ./ prefix will only list local files and won't search online.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-21 14:33:52 +08:00
ice909 33f5913209 feat: extract the export paths as a config file
Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-07 17:14:27 +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
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
ice909 02f64f65b2 feat: add command automatic completion for zsh
ll-cli in zsh supports automatic completion.
2025-02-24 14:28:40 +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 d51b9b5b8c chore(uab): add exporting blacklist
Signed-off-by: ComixHe <heyuming@deepin.org>
2025-01-07 11:54:08 +08:00
kamiyadm 42263b7072 fix: cannot run application after upgrade cli
* Add dbus method GenerateCache, signal GenerateCacheFinished. (PM)
* Add an exclusive write lock to the application cache in
  ensureCache to ensure that the container runs after the cache
  is generated. (cli)

Log:
2024-12-12 17:26:10 +08:00
kamiyadm ee9c5dee99 fix: admin user skips authentication during call PM
Default rules is enough. The extra rule allow the admin user
to skip authentication. Just remove it.

Log:
2024-11-20 10:13:31 +08:00
ComixHe ca4f8bc7c7 refactor: re-implement migrate
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-11-19 17:46:22 +08:00
dengbo11 5f416426be fix(builder): example can not build in loong64 arch
Base and runtime do not have loong64 arch, so use org.deepin.base.

Bug: https://pms.uniontech.com/bug-view-284713.html
2024-11-11 17:35:04 +08:00
kamiyadm 09dccbcecc fix: bash-completion error in 'll-cli search'
-

Log:
2024-11-08 17:55:15 +08:00
kamiyadm 21ce364aea fix: no permission to migrate
* Not doing interact before migration, only notification.
* Allow anyone to call WaitForAvailable() by dbus.

Log:
2024-11-05 15:33:04 +08:00
kamiyadm 84e3ec6244 fix: broken bash completions
Both of ll-cli and ll-builder.

Log:
2024-11-05 15:16:17 +08:00
kamiyadm 5c3623d663 fix: check dbus error after read/write the Property of PM
Configuration() and setConfiguration() could be failed. Due to
the limit of dbus permission policy, we should call runningAsRoot()
before setConfiguration().

Log:
2024-11-05 14:34:22 +08:00
kamiyadm c056e3959a fix: auth_admin_keep is not worked
-

Log:
2024-11-01 17:37:54 +08:00
kamiyadm 92a7467da0 fix: adjust the dbus policy conf of PM
* Write the rule in a better way.
* Not allow the org.freedesktop.DBus.Introspectable for now.

Log:
2024-10-31 18:00:49 +08:00
kamiyadm 50adb43437 chore: adjust polkit action conf
Change the value in allow_any and allow_inactive from 'no' to 'auth_admin'.

Log:
2024-10-31 18:00:49 +08:00
kamiyadm 3d0336714f chore: add polkit rules and install it
-

Log:
2024-10-31 18:00:49 +08:00
kamiyadm 3f682e0b8c fix!: restrict access to some methods of PM
* Add some rules to the dbus conf of PM:
  For deepin-linglong and root, allow to call any method.
  For other users, they should not call any method instead of Search.
* Capture the error of dbus reply which is from PM. If the error type is 'AccessDenied',
  notify pepole and return.

Log:
2024-10-29 15:59:16 +08:00
dengbo11 a11015011a refactor(config): optimization uab mime config
Optimization uab mime config file,
refer to: https://specifications.freedesktop.org/shared-mime-info-spec/latest/ar01s02.html.
2024-10-15 20:16:09 +08:00
ComixHe 6f7b243ec2 feat: add new dbus object for migrating underlying storage
Adding version '1' to dbus service 'org.deepin.linglong.PackageManager' and it's dbus object.

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-10-08 17:40:34 +08:00
dengbo11 3c3ffc8272 chore: code clean
Project configuration file optimization.

Log:
2024-09-26 15:12:47 +08:00
dengbo11 bf27abe33b chore: delete appimage convert feature from ll-builder
delete appimage convert feature from ll-builder
and move it to linglong-pica

Log:
2024-08-28 13:54:32 +08:00
ComixHe f6dc1a947b chore: remove unneeded files
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-01 17:46:34 +08:00
dengbo f1ca50579c feat: move linglong-installer project to linglong
move linglong-installer project to linglong

Log:
2024-07-18 15:37:44 +08:00
dengbo 85326447cd fix: example build error in uos20 arm arch
org.deepin.foundation has no 23.0.0 arm architecture, use 20.0.0

Log:
2024-07-08 13:51:56 +08:00
dengbo d97f6b15c1 fix: ll-builder convert appimage error when use url
url is download to linglong/sources, should enter linglong/sources to
operate appimage file

Log:
2024-06-27 09:55:31 +08:00
kamiyadm 42319396b4 fix: update bash completion
fix https://github.com/linuxdeepin/developer-center/issues/9382

Log:
2024-06-26 13:15:55 +08:00
kamiyadm 037ff5b6bd chore: update bash completion of ll-cli
Support completion of install layer file.

Log:"
2024-06-20 16:41:33 +08:00
dengbo 5f496c5e0a feat: org.deepin.linglong.PackageManager add security check
org.deepin.linglong.PackageManager add Capability_Check, Cgroup_Check
and Polkit_Check, it only used to skip DBus security check, it will be removed later

Log:
2024-06-19 10:33:16 +08:00
dengbo 89194daf92 chore: fix example.yaml spell
fix example.yaml spell

Log:
2024-06-06 09:51:09 +08:00
kamiyadm bc08c49339 fix: move ll-package-manager to /usr/libexec/linglong
close: https://github.com/linuxdeepin/linglong/issues/460

Log:
2024-05-27 16:48:48 +08:00
dengbo 2aa0e267df fix: ll-build failed to convert appimage
linglong.yaml must have command and base option when convert

Log:
2024-05-27 16:38:19 +08:00
kamiyadm 5dc93a2e08 fix: use host icon for linglong-repair-tool
Using the icon 'deepin-repair-tools' which from deepin-icon-them.

Log:
2024-05-13 15:50:54 +08:00
kamiyadm 025d41be8c fix: move the reinstall operation to new script
-

Log:
2024-05-13 13:04:40 +08:00
dengbo f4e6956ff8 chore: modify repo to stable
modify repo to stable

Log:
2024-04-24 11:20:41 +08:00
kamiyadm 1c5ec42068 fix: rename 'll-cli repo list' to 'll-cli repo show'
-

Log:
2024-04-23 14:35:40 +08:00
kamiyadm fcecef2dca fix: missing default config.yaml
-

Log:
2024-04-08 17:06:23 +08:00
myml 06b20ad74b fix: ll-build build error
修复多个会导致构建失败的错误

Log:
2024-04-08 06:44:37 +00:00
black-desk ee364e3007 refact: all API types use quicktype
1. Update dbus interface xml files to
   use QVariantMap as parameters and response;

2. Add api/schema/v1.yaml to generate all API types;

3. Remove qserializer.

Signed-off-by: black-desk <me@black-desk.cn>
2024-04-01 17:05:32 +08:00