kamiyadm
7e46321302
chore: fix typos in cli.cpp
...
Fix typos in cli.cpp.
Log:
2023-12-22 14:53:26 +08:00
kamiyadm
c8a68af3c8
feat: support the operation of print info from layer
...
Print info from layer with ll-cli info <layer path>.
Log:
2023-12-22 14:53:26 +08:00
kamiyadm
b5f4ed8dbd
feat: support the operation of import layer
...
Import layer with ll-builder import <layer path>.
Log:
2023-12-22 09:53:33 +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
black-desk
5265f5769d
refact: generate repo config class use json schema
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-21 17:28:40 +08:00
kamiyadm
e30deed8b5
feat: support the operation of export layer
...
Export layer with ll-builer export <dir>.
Log:
2023-12-21 17:01:29 +08:00
kamiyadm
a1ebd9bdd5
fix: refWithModule should add channel
...
Add default channel main to Project::refWithModule.
Log
2023-12-21 17:01:29 +08:00
kamiyadm
e4ace08526
chore: rename layer_package.* to layer_packager.*
...
-
Log:
2023-12-21 16:08:14 +08:00
kamiyadm
f5e78827f4
fix: change the parameter destination to layerFilePath
...
LayerPackager::pack should generate layer from an absolute path.
Log:
2023-12-21 16:08:14 +08:00
kamiyadm
da464d6d00
feat: add magic number to layer
...
Write magic number to the header of layer in 40 bytes.
Log:
2023-12-21 16:08:14 +08:00
black-desk
c95fbf2216
feat: add LINGLONG_GERR for error from glib
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-21 15:26:35 +08:00
myml
a0826d5a27
feat: rewrite repo push method
...
重写ostree repo的push方法, 使用生成的http client代替之前的HttpRestClient
Log:
2023-12-21 15:25:27 +08:00
myml
fa72bf99eb
chore: update http client generated by openapi
...
更新openapi生成的代码, 添加应用推送的多个接口
Log:
2023-12-21 15:25:27 +08:00
kamiyadm
e58adbbccf
chore: specify license for new files
...
-
Log:
2023-12-20 17:49:40 +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
kamiyadm
2dc8bd0a06
fix: some app failed to use gsettings
...
Add environment variable GNOME_DESKTOP_SESSION_ID into container,
some applications rely on this variable to decide whether to use
gsettings configuration. Such as chrome.
Log:"
2023-12-14 18:02:26 +08:00
black-desk
28bb59c9fb
fix: get right default repository
...
repos is not a QList but a QMap of QString.
2023-12-13 11:24:40 +08:00
black-desk
6fd9a4856b
fix: use value captured dbus connection in main
...
systemBus() and sessionBus() is not return a reference but a value.
This value captured by address in a lambda cause crash when that value
is gone.
So we use a value capture here to fix it.
2023-12-13 11:24:34 +08:00
black-desk
4a884bfbc5
fix(repo): disconnect signal to avoid crash
...
The lambda connected to signal will be called next time network responds
arrive even when loop is gone, which make program crash.
2023-12-13 11:10:03 +08:00
kamiyadm
9d742ce094
fix: build failed in ostree_repo.cpp
...
Remove static from struct OstreeRepoDeleter.
Log:
2023-12-13 10:21:57 +08:00
black-desk
9cf1eee391
fix: do not install test
...
we should not install test binary
2023-12-12 17:58:40 +08:00
kamiyadm
68eb544741
fix: some app failed to share data by /tmp
...
Temporarily mount the host /tmp into the container.
Log:
2023-12-12 17:42:40 +08:00
black-desk
b09375b5c2
chore: add ostree as build deps
...
tests need ostree command to run
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
afd4a6b1d9
tests: make test can run parallelly
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
504a182c69
chore: update reuse comments
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
774aea8759
tests(repo): update tests
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
f02afe6dbe
refact: remove some methods in Repo
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
4b1bc1f8ab
feat: add QDebug operator for Error
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
d22fe3c762
fix: correct use LINGLONG_EWRAP
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +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
black-desk
99735f5db8
fix: fix some mem leak
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
65053cf335
refact: remove remoteAdd and remoteDelete
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
f6bd1d3da1
tests: add main.cpp
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
7295448476
refact(OSTreeRepo): rewrite constructor
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
linxin
b709b422ae
feat: add unit test for repo module
...
add unit test
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
black-desk
d3c0d9dc3f
refact(repo): update ensureRepoEnv
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-12 13:27:57 +08:00
myml
1dd4eb710c
feat: QueryApps add unit tests
...
QueryApps添加单元测试
Log:
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-04 11:49:12 +08:00
black-desk
5d71e0861f
refact: inject repo::RepoClient
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 11:35:35 +08:00
black-desk
43299e93b7
refact: remove unused RepoClient::Auth
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 11:32:03 +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
black-desk
899af87296
build: temporary fix of CPM.cmake bug
...
When nlohmann_json is installed instead of downloaded by CPM,
CPM seems failed to find that library when compiling ytj.
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 09:03:58 +08:00
black-desk
22f309358d
chore: update ytj
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 09:03:57 +08:00
black-desk
a86d456693
docs: add description for builder configuration.
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-29 09:03:54 +08:00
Felix Yan
28d39f749f
chore: correct a typo in project.cpp
...
Log:
2023-11-27 19:46:00 +08:00
black-desk
c82b064287
chore: update reuse comments
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-11-24 09:54:17 +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