Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
366 commits
Select commit Hold shift + click to select a range
0f1a1ce
feat: add test coverage workflow
myml Jul 30, 2025
bf1899d
chore: update external dependency libraries used
dengbo11 Jul 29, 2025
2d2c5d0
chore: clean code
dengbo11 Jul 11, 2025
98a3b17
feat: add graphics card environment variables
dengbo11 Jul 11, 2025
6cd8f2d
chore: add erofs-utils to build dependencies
myml Aug 1, 2025
3d6a4e3
docs: add release note
dengbo11 Jul 31, 2025
047883a
chore: update docs
dengbo11 Aug 1, 2025
d12f8c8
docs: update ll-builder docs
dengbo11 Aug 1, 2025
4759010
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 1, 2025
7dbf5e9
chore: update deepsource config
dengbo11 Aug 4, 2025
59123f5
refactor: improve layer packager reliability and testing
myml Aug 1, 2025
c255e24
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 4, 2025
ccdc5dd
feat: add new fmt based logging system
reddevillg Aug 4, 2025
daf7e29
refactor(oci-cfg): simplify media mount options
ComixHe Aug 5, 2025
b8eb70c
fix: add missing header
reddevillg Aug 5, 2025
51d535f
chore: [linyaps] Updates for project Linyaps (#1292)
transifex-integration[bot] Aug 6, 2025
c33cf2a
chore: hide linyaps desktop file
dengbo11 Aug 6, 2025
77224b7
Revert "chore: hide linyaps desktop file"
dengbo11 Aug 7, 2025
6c73e4b
chore: Translate po/en_US.po in es (#1340)
transifex-integration[bot] Aug 11, 2025
10187ac
docs: update demo and install docs
dengbo11 Aug 11, 2025
f9929a2
test: refine command execution tests
dengbo11 Aug 11, 2025
efc9e4a
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 11, 2025
d8fd18a
feat: Add Linyaps application icon
dengbo11 Aug 11, 2025
31e8d75
refactor: improve UAB file handling and cleanup
myml Aug 12, 2025
e133ed3
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 12, 2025
b0a2a1d
fix: use CMAKE_INSTALL_SYSCONFDIR for config paths
wineee Aug 13, 2025
36e41e8
refactor: improve code organization in layer packager
myml Aug 13, 2025
b76e908
chore: use CMAKE_INSTALL_FULL_SYSCONFDIR
dengbo11 Aug 14, 2025
61cd732
docs: Update linyaps and linyaps-pica installation documentation
taotieren Aug 19, 2025
d7be10c
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 20, 2025
b6cff37
feat: optimize layer search logic
myml Aug 21, 2025
98b32ef
docs: Update installation instructions
dengbo11 Aug 21, 2025
aa42090
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 21, 2025
61f0a31
feat: clean up temporary ref after getting commit size
myml Aug 21, 2025
3eb9537
fix: fix pull dependency in offline scenarios
dengbo11 Aug 21, 2025
413726b
fix: fix duplicate runtime dependencies
dengbo11 Aug 21, 2025
4f90d76
feat: add '--ref' export option for exporting package
ComixHe Aug 18, 2025
25def43
fix: null pointer exception when building runtime
myml Aug 25, 2025
2de31fe
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 25, 2025
d25bb09
refactor: rename bindMedia to bindRemovableStorageMounts
dengbo11 Aug 25, 2025
88064f7
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Aug 26, 2025
8904ee6
feat: improve ldd dependency check with better error handling
myml Aug 26, 2025
97ee860
fix: improve UAB loader and packager with better mount handling
ComixHe Aug 26, 2025
8b7b380
refactor: remove develop module check
dengbo11 Aug 26, 2025
2822a15
chore: fix typo
ComixHe Aug 27, 2025
93b1102
refactor: remove symlink target validation and force overwrite existi…
ComixHe Aug 29, 2025
92f0b08
fix(ll-init): improve signal handling robustness
ComixHe Sep 5, 2025
090b6fc
fix: Optimize file fetching with hard links
myml Sep 5, 2025
bcfa1c3
fix: Remove hardcoded color diagnostics
myml Sep 8, 2025
d6e0931
refactor: Move uninstall logic to package manager service
reddevillg Sep 4, 2025
6992340
refactor: use RAII for env vars in hooks
dengbo11 Sep 4, 2025
85e8bb6
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 9, 2025
0487746
fix: can not find QUuid::Id128 in qt5
dengbo11 Sep 8, 2025
6f7ca1c
refactor: refactor CLI command options structure for better maintaina…
myml Sep 8, 2025
0246d9d
fix: fix removable storage bind mount
dengbo11 Sep 9, 2025
e25327b
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 9, 2025
4c3cb7d
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 9, 2025
7641528
fix: clear removableStorageMounts before binding
dengbo11 Sep 10, 2025
9466067
feat: add base and runtime options
myml Sep 9, 2025
0f5586d
fix: correct list command logic and logging
myml Sep 9, 2025
efcb2f7
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 10, 2025
232781d
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 10, 2025
2ef3bb4
feat: support wayland security-context-v1 protocol
ComixHe Sep 10, 2025
8eb0e60
chore: update translations in .pot file
dengbo11 Sep 10, 2025
428e00f
fix: correct the sequence of invoking method on contianerCfgBuilder
ComixHe Sep 11, 2025
9ff6c92
chore: update translation files
dengbo11 Sep 11, 2025
da4c20c
i18n: Translate po/en_US.po in ca
transifex-integration[bot] Sep 11, 2025
9370a3d
i18n: Translate po/en_US.po in es
transifex-integration[bot] Sep 11, 2025
8a27f56
i18n: Translate po/en_US.po in zh_CN
transifex-integration[bot] Sep 11, 2025
4529ede
i18n: Translate po/en_US.po in fi
transifex-integration[bot] Sep 11, 2025
71af2fb
i18n: Translate po/en_US.po in pl
transifex-integration[bot] Sep 11, 2025
171536b
i18n: Translate po/en_US.po in en_GB
transifex-integration[bot] Sep 11, 2025
12d469f
i18n: Translate po/en_US.po in pt_BR
transifex-integration[bot] Sep 11, 2025
13812df
i18n: Translate po/en_US.po in uk
transifex-integration[bot] Sep 11, 2025
960c498
i18n: Translate po/en_US.po in fr
transifex-integration[bot] Sep 11, 2025
c835990
i18n: Translate po/en_US.po in sq
transifex-integration[bot] Sep 11, 2025
456c415
chore: Translate po/en_US.po in zh_CN (#1402)
transifex-integration[bot] Sep 11, 2025
92c554a
chore: Translate po/en_US.po in ca (#1405)
transifex-integration[bot] Sep 12, 2025
d3c51b9
feat: add no-clean-objects option for remove command
myml Sep 11, 2025
6ba1258
chore: [linyaps] Updates for project Linyaps (#1407)
transifex-integration[bot] Sep 16, 2025
0314d08
feat: add mirror enable/disable functionality for repositories
myml Sep 15, 2025
83832e9
chore: [linyaps] Updates for project Linyaps (#1409)
transifex-integration[bot] Sep 16, 2025
d1091e3
feat: enable git submodule fetching with environment variable control
myml Sep 11, 2025
2c673c4
docs: update build guide and manifest example
dengbo11 Sep 12, 2025
bff3bf2
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 17, 2025
52a5131
chore: add libcap-dev to build depends
reddevillg Sep 17, 2025
a1f559e
refactor: Centralize XDG and display configuration logic
reddevillg Sep 18, 2025
865651a
refactor: simplify container entrypoint generation
dengbo11 Sep 16, 2025
13e2290
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 18, 2025
34f7281
chore: fix coverage CI
reddevillg Sep 18, 2025
502ae55
feat: Refactor namespace handling for rootless builds
reddevillg Sep 17, 2025
de078d0
fix: correct no-dbus flag logic
dengbo11 Sep 19, 2025
61bc2bd
fix: fix env is cleared by `env -i`
reddevillg Sep 19, 2025
47def42
refactor: optimize export directory logic and path handling
myml Sep 17, 2025
103eeac
refactor: Use std::filesystem::path instead of QDir
reddevillg Sep 20, 2025
a9cba04
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Sep 22, 2025
4930cc4
chore: add support for more languages
dengbo11 Sep 22, 2025
a10faaf
feat: add translations to polkit policy
dengbo11 Sep 22, 2025
a89a8c9
fix: correct mock function naming from warp to wrap
myml Sep 22, 2025
f777dd0
refactor: remove unused XDG integration cleanup method
myml Sep 17, 2025
bd08b6d
chore: update po file Content-Type
dengbo11 Sep 22, 2025
b5a70bd
test: add client factory unit tests
myml Sep 22, 2025
e663fcd
refactor: replace GMock with custom mock classes in tests
myml Sep 23, 2025
cc43c5d
refactor: migrate architecture string handling to std::string
myml Sep 23, 2025
125d6ed
test: add erofsfuse check in fuse-related tests
myml Sep 23, 2025
1f2ce00
chore: Translate po/en_US.po in uk (#1435)
transifex-integration[bot] Sep 24, 2025
52b0550
fix: improve test compatibility with older gtest versions
myml Sep 24, 2025
075aed9
fix: replace SetUpTestSuite with SetUpTestCase for gtest compatibility
myml Sep 25, 2025
e7f4fb9
i18n: Translate po/en_US.po in es
transifex-integration[bot] Oct 7, 2025
8e66b1d
fix: use TZDIR environment variable to bind localtime directory
HHR2020 Oct 3, 2025
fce2f9b
fix: fix failure on parallel test
reddevillg Sep 28, 2025
7f2273d
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Oct 9, 2025
34d52ec
fix: use Qt5DBusMacros to auto-locate qdbusxml2cpp
guanzi008 Oct 8, 2025
65b19c1
fix: fix rootfs propagation
reddevillg Sep 28, 2025
d7e32fd
chore: remove unnecessary depends
ComixHe Oct 9, 2025
d0d3332
refactor: using std::filesystem for file operations
reddevillg Oct 9, 2025
8a8cd72
fix: Duplicate initialization causes incorrect stderr redirection
reddevillg Oct 10, 2025
102ea0c
refactor: extract export filename generation functions
myml Oct 10, 2025
ecef330
refactor: migrate from Qt to std library and fix warnings
ComixHe Oct 9, 2025
1c1f085
refactor: Centralize runtime directory management
reddevillg Oct 11, 2025
dbdcfc9
refactor: move wayland security socket to container bundle
ComixHe Oct 13, 2025
e6cfbf4
refactor: use std::string for error tracing
myml Oct 11, 2025
345327e
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Oct 11, 2025
75b70e8
refactor: simplify error handling and improve testing
myml Oct 13, 2025
1035ae5
feat: Add tests and enhance string utilities
reddevillg Oct 14, 2025
399d70f
chore: update linyaps-box to 2.1.1
ComixHe Oct 14, 2025
01049a6
refactor: remove unnecessary parameter of errorImpl ctor
ComixHe Oct 14, 2025
857948b
feat: Support manual extension loading via command line
guanzi008 Oct 13, 2025
7551f68
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Oct 14, 2025
a74ab84
fix: correct formatted message
ComixHe Oct 15, 2025
cfe7785
chore: fix linglong test script package name
myml Oct 14, 2025
76fcc5b
feat: Add --privileged and --caps-add options to 'run' command
reddevillg Oct 11, 2025
74efe1d
fix: base field is empty when use ll-cli search
dengbo11 Oct 9, 2025
8b59614
build: update linyaps-box
ComixHe Oct 15, 2025
588fd5c
feat: Add --mount option and improve loader
reddevillg Oct 16, 2025
9b118c6
fix: fix logging and mergeOutput
reddevillg Oct 18, 2025
d94d9b8
feat: enhance inspect command with dir type
dengbo11 Aug 26, 2025
1adb797
feat: add unit tests for utility components
myml Oct 20, 2025
8be7438
fix: fix repo config comparison and add debug logs
myml Oct 22, 2025
c49e6cf
fix: add DBusPrivate to Qt6 find_package
HHR2020 Oct 23, 2025
0b7e505
refactor: Extract UAB installation logic into action class
reddevillg Oct 22, 2025
7a8cb94
feat: support xdg-desktop-portal
ComixHe Oct 21, 2025
841b0b0
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Oct 24, 2025
b57cad2
fix: clean code
reddevillg Oct 22, 2025
b4bcaae
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Oct 24, 2025
e34f87e
refactor: optimizing performance of semver parser
ComixHe Oct 24, 2025
2e83a40
fix: There will be multiple versions of the application when an error…
dengbo11 Oct 24, 2025
1cb0a54
chore: fix uab file name in test script
myml Oct 28, 2025
f21b273
docs: The document contains spelling and typos
dengbo11 Oct 28, 2025
174f40c
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Oct 28, 2025
8748a64
refactor: Rework repository client and search logic
reddevillg Oct 29, 2025
4e40696
fix: fix memory error
reddevillg Nov 3, 2025
40f647a
docs: Restructures and updates documentation for clarity and consistency
dengbo11 Oct 23, 2025
ee862e5
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Nov 6, 2025
f0cb94d
refactor: Simplifies icon packaging logic in UABPackager
dengbo11 Nov 6, 2025
c094c2a
docs: Remove deprecated files and update documentation links
dengbo11 Nov 7, 2025
c77b826
style: format code with ClangFormat and Prettier
deepsource-autofix[bot] Nov 7, 2025
bd80b77
fix: Refactors logging system initialization to use explicit backend
dengbo11 Nov 6, 2025
e1a6509
refactor: Refactor installation logic into Action classes
reddevillg Oct 29, 2025
f3ce211
Apply suggestion from @gemini-code-assist[bot]
dengbo11 Nov 7, 2025
5b165d8
refactor: improve cli command handling
reddevillg Nov 5, 2025
2c0c17f
chore: add pre-commit-config
ComixHe Nov 7, 2025
b13e95c
docs: Localizes documentation content to Chinese
dengbo11 Nov 7, 2025
bb4ed7b
feat: Add --force option to uninstall command
reddevillg Nov 7, 2025
45f13e1
fix: the application was abnormally removed due to an error in execut…
dengbo11 Nov 12, 2025
c31b6d7
feat: Disable backtrace by default
reddevillg Nov 7, 2025
41a2650
feat: Adding process-aware fileLock implementation
ComixHe Nov 11, 2025
36ade87
i18n: add policy file for translation
BLumia Nov 19, 2025
164eb83
i18n: remove de_DE and de_CH translation resources
BLumia Nov 20, 2025
e40b7dc
i18n: Translate policy.ts in bg
transifex-integration[bot] Nov 20, 2025
336f69a
i18n: Translate policy.ts in ast
transifex-integration[bot] Nov 20, 2025
f751db6
i18n: Translate policy.ts in en_AU
transifex-integration[bot] Nov 20, 2025
be45ffc
i18n: Translate policy.ts in ar
transifex-integration[bot] Nov 20, 2025
a5024fb
i18n: Translate policy.ts in es
transifex-integration[bot] Nov 20, 2025
d4cdc41
i18n: Translate policy.ts in eo
transifex-integration[bot] Nov 20, 2025
d25b28d
i18n: Translate policy.ts in lv
transifex-integration[bot] Nov 20, 2025
d9db743
i18n: Translate policy.ts in fi
transifex-integration[bot] Nov 20, 2025
df6e0f0
i18n: Translate policy.ts in ca
transifex-integration[bot] Nov 20, 2025
4d630bd
i18n: Translate policy.ts in nl
transifex-integration[bot] Nov 20, 2025
ce9dafc
i18n: Translate policy.ts in pa
transifex-integration[bot] Nov 20, 2025
d0b739d
i18n: Translate policy.ts in sv
transifex-integration[bot] Nov 20, 2025
14af486
i18n: Translate policy.ts in zh_HK
transifex-integration[bot] Nov 20, 2025
87dd23a
i18n: Translate policy.ts in sk
transifex-integration[bot] Nov 20, 2025
887e145
i18n: Translate policy.ts in hi_IN
transifex-integration[bot] Nov 20, 2025
e92dc86
i18n: Translate policy.ts in pl
transifex-integration[bot] Nov 20, 2025
c460d8f
i18n: Translate policy.ts in lt
transifex-integration[bot] Nov 20, 2025
d9e5dc3
i18n: Translate policy.ts in ug
transifex-integration[bot] Nov 20, 2025
75ce1cf
i18n: Translate policy.ts in en_GB
transifex-integration[bot] Nov 20, 2025
8cabbc7
i18n: Translate policy.ts in pt
transifex-integration[bot] Nov 20, 2025
98d8f00
i18n: Translate policy.ts in tr
transifex-integration[bot] Nov 20, 2025
9bb80f2
i18n: Translate policy.ts in zh_CN
transifex-integration[bot] Nov 20, 2025
0ff728f
i18n: Translate policy.ts in sr
transifex-integration[bot] Nov 20, 2025
778baaf
i18n: Translate policy.ts in ja
transifex-integration[bot] Nov 20, 2025
8897dc4
i18n: Translate policy.ts in sl
transifex-integration[bot] Nov 20, 2025
2d13ca7
i18n: Translate policy.ts in ms
transifex-integration[bot] Nov 20, 2025
e5387b2
i18n: Translate policy.ts in kab
transifex-integration[bot] Nov 20, 2025
af88083
i18n: Translate policy.ts in gl_ES
transifex-integration[bot] Nov 20, 2025
969e080
i18n: Translate policy.ts in zh_TW
transifex-integration[bot] Nov 20, 2025
0539441
i18n: Translate policy.ts in sw
transifex-integration[bot] Nov 20, 2025
c795ef1
i18n: Translate policy.ts in cs
transifex-integration[bot] Nov 20, 2025
dc63dea
i18n: Translate policy.ts in da
transifex-integration[bot] Nov 20, 2025
38a2e34
i18n: Translate policy.ts in pt_BR
transifex-integration[bot] Nov 20, 2025
7510db3
i18n: Translate policy.ts in uk
transifex-integration[bot] Nov 20, 2025
6b2d118
i18n: Translate policy.ts in ko
transifex-integration[bot] Nov 20, 2025
693703c
i18n: Translate policy.ts in hu
transifex-integration[bot] Nov 20, 2025
a6fc017
i18n: Translate policy.ts in id
transifex-integration[bot] Nov 20, 2025
17561cf
i18n: Translate policy.ts in az
transifex-integration[bot] Nov 20, 2025
59d7355
i18n: Translate policy.ts in ne
transifex-integration[bot] Nov 20, 2025
52348f9
i18n: Translate policy.ts in it
transifex-integration[bot] Nov 20, 2025
c79a4ec
i18n: Translate policy.ts in fa
transifex-integration[bot] Nov 20, 2025
13177e9
i18n: Translate policy.ts in ro
transifex-integration[bot] Nov 20, 2025
4993a8d
i18n: Translate policy.ts in fr
transifex-integration[bot] Nov 20, 2025
2540402
i18n: Translate policy.ts in si
transifex-integration[bot] Nov 20, 2025
b97deb5
i18n: Translate policy.ts in bo
transifex-integration[bot] Nov 20, 2025
9170842
i18n: Translate policy.ts in mn
transifex-integration[bot] Nov 20, 2025
fea198a
i18n: Translate policy.ts in el
transifex-integration[bot] Nov 20, 2025
d8af48d
i18n: Translate policy.ts in vi
transifex-integration[bot] Nov 20, 2025
caab7a9
i18n: Translate policy.ts in lo
transifex-integration[bot] Nov 20, 2025
38b4083
i18n: Translate policy.ts in ru
transifex-integration[bot] Nov 20, 2025
cd9e32e
i18n: Translate policy.ts in de
transifex-integration[bot] Nov 20, 2025
ba3673d
i18n: Translate policy.ts in hr
transifex-integration[bot] Nov 20, 2025
a228cf2
i18n: Translate policy.ts in bn
transifex-integration[bot] Nov 20, 2025
49236a8
i18n: Translate policy.ts in sq
transifex-integration[bot] Nov 20, 2025
dd641d0
Update runtime documentation for version 25.2.1
c61292558 Nov 19, 2025
03a6049
docs: Removed local pics of lesson
ziggy1030 Nov 23, 2025
49d4b66
fix: can't rely on ssi_pid when cross pid_namespaces
reddevillg Nov 24, 2025
c2ea92d
feat: add jmgpu device node to container bind list
dengbo11 Nov 26, 2025
5b6f7c4
fix: replace unsafe temp-dir creation and fix fmt API usage
dengbo11 Dec 1, 2025
6fa119f
build: add hardend compile/link flags
ComixHe Dec 2, 2025
d767714
refactor: Rearchitect the application upgrade process
reddevillg Nov 11, 2025
cf6e0fb
refactor: Refactor task
reddevillg Dec 5, 2025
a450204
docs: Include NixOS installation steps in the guide
Sunrongguo2008 Dec 7, 2025
42804b0
refactor(utils): improve namespace isolation implementation
ComixHe Dec 11, 2025
fd5333d
build(deps): bump tl-expected from v1.2.0 to v1.3.1
ComixHe Dec 11, 2025
7839749
build(deps): bump CLI11 from v2.5.0 to v2.6.1
ComixHe Dec 11, 2025
043def5
refactor: improve task management code quality and safety
ComixHe Dec 11, 2025
552f363
docs: update NixOS installation instructions for linyaps
wineee Dec 11, 2025
9c9738b
docs: Include NixOS installation instructions in English guide
Sunrongguo2008 Dec 11, 2025
b94e164
fix: Processor character matching error
dengbo11 Dec 12, 2025
bf10368
fix(api): drop 32-bit size assertions, keep 64-bit checks
dengbo11 Dec 12, 2025
ffb718d
feat: add ll-driver-detect utility for NVIDIA driver detection
dengbo11 Dec 5, 2025
f773c49
fix(ll-driver-detect): replace busy-wait with signal-slot for notific…
dengbo11 Dec 16, 2025
bd2263e
refactor: unify task management
reddevillg Dec 9, 2025
98d93bd
fix: fix incorrect removal of re-installed layers during lazy uninstall
reddevillg Dec 18, 2025
511552b
build: adjust the working directory of gtest discovery
ComixHe Dec 25, 2025
05f8ae9
fix: improve export directory
reddevillg Dec 23, 2025
0359614
feat: add device nodes support in extensions
reddevillg Dec 25, 2025
51357cf
feat: Introduce cross-architecture build and export support
reddevillg Dec 26, 2025
90fcb34
feat: add --no-progress option to suppress progress output
reddevillg Dec 29, 2025
eaae5d3
feat: host NVIDIA driver fallback
guanzi008 Jan 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
76 changes: 76 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# SPDX-FileCopyrightText: None
#
# SPDX-License-Identifier: CC0-1.0

version = 1

# 全局排除配置
exclude_patterns = [
"external/**",
"build/**",
"obj-*/**",
".cache/**",
".obs/**",
".tx/**",
"**/*.generated.*",
"**/CMakeCache.txt",
"**/compile_commands.json",
"debian/patches/**",
"po/*.po",
"po/*.pot",
"tools/openapi-c-libcurl-client/**",
]

# C++ 分析器配置
[[analyzers]]
name = "cxx"
enabled = true

[analyzers.meta]
misra_compliance = true
cyclomatic_complexity_threshold = "medium"

# Shell 脚本分析器配置
[[analyzers]]
name = "shell"
enabled = true

[analyzers.meta]
# 只保留官方支持的选项
dialect = "bash"

# 密钥检测分析器配置
[[analyzers]]
name = "secrets"
enabled = true
# secrets 分析器不支持任何 meta 配置

# 测试覆盖率分析器配置
[[analyzers]]
name = "test-coverage"
enabled = false

# 代码格式化器配置
[[transformers]]
name = "clang-format"
enabled = true

[transformers.meta]
exclude_patterns = ["external/**", "build/**", "obj-*/**", "**/*.generated.*"]

[[transformers]]
name = "prettier"
enabled = true

[transformers.meta]
include_patterns = ["**/*.md", "**/*.json", "**/*.yaml", "**/*.yml"]
exclude_patterns = [
"external/**",
"build/**",
"obj-*/**",
".cache/**",
"po/**",
"**/*.generated.*",
"package-lock.json",
"yarn.lock",
]
59 changes: 59 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: build
on:
pull_request_target:
push:
branches:
- master
- 'release/**'
jobs:
ubuntu2404:
name: ubuntu_24.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake debhelper-compat erofs-utils erofsfuse intltool libcap-dev libcli11-dev libcurl4-openssl-dev libdeflate-dev libelf-dev libexpected-dev libfuse3-dev libglib2.0-dev libgmock-dev libgtest-dev liblz4-dev liblzma-dev libostree-dev libpcre2-dev libselinux1-dev libssl-dev libsystemd-dev libyaml-cpp-dev libzstd-dev nlohmann-json3-dev pkg-config qt6-base-dev qt6-base-private-dev zlib1g-dev
version: 1.0

- name: Build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCPM_LOCAL_PACKAGES_ONLY=ON \
-DBUILD_SHARED_LIBS=OFF \
..

make -j$(nproc)
- name: Run tests
run: |
./build/libs/linglong/tests/ll-tests/ll-tests

ubuntu2204:
name: ubuntu_22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake debhelper-compat erofs-utils erofsfuse intltool libcap-dev libcli11-dev libcurl4-openssl-dev libdeflate-dev libelf-dev libexpected-dev libfuse3-dev libglib2.0-dev libgmock-dev libgtest-dev liblz4-dev liblzma-dev libostree-dev libpcre2-dev libselinux1-dev libssl-dev libsystemd-dev libyaml-cpp-dev libzstd-dev nlohmann-json3-dev pkg-config qtbase5-dev qtbase5-private-dev systemd zlib1g-dev
version: 1.0

- name: Build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCPM_LOCAL_PACKAGES_ONLY=ON \
-DBUILD_SHARED_LIBS=OFF \
-DENABLE_TESTING=OFF \
..

make -j$(nproc)
32 changes: 32 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: coverage
on:
pull_request_target:
push:
branches:
- master
- 'release/**'
jobs:
codecov:
name: codecov
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: gcovr cmake debhelper-compat erofs-utils erofsfuse intltool libcap-dev libcli11-dev libcurl4-openssl-dev libdeflate-dev libelf-dev libexpected-dev libfuse3-dev libglib2.0-dev libgmock-dev libgtest-dev liblz4-dev liblzma-dev libostree-dev libpcre2-dev libselinux1-dev libssl-dev libsystemd-dev libyaml-cpp-dev libzstd-dev nlohmann-json3-dev pkg-config qtbase5-dev qtbase5-private-dev systemd zlib1g-dev
version: 1.0

- name: Generate coverage
run: |
./tools/generate-coverage.sh

- name: Upload Report to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build-generate-coverage/report/index.xml
disable_search: true
disable_telem: true
35 changes: 35 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SPDX-FileCopyrightText: None
#
# SPDX-License-Identifier: CC0-1.0

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
- id: check-xml

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.5
hooks:
- id: clang-format
name: clang-format (C/C++)
files: \.(c|cc|cpp|cxx|h|hpp)$
args: ['-i', '--sort-includes', '--style=file']
exclude: |
(?x)^(
build/|
external/|
libs/api/src/linglong/api/types/v1/
)

- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.12.0-2
hooks:
- id: shfmt
args: ['-i', '4', '-ci', '-sr']
9 changes: 9 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[main]
host = https://www.transifex.com

[o:linuxdeepin:p:linyaps:r:6e861fdc8edf8f03ac6f0b629a022f2f]
file_filter = po/<lang>.po
source_file = po/en_US.po
source_lang = en_US
type = PO

5 changes: 5 additions & 0 deletions .tx/transifex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@ filters:
file_format: PO
source_language: en_US
translation_files_expression: po/<lang>.po
- filter_type: file
source_file: misc/share/polkit-1/translations/policy.ts
file_format: QT
source_language: en_US
translation_files_expression: misc/share/polkit-1/translations/policy_<lang>.ts
settings:
pr_branch_name: transifex_update_<br_unique_id>
83 changes: 0 additions & 83 deletions BUILD.md

This file was deleted.

77 changes: 0 additions & 77 deletions BUILD.zh_CN.md

This file was deleted.

Loading
Loading