dengbo11
4d8839f6a5
chore: update CMakeList
...
update CMakeList version to 1.6.1
Log:
2024-09-11 13:15:39 +08:00
ComixHe
6da766c460
refactor: improve error message and fix some error
...
- two packages with the same version but different channels are not
- use type 'std::optional<std::string>' for subRef of UAB
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-10 16:17:56 +08:00
kamiyadm
d983de361d
fix: some errors during migration
...
-
Log:
2024-09-09 18:03:22 +08:00
ComixHe
93f065b3f4
feat: migrating old ostree repo while constructing OstreeRepo
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-09 16:05:10 +08:00
kamiyadm
adbad5e6e5
feat(ll-cli): call WaitForAvailable before init PackageManager
...
Wait for the migration to complete, maybe ll-package-manager
is busy now.
Log:
2024-09-09 15:50:28 +08:00
ComixHe
93736942f6
feat: add new dbus object for migrating underlying storage
...
Adding version '1' to dbus service 'org.deepin.linglong.PackageManager' and it's dbus object.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-09 10:45:36 +08:00
kamiyadm
b35e46236b
refactor: cli.cpp/package_manager.cpp/ostree_repo.*
...
* Do not set empty string for info->uuid. (cli.cpp)
* Default module should be 'binary'. (package_manager.cpp)
* Refactor removeOstreeRef/handleRepositoryUpdate/importLayerDir
and some glue functions.(ostree_repo.cpp)
* Add function isLayerEmpty in RepoCache. (repo_cache.cpp)
2024-09-09 09:45:04 +08:00
ComixHe
c8c2f9b151
refactor: remove deprecated method and refactor getLayerDir
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-05 15:05:18 +08:00
kamiyadm
75231cd5f8
refactor: modify pull/listLocal/rebuildCache/searchLayerItem
...
* Using new flag OSTREE_REPO_PULL_FLAGS_NONE, keep repo name
in ref. (pull)
* Using layer info which from cache. (listLocal)
* Get repo name from ref. (rebuildCache)
* Return with no error. (searchLayerItem)
* If cacheRef.id is empty, return all items. (searchLayerItem)
Log:
2024-09-05 14:52:09 +08:00
ComixHe
1eb3785165
refactor: remove unnecesseray code and refactor OSTreeRepo
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-04 20:35:22 +08:00
ComixHe
b1d60fcf41
refactor(api): redesign repoCache and remove MinifiedInfo
...
MinifiedInfo is no longer needed after isolating storage
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-04 20:35:22 +08:00
kamiyadm
e9209f02f3
refactor: modify pull and createLayerQDir in ostree_repo.cpp
...
* Add new func cacheRefFromReference and cacheRefFromReferenceV2.
* Insert record to repo cache after ostree pull successfully.
* Use the hash of the ostree commit as the layerDir.
Log:
2024-09-04 15:41:58 +08:00
kamiyadm
984b4d6ea8
refactor: improve class RepoCache
...
* Rename structure cacheRef to CacheRef.
* Call writeToDisk after addLayerItem and deleteLayerItem.
* Clear variable gErr before use it.
Log:
2024-09-04 15:41:58 +08:00
kamiyadm
b81e5e24c7
feat: implement rebuildCache in repo_cache.cpp
...
-
Log:
2024-09-03 17:47:58 +08:00
kamiyadm
5b03afea53
feat: overload loadJSONFile with other type
...
Support std::filesystem and GFile.
Log:
2024-09-03 17:47:58 +08:00
ComixHe
f02c39bb3b
refactor: change repoCache
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-03 17:25:01 +08:00
ComixHe
955a179f0f
feat: add cache to OSTreeRepo
...
improve RepoCache methods.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-02 17:48:14 +08:00
kamiyadm
8edf90b4b7
feat: add class RepoCache
...
This class will be a member of OSTreeRepo.
Log:
2024-09-02 15:50:37 +08:00
ComixHe
ae17c5fd62
feat: changing the api 'RepositoryCacheLayersItem'
...
Booking the commit hash of base and runtime in object which depends by
current item.
Adding these properties for the 'minified' feature of UAB
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-02 11:29:23 +08:00
ComixHe
8ce2b027f3
refactor!: use command to manipulate configuration of builder and cli
...
Deprecate the command "ll-cli repo modify".
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-09-02 10:15:19 +08:00
dengbo11
bf27abe33b
chore: delete appimage convert feature from ll-builder
...
delete appimage convert feature from ll-builder
and move it to linglong-pica
Log:
2024-08-28 13:54:32 +08:00
ComixHe
b8dc5c4b41
fix(tools): use pragma once in qdbusxml2cpp
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-28 10:57:18 +08:00
myml
ebeae251da
feat: do not use bash to execute ldconfig
...
在制作flatpak的base时发现, flatpak的动态链接器 (ld-linux-x86-64.so.2)
只包含了/usr/lib/x86_64-linux-gnu这一个动态库搜索路径, 导致bash在运行ldconfig之前是无法启动的
所以在容器钩子中不再通过bash运行ldconfig而是直接启动ldconfig, 以兼容复杂的base环境
note: org.gnome.Platform/x86_64/43 和 org.kde.Platform/x86_64/5.15-23.08 都有这个问题
Log:
2024-08-28 10:43:43 +08:00
dengbo11
642d2d34f1
fix: ll-builder can not export uab in uos 25
...
enable uab option in uos 25
Log:
2024-08-28 09:52:56 +08:00
ComixHe
ef7dfb9467
feat: add storage API
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-27 14:51:40 +08:00
kamiyadm
65c6c360cc
chore: update install.md
...
Import gpg public key before install.
pick from:
d54fb26927
89c6d4ca42
Log:
2024-08-26 15:58:31 +08:00
ComixHe
fc4776c8f6
docs: update ll-builder doc
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-26 14:36:27 +08:00
kamiyadm
893f2ba96b
fix(ll-builder): failed to generate desktop file
...
* Return error when execute app-conf-generator failed.
* Do not parse full line of Exec, just insert string after Exec=.
issue: https://github.com/linuxdeepin/developer-center/issues/10419
Log:
2024-08-23 16:06:39 +08:00
bluesky
9c3192b2b6
feat: copy linglong.yaml to output
...
ll-builder 构建出来的玲珑应用没有拷贝出 linglong.yaml,不方便后续应用维护以及复现打包过程。
Log: copy linglong.yaml
2024-08-22 15:01:56 +08:00
kamiyadm
cb35f6d5f3
fix(ll-cli): nothing changed if repo modify without '--name'
...
If '--name' is not set, use the default name.
issue: https://github.com/linuxdeepin/developer-center/issues/10235
Log:
2024-08-22 13:25:27 +08:00
ComixHe
b04e73bdc6
fix: improve `ll-cli ps` output
...
Issue: https://github.com/linuxdeepin/developer-center/issues/10430
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-20 17:53:49 +08:00
black-desk
89bc5ba1a9
build: update CMakeLists project
...
Signed-off-by: black-desk <me@black-desk.cn>
2024-08-20 10:20:31 +08:00
ComixHe
29318500c1
refactor: uab filtering rules
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-19 16:30:01 +08:00
myml
efc122c4f7
feat: support loong64 arch
...
支持龙芯新世界架构
Log:
2024-08-19 15:42:43 +08:00
ComixHe
0ab4666766
refactor: create hard link instead of copying files during exporting
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-16 14:28:05 +08:00
ComixHe
d5fd779a17
fix: couldn't find all execuable elf files
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-15 10:29:19 +08:00
bluesky
fd4ccd143d
chore: update docs
...
Log: update docs
2024-08-14 09:58:09 +08:00
kamiyadm
8bcbee5e65
fix: SIGBRT when installing two apps
...
ostree_repo_pull() will iterate the thread default main context,
We new a new context before call ostree_repo_pull().
Log:
2024-08-09 22:25:15 +08:00
ComixHe
e2a3811e0f
fix: add validation method for layerDir
...
if there has a minified.json in layer directory, this layer directory wouldn't be
removed after uninstalling it.
add a validation method to verify a layer is already installed or not.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-09 18:28:08 +08:00
ComixHe
c4794d89df
fix(ll-box): use /proc/<pid>/stat to find the target pid
...
add a fallback for compatible with linux kernel which compiled with CONFIG_PROC_CHILDREN=false
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-09 17:49:44 +08:00
myml
c063dbc76a
fix: running the calendar reports a timezone error
...
localtime直接挂载成文件, 当系统是北京时区会导致日历报时间格式错误
目前定位到QDateTime.isValid返回false, 具体原因还需要后续排查
Log:
2024-08-09 17:15:57 +08:00
ComixHe
41f01c550d
fix: correct mount option of mountPoint 'media'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-08 05:44:50 -05:00
myml
c341161e12
fix: regex matching issue in the install list file
...
修复因字符串替换导致正则匹配错误
Log:
2024-08-08 17:27:52 +08:00
ComixHe
8746e3a890
fix: package manager crashed
...
std::vector is a `Sequence containers`, references obtained from
emplace_back will be dangling reference after incresing the capacity
of this container.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-08 17:18:36 +08:00
kamiyadm
fecee4624b
feat: add a tool to check the icon in layer
...
-
Log:
2024-08-08 15:29:35 +08:00
ComixHe
5a4eb3cc12
feat: support for trimming unneeded dynamic libraries
...
Adjustments to subref-related implementations
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-08 15:00:28 +08:00
dengbo
835835a6b2
fix: chromium timezone show error
...
mount /etc/localtime directly using file instead of soft link
Log:
2024-08-07 00:08:08 -05:00
kamiyadm
8526fae52f
fix: the upgrade service affects system startup time
...
Start the upgrade service after defaults.target.
Log:
2024-08-06 06:27:36 -05:00
kamiyadm
22e0790a1d
fix: automatic updates will break the base env
...
* Updates to base and runtime need to be separated
from applications. Temporarily handle this in the
automatic update script.
* installedAppFuzzyRef should parse from paras->package.
Log:
2024-08-06 06:27:36 -05:00
kamiyadm
766eebef4a
fix: app exists after the installation job canceled
...
We should recheck the task status after pullDependency() in package manager.
Log:
2024-08-06 06:16:50 -05:00