linglong/apps
wrj97 f83e78523a feat: add no-clean-objects option for remove command
1. Add new flag --no-clean-objects to remove command options
2. Modify cmdRemoveApp function signature to accept prune parameter
3. Conditionally execute repo.prune() based on prune flag
4. Maintain repo.mergeModules() execution regardless of prune flag
5. Update command line interface to expose the new flag

This change allows users to control whether object files should be
cleaned during app removal. By default, objects are cleaned (previous
behavior), but users can now skip this step using --no-clean-objects
flag for faster removal operations or when they want to preserve objects
for other purposes.

Log: Added --no-clean-objects flag to ll-builder remove command

Influence:
1. Test default remove behavior (should clean objects)
2. Test remove with --no-clean-objects flag (should not clean objects)
3. Verify repo.mergeModules() is always called
4. Test removal of single and multiple apps with both options
5. Verify error handling for invalid app references
6. Test edge cases with empty app list

feat: 为 remove 命令添加 no-clean-objects 选项

1. 为 remove 命令选项添加新的 --no-clean-objects 标志
2. 修改 cmdRemoveApp 函数签名以接受 prune 参数
3. 根据 prune 标志有条件地执行 repo.prune()
4. 无论 prune 标志如何都执行 repo.mergeModules()
5. 更新命令行界面以暴露新标志

此更改允许用户控制在删除应用程序期间是否应清理对象文件。默认情况下,对象
会被清理(之前的行为),但用户现在可以使用 --no-clean-objects 标志跳过此
步骤,以实现更快的删除操作或在他们希望为其他目的保留对象时使用。

Log: 为 ll-builder remove 命令添加 --no-clean-objects 标志

Influence:
1. 测试默认删除行为(应清理对象)
2. 测试使用 --no-clean-objects 标志的删除(不应清理对象)
3. 验证 repo.mergeModules() 是否始终被调用
4. 测试单个和多个应用程序的删除(两种选项)
5. 验证无效应用程序引用的错误处理
6. 测试空应用程序列表的边界情况
2025-09-19 15:57:13 +08:00
..
ll-builder feat: add no-clean-objects option for remove command 2025-09-19 15:57:13 +08:00
ll-builder-utils feat: use ll-box in ll-builder-utils when export UAB 2025-04-28 15:13:11 +08:00
ll-cli fix: correct no-dbus flag logic 2025-09-19 11:10:34 +08:00
ll-dialog feat: modify the way container patches work 2025-06-04 14:45:07 +08:00
ll-init fix(ll-init): improve signal handling robustness 2025-09-09 21:19:59 +08:00
ll-package-manager feat: add new fmt based logging system 2025-08-05 16:28:53 +08:00
ll-session-helper style: format whole project 2025-05-14 11:35:50 +08:00
llpkg chore: update PFL.cmake 2023-10-11 22:53:12 +08:00
uab fix: improve UAB loader and packager with better mount handling 2025-09-05 10:24:25 +08:00