Commit Graph

67 Commits

Author SHA1 Message Date
black-desk c4ec461bbe
refact: remove old repo config
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 10:19:41 +08:00
myml 1caf76fe9e clean: clean unused methods
清理未使用的方法

Log:
2023-12-21 18:25:49 +08:00
black-desk a2bbdaed25
build: add new repo config to library
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-21 17:28:42 +08:00
black-desk 295feec687
chore: sort source files in CMakeLists.txt
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-21 17:28:41 +08:00
kamiyadm e4ace08526 chore: rename layer_package.* to layer_packager.*
-

Log:
2023-12-21 16:08:14 +08:00
kamiyadm abbc19681f :feat: add some oprations for layer
add some class to manage layer.

Log:
2023-12-20 17:49:40 +08:00
black-desk 5e9277df7c build: use CTest
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
myml 9e506dd7e7 feat: rewrite QueryApps method
使用新的http client重写QueryApps方法

Log:
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 11:32:03 +08:00
myml a66ac84558
feat: use openapi generator cpp code for http api
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 09:03:59 +08:00
linxin 4c8681b5e5
refact: use libostree
Refact ostree_repo from call ostree command to use libostree.

Signed-off-by: black-desk <me@black-desk.cn>
2023-11-24 09:54:16 +08:00
linxin f0ea664a1f
refact: refact repo module error handling
rewrite util::error by utils::error

Log: rewrite error handing
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-24 09:54:14 +08:00
black-desk 85c46d0b77 chore: add ytj
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-20 13:49:02 +08:00
black-desk 309cef9ff1
refact: introduce new Reference
1. introduce new Reference to replace old Ref;
2. upgrade tl-expected to 1.1.0;
   https://github.com/TartanLlama/expected/issues/61

Signed-off-by: black-desk <me@black-desk.cn>
2023-11-16 15:43:36 +08:00
black-desk 467a6ab061 chore: update reuse config
It is ok to use a GPL-3.0-only code generator to produce code in a LGPL
project.
2023-11-13 01:01:23 +08:00
black-desk f441040403 refact: refactory cli and its test
1. use pImpl for error;
2. remove factory template;
3. use gmock;
4. remove command helper class.
2023-11-13 01:01:23 +08:00
linxin 6712e3fc43 feat: add ll-cli command test
add ll-cli test

Log: add test
2023-11-13 01:01:23 +08:00
linxin ae2ab9850c reface: add json output
add the type of data output by json

Log: add data output type
Issue:
2023-11-13 01:01:23 +08:00
linxin 6aed2a2b6c refact: ll-cli command parser implement
use docopt lib to replace Qt command line parser lib

Log: change command line parser implement
Issues:
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-13 01:01:23 +08:00
black-desk 0bf59b4d56 refact: use occpi
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 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
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 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 9d0f2b70ec
chore: sort LINK_LIBRARIES
Signed-off-by: black-desk <me@black-desk.cn>
2023-10-12 10:09:39 +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 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 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 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
black-desk d84b935d65
build: remove unused CMAKE option
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-19 17:28:30 +08:00
black-desk d59db56dd8
build: update version to 1.4.0
Signed-off-by: black-desk <me@black-desk.cn>
2023-09-19 17:02:11 +08:00
black-desk b74e5abde7
build: move virtual-base to apps/prototype
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:14 +08:00
black-desk 7eb29efbef
build: move include_directories command into src/dbusgen
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:52:01 +08:00
black-desk 4e67f8e3f3
build: add SPDX-* comments to CMakeLists.txt
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:51 +08:00
black-desk 33dbeeca7c
build: remove unnecessary enable_testing
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:37 +08:00
black-desk a3e33aba21
build: move ll-builder to apps
This commit starts move executables to /apps

Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:36 +08:00
black-desk a830ab73c5
chore: test -> tests
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:27 +08:00
black-desk 372e6f89bd
build: ll-builder
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:20 +08:00
black-desk c58172e244
build: add the new qserializer
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:19 +08:00
Iceyer 602ee363a3
chore: fix some spell error
Signed-off-by: Iceyer <me@iceyer.net>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:07 +08:00
Iceyer 3268e1ba47
refact: total remove old httpclient
- Remove curl
- Remove httpclient.h/httpclient.cpp

Signed-off-by: Iceyer <me@iceyer.net>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:51:05 +08:00
black-desk ece2029a31
feat: add tools/prototype/virtual_base
Signed-off-by: Iceyer <me@iceyer.net>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:50:53 +08:00
black-desk bd08ba69d4
build: update to c++17
-

Signed-off-by: black-desk <me@black-desk.cn>
2023-08-15 13:50:41 +08:00
Chen Linxuan e9fb34b940 build: clean up CMakeLists.txt
-
2023-03-06 15:41:47 +08:00
Chen Linxuan 56247d1e97 test: enable test
-
2023-03-06 15:41:47 +08:00
Chen Linxuan 9652b97d12 build: make ll-test link to static library
- Remove unused uossv_test.cpp;
- Use cmake function provide by google test;
- Make ll-test link to static library;

include_directories() for private header is called in top level
CMakeLists.txt. So now when we need include private header in ll-test,
we can include it as in the project, no more "src/" needed.
2023-03-06 15:41:47 +08:00
Chen Linxuan 37dbd4c9c9 chore: move configure.h into static lib
-
2023-03-06 15:41:47 +08:00
Chen Linxuan 16819485fb build: use IMPORTED_TARGET
Use cmake IMPORTED_TARGET to generate a target which can be passed to
target_link_libraries().
2023-03-06 15:41:47 +08:00
Chen Linxuan 77c20a15d9 build: find dependencies in top level CMakeLists
This commit refactor the CMakeLists to find all dependencies in the top
level CMakeLists.txt.

I leave ll-test CMakeLists.txt untouched. It will be changed later
commits.
2023-03-06 15:41:47 +08:00
Chen Linxuan 762b7354e9 build: clean CMakeLists.txt
Remove some unused settings in top level CMakeLists.txt.
2023-03-06 15:41:47 +08:00