Install ElastOS from a signed release packed inside a desktop installer
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Read the install.sh flow and the existing install-release transaction, then inspect the unpublished lab/standalone-install branch referenced in the issue. Trace how release signatures, publisher DID, checksums, version and channel are validated before installation, and review the linked issues #518 and #519 for the startup and status boundary. Done means a local signed release installs through the existing transaction, preserves an existing Home, and passes the listed acceptance checks.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
A desktop installer (a Mac DMG or a Linux package) should install ElastOS without a terminal. 2.0.0 can only install through install.sh, which downloads from the seed and runs elastos install-release. There is no way to install from a copy of the signed release that ships inside an app.
The desktop app draft (Elacity/elastos-agent-host-spike#1386) calls elastos install --from DIR and a quiet start (ELASTOS_SERVICE=1). Both live only on a lab branch (lab/standalone-install) that is not pushed anywhere, so the draft cannot install the published 2.0.0 release.
Expected behaviour
- Push
lab/standalone-installto this repository as a pull request againstdevelop, or replace it with one, implementing the points below. The desktop app is then rebuilt against the published release, not a lab Runtime. - One Runtime command installs from a local folder of signed release files with the same checks as
install.sh: the release head's signature against the publisher DID baked into the app at build time, the release it names, every file's checksum, version and channel. Nothing from the folder runs before those checks pass. Lab publishers are refused in release builds. - It reuses the existing install transaction (
install-release) rather than a second installer, so locks, downgrade and channel refusal, and interrupted-install recovery behave the same. - It records the normal trusted source and channel, so the installed Home updates from the seed like any other Home.
- An existing Home for this user is adopted, never overwritten or doubled.
- Optional large parts (the Browser image, about 900 MB) are fetched later on demand, not required in the folder.
- Status (installed, starting, ready, failed with a reason) and starting Home without opening a browser come from #518; this issue adds only the install-from-folder result.
Acceptance
- A folder with a valid 2.0.x release installs and Home becomes ready.
- A folder with a bad signature, a changed file or a lab publisher is refused before anything from it runs, and nothing is written.
- Interrupted install, run again: completes once.
- Existing terminal-installed Home: adopted, data and passkeys kept.
- After install, the Home finds the next release on the seed.
Links
Elacity/elastos-agent-host-spike#1386, #518, #519, #172, #452.
- Ngôn ngữ chính
- Rust
- Star
- 6
- Fork
- 2
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của elastos/elastos-runtime
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastos/elastos-runtime#563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
elastos/elastos-runtime#508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documents: Markdown preview web links go through Home's confirmed link flow (#430 follow-up)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastos/elastos-runtime#436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
elastos/elastos-runtime#427 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
elastos/elastos-runtime#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của elastos/elastos-runtime
Issue tương tự
-
bug good first issue help wanted linux macos testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: app type: test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
storytold/photocraft#12706 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority-low to-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
examples/dca and limit-order: swap always fails on the real Soroswap router (deadline equals now)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
sorocon-labs/sorocron#172 ·
Maintainer thường phản hồi trong vòng 1 ngày