Commit Graph

1195 Commits

Author SHA1 Message Date
black-desk a571fb18bc refact: remove old oci code
This commit just remove almost all old oci code.
It will not be compilable.

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-21 19:03:29 +08:00
black-desk f57dbf6f30 build: add ocppi
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-21 19:03:29 +08:00
black-desk 64aef25820
fix: get right base to install
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-19 16:17:02 +08:00
black-desk 48b2af9233
fix: correct constants in configure.h.in
Configure header `configure.h.in` need CMake vars.
So we have to include this cmake module here.

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-19 16:16:59 +08:00
kamiyadm 0abb7d2796 chore: update example.yaml
Update some dependencies in example.yaml.

Log:
2023-10-17 18:52:16 +08:00
kamiyadm a5eb57771e feat: support git to pull submodules
Add '--recurse-submodules' to git clone.

Log:
2023-10-17 18:52:16 +08:00
black-desk ec4bd2b01f
chore(tools): add run-clang-tidy
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-16 09:37:50 +08:00
black-desk 7b360baa21
chore(tools/generate-coverage): enable ccache
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-15 03:29:24 +08:00
black-desk 64570e195d
fix: void full specialization in non-namespace scope
gcc not support CWG 727 yet

check: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-15 03:29:23 +08:00
black-desk ee1dece0a3
style: run clang-format on all files
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 22:41:07 +08:00
black-desk 55bd5525ce
style: update .clang-format
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 22:41:06 +08:00
black-desk 6cf704a7ff
refact: remove unused code
`useThinRuntime` always equals to true. So I remove it.

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 22:37:53 +08:00
black-desk 55928b8917
refact: remove unused code
useFlatpakRuntime is not used by any one we just remove it.

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 22:32:13 +08:00
black-desk 46ac7d7e6d
refact: remove old desktop entry code
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 17:47:38 +08:00
black-desk b16a9dd87e
tests(utils/xdg): add tests for new DesktopEntry
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 17:47:37 +08:00
black-desk 0336a600e1
refact(utils/xdg): new DesktopEntry
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 17:47:36 +08:00
black-desk 12443ac27d
refact(utils/error): update Err and EWrap
add tl::unexpected(...) to these two macros

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-13 17:47:35 +08:00
black-desk a3299d4718
reafct: remove private class of app
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-12 16:25:06 +08:00
black-desk 6dfad94f60
style: use nested namespace
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-12 15:19:22 +08:00
black-desk 22c69881c7
style: format config.json
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-12 15:01:19 +08:00
black-desk 9d0f2b70ec
chore: sort LINK_LIBRARIES
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-12 10:09:39 +08:00
black-desk bfbf6de337
ci: add OWNERS
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-12 09:56:42 +08:00
black-desk 5645fe7003
build: manually add alias for yaml-cpp
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 22:53:13 +08:00
black-desk 7fa2bb3d6b
chore: update PFL.cmake
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 22:53:12 +08:00
black-desk 10b664609b
chore: add tools
- tools/upgrade-cpm.sh
- tools/upgrade-pfl.sh

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 22:29:05 +08:00
black-desk 80be247be9
chore: update debian/rules
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 22:11:31 +08:00
black-desk 9ada065677
build: refact build process
- update cmake-format config;
- using PFL.cmake (https://github.com/black-desk/PFL.cmake);
- using CPM.cmake (https://github.com/cpm-cmake/CPM.cmake).

Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 13:35:51 +08:00
black-desk 76b5a447f8
fix: typo in changelog
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 10:40:37 +08:00
black-desk ac5d7bc795
refact: remove unneed function
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-11 10:40:36 +08:00
black-desk a122049325
style: sort include
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-07 10:55:46 +08:00
black-desk bf0963be9c
fix: add missing inline
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-07 10:55:45 +08:00
black-desk 07b6875c1e
chore: add some NOLINTs
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-07 10:55:44 +08:00
black-desk 8eb60414c2
refact: remove private class of bundle
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-07 10:18:36 +08:00
black-desk 4d107e6794
fix: fix wrong alias
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:13 +08:00
black-desk b07e3ea778
refact: remove private class of package mangaer
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:13 +08:00
black-desk dba8b94795
refact: remove private class of app_manager
- remove private class of app_manager
- remove singleton base of app_manager

Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:12 +08:00
black-desk 5e11888f8b
refact!: delete unused dbus method
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:11 +08:00
black-desk 6233e22990
refact: make ll-package-manager use utils/dbus
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:10 +08:00
black-desk 05030b467f
refact: add using in ll-service
use using to make the code more readable in ll-service.

Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:09 +08:00
black-desk 32210fab10
refact: add some logs
- add some log in ll-service launching progress;
- add some log in utils/dbus.

Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:08 +08:00
black-desk 92f8ddda72
refact: make ll-service use utils/dbus
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:07 +08:00
black-desk b292c0ef8b
refact: add utils/dbus
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:06 +08:00
black-desk f83783b67a
refact: add utils/finally
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:05 +08:00
black-desk 46e47c805f
refact: add utils/error
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-28 14:03:04 +08:00
black-desk cc8465bd91
build: add tl::expected
- add tl::expected in CMakeLists.txt and debian/control;
- run wrap-and-sort.

Signed-off-by: black-desk <me@black-desk.cn>
2023-09-28 14:03:03 +08:00
black-desk 1dc1718e04
style: set tabsize 2 for cmake files
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2023-09-28 14:03:02 +08:00
Daryl.Xu 956a42b228 doc: Update README.zh_CN.md
修改几个错别字和更完善的中文文档
2023-09-25 14:15:11 +08:00
black-desk ac9dbc84c6
refact: use nullptr
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-25 14:07:33 +08:00
black-desk a40a621a14
fix: check network reply
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-25 14:07:32 +08:00
black-desk 2eee362db8
feat: use journald to logging
- introduce the new utils/global module for holding functions using
  everywhere;
- add qt message handler for logging to journald;
- add -DQT_MESSAGELOGCONTEXT for enabling source location of log.

Signed-off-by: black-desk <me@black-desk.cn>
2023-09-25 14:07:31 +08:00