Commit Graph

1217 Commits

Author SHA1 Message Date
black-desk d08a9655f8
fix: update upgrade-all script
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 17:20:26 +08:00
myml 6c4962bdc6 fix: The issues of PM lacking permission to read layer file
修复PM没有权限读取layer文件的问题

Log:
2023-12-28 17:15:45 +08:00
linxin d052132c75 fix: ref without channel
can not commit directory to repo when the reference lost the channel field
2023-12-28 17:06:28 +08:00
black-desk 0b9a12d29d fix: always create empty json array in dbus proxy config
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 17:03:42 +08:00
black-desk f5ccafee5e fix: appId -> appID
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 17:03:42 +08:00
black-desk 02441c2e47
fix(cli): correct ps
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 16:50:32 +08:00
black-desk d7be58f27b
refact(cli): disable enter
This command not working now.

Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 14:37:27 +08:00
black-desk d0150dc8bc
fix: allow exec with appId
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 14:25:48 +08:00
black-desk 60ee306b7c
fix: register exec param dbus type
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 14:25:47 +08:00
black-desk 92f60891b2
fix(cli): handle old run --exec arguments
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 13:25:22 +08:00
black-desk 29f01bc39e
fix(cli): do not pass version as latest when uninstall
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-28 10:45:36 +08:00
linxin ce0e1271b7 fix: overlays json object access nonexistent key
overlays json object access nonexistent key
2023-12-27 13:48:58 +08:00
linxin bd8a5aa985 fix: select the broken argument
the reference argument lost member variables
2023-12-27 10:38:30 +08:00
black-desk aabbb87cad
fix: add missing semicolon
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-27 09:57:40 +08:00
linxin ef6b0e26c9 fix: ignore pull or checkout error for devel
can not return error when failed to handle for devel modules
2023-12-26 18:22:15 +08:00
linxin 296d0b5169 fix: set gpg-verify to false not work
set gpg-verify is false for ostree_repo_remote_change
2023-12-26 17:57:25 +08:00
linxin 7607025682 fix: appid is filled with reference
appid  is filled with reference
2023-12-26 17:56:11 +08:00
linxin 4ed31ae63a fix: uidMappings and gidMappings not init
uidMappings and gidMappings not init by std::optional
2023-12-26 17:54:00 +08:00
linxin 497d42e69a fix: remove 30 times retry for pull
do not need to retry when pull data from remote repo
2023-12-26 17:49:42 +08:00
black-desk 0838b76591
fix: handle "latest" in latestOfRef
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 11:17:16 +08:00
black-desk 812c59adb1
fix: do not pass version="latest" when start app
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 11:13:15 +08:00
black-desk 31b55f4d1b
fix: ensure layer dir before checkout
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 10:58:34 +08:00
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
black-desk c8afffd300
fix: use remote name in ostree_repo
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 10:19:40 +08:00
black-desk 5259ca5858
fix(cli): do not pass version as "latest"
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 10:19:39 +08:00
black-desk 9d00026b28
refact: use new config
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-26 10:19:38 +08:00
black-desk ae3ec323a1
refact: update error message
Signed-off-by: black-desk <me@black-desk.cn>
2023-12-25 17:38:35 +08:00
black-desk c2dc353fd4 refact: remove module from reference
Remove module property from reference, and move channel to front and
split with other components with :.

Signed-off-by: black-desk <me@black-desk.cn>
2023-12-25 16:20:31 +08:00
black-desk 7d7216c8b0 feat: new error wrap macros
Introduce LINGLONG_TRACE_MESSAGE, and a new single argument version
LINGLONG_EWRAP to wrap error with LINGLONG_TRACE_MESSAGE string.

Signed-off-by: black-desk <me@black-desk.cn>
2023-12-25 16:20:31 +08:00
kamiyadm 5da7112e41 fix: other user failed to create workdir
Change workdir from /tmp/linglong-layer/UUID to /tmp/linglong-layer-UUID.

Log:
2023-12-25 13:29:19 +08:00
kamiyadm 5712ee41f4 feat: support the operation of install layer
Install layer with ll-cli install <layer path>.

Log:
2023-12-25 13:21:34 +08:00
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