Skip to content

Commit e603878

Browse files
authored
Merge pull request #6 from OctoSense-org/docs/hackathon-audit2
Docs: note the off-main runtime lock (#4); date the e1c2164b constraint notes
2 parents f20a44e + c16ea61 commit e603878

4 files changed

Lines changed: 15 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Use `python3 tools/setup-native.py --check --cargo-manifest catalog/rust/Cargo.t
2020
to check the local dependency graph. Existing platform rendering backends remain
2121
part of their applications; the framework controls the shared VM and UI sources.
2222

23+
**Known gap:** the lock (and the matching Cargo revs) currently select
24+
Octoscript-Makepad `b1596d9c`, which is not on its `main`; the other OctoSense
25+
consumers are on `463e3da8` (makepad `cd812acd`). Until [#4](https://github.com/OctoSense-org/OctoScript-Android/issues/4)
26+
is fixed, prepare this repository in its own workspace rather than beside an
27+
OctoScript-App-Design-Flow checkout.
28+
2329

2430
Octoscript DSL rendered to **native Android widgets** from Rust — the Android peer of
2531
[Octoscript-OH](https://github.com/OctoSense-org/Octoscript-OH), which does the same against

‎README.zh-CN.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ OctoSense 外壳、App Hub 的 `card-host`、Mail 以及其他 OctoSense 应用
1717
用 `python3 tools/setup-native.py --check --cargo-manifest catalog/rust/Cargo.toml`
1818
检查本地依赖图。现有的各平台渲染后端仍然属于各自的应用;框架负责的是共享的 VM 和 UI 源码。
1919

20+
**已知差异:** 目前锁文件(以及对应的 Cargo 版本)选定的是 Octoscript-Makepad `b1596d9c`,
21+
它不在该仓库的 `main` 上;其他 OctoSense 使用方都在 `463e3da8`(makepad `cd812acd`)。
22+
在 [#4](https://github.com/OctoSense-org/OctoScript-Android/issues/4) 修复之前,请把本仓库放在单独的工作区里准备,不要和
23+
OctoScript-App-Design-Flow 的 checkout 放在一起。
24+
2025

2126
用 Rust 把 Octoscript DSL 渲染成 **Android 原生控件**——它是
2227
[Octoscript-OH](https://github.com/OctoSense-org/Octoscript-OH/blob/master/README.zh-CN.md)

‎catalog/README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ views. The DSL — not Java — decides what the screen says.
6767

6868
## VM constraints discovered (the hard-won part)
6969

70-
The makepad-script rev `e1c2164b` that `octoscript-render` pins has three shapes
70+
The makepad-script rev `e1c2164b` that `octoscript-render` pinned when these were
71+
found (the runtime is now selected by `native-runtime.lock.json`) has three shapes
7172
that silently produce a wrong tree rather than an error. All were found by
7273
host-side probing (`examples/probe.rs`) after they showed up as blank screens:
7374

‎catalog/README.zh-CN.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ cd .. && gradle assembleDebug && adb install -r app/build/outputs/apk/debug/app-
6565

6666
## 发现的 VM 限制(来之不易的部分)
6767

68-
`octoscript-render` 锁定的 makepad-script 版本 `e1c2164b` 有三种写法会悄无声息地
68+
发现这些问题时,`octoscript-render` 锁定的 makepad-script 版本 `e1c2164b`(如今运行时由
69+
`native-runtime.lock.json` 选定)有三种写法会悄无声息地
6970
生成错误的树,而不是报错。三者都是先表现为空白页面,再通过宿主机侧探测
7071
(`examples/probe.rs`)找出来的:
7172

0 commit comments

Comments
 (0)