Commit Graph

8 Commits

Author SHA1 Message Date
wrj97 2044a4cf8c fix: Remove hardcoded color diagnostics
1. Removed the `CMAKE_COLOR_DIAGNOSTICS` variable from all
CMakePresets.json configurations.
2. The intention is to allow the terminal environment to dictate whether
color is used for diagnostic output. Linglong should not enforce a
specific color scheme.
3. This change improves compatibility and avoids potential issues where
color output is undesirable or unsupported in certain environments.
It aligns with best practices for CMake configuration by allowing the
environment to control this aspect.

Log: Removed forced color diagnostics

Influence:
1. Verify build and diagnostic output in environments with and without
color support.
2. Ensure that diagnostic messages are readable regardless of whether
color is enabled.
3. Confirm that the build process is not negatively impacted by the
removal of this variable.
4. Test across a variety of terminals and operating systems.

fix: 移除强制颜色诊断

1. 从所有 CMakePresets.json 配置中删除了 `CMAKE_COLOR_DIAGNOSTICS` 变
量。
2. 意图是允许终端环境决定是否使用颜色显示诊断输出。 Linglong 不应强制执
行特定的颜色方案。
3. 此更改提高了兼容性,并避免了在某些环境(其中颜色输出不受欢迎或不受支
持)中出现潜在问题。 它符合 CMake 配置的最佳实践,允许环境控制此方面。

Log: 移除了强制颜色诊断

Influence:
1. 验证在具有和不具有颜色支持的环境中构建和诊断输出。
2. 确保诊断消息无论是否启用颜色,都能被读取。
3. 确认构建过程不会因为删除此变量而受到负面影响。
4. 在各种终端和操作系统上进行测试。
2025-09-09 21:19:59 +08:00
wrj97 b6cff37c65 feat: optimize layer search logic
优化layer查找的逻辑, 优先从默认仓库搜索, 再从多仓库搜索, 最后再回退runtime搜索
补充部分代码的错误信息传递
2025-08-21 10:39:36 +08:00
black-desk e7b72a8d93 test: bring some tests back
Signed-off-by: black-desk <me@black-desk.cn>
2024-11-29 13:54:51 +08:00
black-desk c03e6de536 build: update preset
Remove address sanitize as it conflicts with static build

Signed-off-by: black-desk <me@black-desk.cn>
2024-06-19 16:51:30 +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
black-desk f43ff3d619
chore: update CMakePresets
- use CMAKE_CXX_FLAGS
- remove jobs
- remove generator

Signed-off-by: black-desk <me@black-desk.cn>
2024-03-06 10:13:18 +08:00
black-desk 91fd4c77b9
chore: add cmake presets
* add CMakePresets.json
* update documentation for building linglong

Signed-off-by: black-desk <me@black-desk.cn>
2024-03-05 15:51:04 +08:00