Commit Graph

1465 Commits

Author SHA1 Message Date
black-desk 2c3e586122
docs: update BUILD.md to use ccache and ninja
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-06 10:13:21 +08:00
black-desk f43ff3d619
chore: update CMakePresets
- use CMAKE_CXX_FLAGS
- remove jobs
- remove generator

Signed-off-by: black-desk <me@black-desk.cn>
2024-03-06 10:13:18 +08:00
black-desk ee993988b6
fix: correct gitsubmodule
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-05 20:48:05 +08:00
black-desk 91fd4c77b9
chore: add cmake presets
* add CMakePresets.json
* update documentation for building linglong

Signed-off-by: black-desk <me@black-desk.cn>
2024-03-05 15:51:04 +08:00
myml 42ea62fd0a feat: split the build function
拆分build函数, 使构建逻辑更清晰

Log:
2024-03-05 06:01:06 +00:00
myml 82b4f1f8b6 feat: builder support set environment variables using command args
build支持使用命令行参数设置环境变量

Log:
2024-03-04 17:57:26 +08:00
dengbo 054aa7a89a chore: add appimage convert docs
added usage documentation of appimage convert

Log:
2024-03-04 09:52:32 +00:00
black-desk 856ff74a6f chore: upgrade quicktype
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-04 08:37:52 +00:00
dengbo f64c4ed593 feat: appimage support url convert
support appimage url and hash to convert to linglong .layer(.uab)

gog:
2024-03-04 07:58:03 +00:00
dengbo f0332800c2 feat: Refactor appimage convert features
to export linglong.layer(.uab) according to
the user-specified appimage package parameters

Log:
2024-03-04 06:21:02 +00:00
myml d2941bead7 feat: mount container rootfs using overlayfs
使用overlayfs挂载rootfs,避免创建的挂载点污染base文件

Log:
2024-03-01 01:17:18 +00:00
myml 19177bb48f fix: when fuse-overlayfs mounting fails, return an error
使用waitForFinished的返回值并不能判断fuse挂载失败,改用exitCode

Log:
2024-02-29 08:06:26 +00:00
myml 327d3a1fae feat: remoteLatestRef should return error when app cannot be found
remoteLatestRef在查不到应用时应该返回错误

Log:
2024-02-29 02:52:09 +00:00
myml 82dfcea257 fix: App cannot run without desktop file
在命令行参数指定exec后, 无需再查找desktop文件
避免无法启动无desktop文件的应用

Log:
2024-02-29 02:42:03 +00:00
myml 319f2db592 feat: Check if crun exists
检查crun是否存在,如果不存在打印提示

Log:
2024-02-29 02:31:26 +00:00
myml fe9e7ec754 feat: buildArch uses host arch by default
buildArch默认使用主机的架构
修复builder run架构为空的问题

Log:
2024-02-29 01:48:29 +00:00
myml b3ca28206c feat: Container failure should return an error
容器运行失败时应该返回错误, 否则无法判断构建是否成功

Log:
2024-02-29 01:19:35 +00:00
ComixHe 459b40c25f fix: suppress some warnings and failed to build on ArchLinux
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-28 09:42:06 +00:00
ComixHe 8b73159ca3 chore: migrate docs from linglong-homepage
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-28 16:00:37 +08:00
myml 826b7c2ffa fix: App without runtime cannot use builder run
修复无runtime的应用不能使用builder run启动

Log:
2024-02-28 05:09:18 +00:00
black-desk e4d9706517
fix: add missing find_package for spdlog
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-27 14:37:31 +08:00
black-desk b20aaa64dd
chore: update OWNERS
Add these people to reviewers.

- ComixHe
- dengbo11
- kamiyadm
- myml

Signed-off-by: black-desk <me@black-desk.cn>
2024-02-27 14:22:23 +08:00
black-desk d0c92280f4
test: update cli test
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-22 11:02:06 +08:00
black-desk 3903d7cfef
fix: update PFL.cmake
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-22 10:56:59 +08:00
kamiyadm 8c6c718f7a fix: call ReloadApplications after installation
We should tell AM that the desktop files were changed after installation.
When Am can listen for file changes, remove this code.

Log:
2024-02-22 10:08:39 +08:00
kamiyadm d42020e9b8 fix: use lambda in c++11 standard
-

Log:
2024-02-20 13:13:45 +08:00
kamiyadm 3842522fb8 feat(ll-builder): start support cross compilation
This is just a start.
2024-02-04 16:05:01 +08:00
kamiyadm 78d84f2b01 fix: add 'll-cli repo list' to usage and completion
-

Log:
2024-02-04 09:57:06 +08:00
kamiyadm e5abfe0f3d fix: set the env variable of network proxy in builder
If the current enviroment include some variables about network
proxy, we should also set them up in the build enviroment.

Log:
2024-02-02 10:11:02 +08:00
black-desk 3595a15382
chore: remove ll-service
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-01 18:21:27 +08:00
black-desk 44d366af99
fix: install fetch-git-repo to linglong-bin
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-01 18:21:26 +08:00
kamiyadm 3a64eaa675 fix: build failed with autotools mode in sometime
We will get '\n' if add '|' to the end of a key in yaml file,
just remove it.

Log:
2024-02-01 18:20:16 +08:00
black-desk e613e3fa59
chore: upgrade ocppi to 0.2.2
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-01 16:54:30 +08:00
myml 874c564597 feat: add sleep to upgrade-all to avoid impacting CLI operations
自动更新脚本添加休眠时间,避免因并发问题影响用户cli操作

Log:
2024-02-01 11:08:54 +08:00
myml f6748ad4a2 feat: clean up temporary file generated by build
清理构建产生的临时文件
优化strip脚本

Log:
2024-01-30 16:09:45 +08:00
kamiyadm 896d544d42 fix: update bash completion for ll-cli
-

Log:
2024-01-30 11:27:30 +08:00
myml abf262d844 feat: Optimize source download with shallow clone
使用浅克隆方式下载源代码,避免git仓库太大的问题

Log:
2024-01-26 18:29:14 +08:00
忘怀 064ab6cca9 fix: typo in layer_packager.cpp
typo fixed.
2024-01-26 13:31:54 +08:00
kamiyadm 80c4ee3f40 chore: fix typos in linglong_builder.cpp
-

Log:
2024-01-26 13:29:26 +08:00
kamiyadm afe4f92672 fix(ll-builder): create a new ref before push
Push failed when the channel is specified, because the
default channel is main. So we should create a new ref
with the channel which is specified before push.

Log:
2024-01-26 13:29:26 +08:00
kamiyadm 1204cab5a8 feat: support create a new ref from old ref
Add a new function aliasRef() to OSTreeRepo which aims to
create a new ref from the old ref.

Log:
2024-01-26 13:29:26 +08:00
kamiyadm cfd01d41e2 fix: ll-builder run failed because of network
We should get the info of org.deepin.Runtime from local repo
instead of remote repo.

Log:
2024-01-26 13:29:26 +08:00
kamiyadm 6422f61110 fix: fetching dependency failed because of channel
When fetching dependency failed from remote repo with channel 'main',
fallback to channel 'linglong'. If there still failed, fallback to local
repo.

Log:
2024-01-26 13:29:26 +08:00
kamiyadm f6183a9b69 fix: ostree ref contains repo name
Current ref is 'reponame:channel/appid/version/arch/module'.
Use flag OSTREE_REPO_PULL_FLAGS_MIRROR to make ref be
'channel/appid/version/arch/module'.

Log:
2024-01-26 13:29:26 +08:00
myml 6e3329d256 fix: cli unit tests
修复cli单元测试因app manager变更而无法通过

Log:
2024-01-26 13:28:33 +08:00
myml 648d09d4c5 feat: Support using run and build
使用支持oci标准的crun替换ll-box

Log:
2024-01-26 13:28:33 +08:00
kamiyadm 5baebb2286 feat: add bash completion for ll-builder
-

Log:
2024-01-26 09:56:02 +08:00
myml c7ed7622fa
feat: ll-builder uses AppManager to run applications
ll-builder使用AppManager运行应用, 避免开发测试和实际运行不一致

Log:
2024-01-24 13:44:05 +08:00
black-desk 03d95ab4ce
chore: bump version to 1.4.3-1
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-23 17:00:56 +08:00
black-desk aa9837e0bb
chore: remove old xsession script
Related: linuxdeepin/developer-center#7033
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-23 16:15:28 +08:00