mirror of https://github.com/linuxdeepin/linglong
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. 测试空应用程序列表的边界情况 |
||
|---|---|---|
| .. | ||
| ll-builder | ||
| ll-builder-utils | ||
| ll-cli | ||
| ll-dialog | ||
| ll-init | ||
| ll-package-manager | ||
| ll-session-helper | ||
| llpkg | ||
| uab | ||