Skip to content

Commit 1e6e352

Browse files
authored
feat: workspace topology correction — manifest in real git repo (#13)
Phase 2.6: manifest now lives in a real git repo inside the workspace. New east init modes: -l (local), -m (remote), template (default). ManifestSelf, ManifestConfig, Workspace rewrite with manifest_repo_path/manifest_file_path. Breaking change: existing workspaces must be re-initialized. 166 tests passing.
2 parents 8413191 + 044c5fc commit 1e6e352

21 files changed

Lines changed: 1408 additions & 266 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,25 @@ A fast, manifest-driven development toolkit written in Rust.
1515

1616
## Status
1717

18-
**Phase 2** — complete.
18+
**Phase 2.6** — complete.
1919

2020
- **Phase 1:** Multi-repo management — `east init`, `east update`, `east list`, `east status`, `east manifest --resolve`
21-
- **Phase 2:** Configuration & extension commands — `east config get/set/unset/list`, manifest-declared commands (`exec`/`script`/`executable`), PATH-based `east-<name>` discovery, template engine
21+
- **Phase 2:** Configuration & extension commands — `east config`, manifest-declared commands, PATH-based discovery, template engine
22+
- **Phase 2.6:** Topology correction — manifest lives in a real git repo inside the workspace
2223

2324
## Quick Start
2425

2526
```bash
26-
# Initialize a workspace from a manifest repo
27-
east init https://github.com/your-org/manifest
27+
# Create a new workspace with a template manifest
28+
east init
2829

29-
# Initialize from a specific branch
30-
east init https://github.com/your-org/manifest -r develop
30+
# Or use an existing local app as manifest repo
31+
east init -l ./my-app
3132

32-
# Update all projects
33+
# Or clone a manifest repo from remote
34+
east init -m https://github.com/your-org/sdk-manifest
35+
36+
# Update all projects declared in the manifest
3337
east update
3438

3539
# Run a manifest-declared command

README.zh-CN.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,25 @@
1515

1616
## 状态
1717

18-
**Phase 2** — 已完成。
18+
**Phase 2.6** — 已完成。
1919

2020
- **Phase 1:** 多仓库管理 — `east init``east update``east list``east status``east manifest --resolve`
21-
- **Phase 2:** 配置与扩展命令 — `east config get/set/unset/list`、manifest 声明命令(`exec`/`script`/`executable`)、PATH 上的 `east-<name>` 发现、模板引擎
21+
- **Phase 2:** 配置与扩展命令 — `east config`、manifest 声明命令、PATH 发现、模板引擎
22+
- **Phase 2.6:** 拓扑修正 — manifest 住在 workspace 内的真实 git 仓库中
2223

2324
## 快速开始
2425

2526
```bash
26-
# manifest 仓库初始化工作空间
27-
east init https://github.com/your-org/manifest
27+
# 创建带模板 manifest 的新 workspace
28+
east init
2829

29-
# 从指定分支初始化
30-
east init https://github.com/your-org/manifest -r develop
30+
# 使用已有本地应用作为 manifest 仓库
31+
east init -l ./my-app
3132

32-
# 更新所有项目
33+
# 从远端克隆 manifest 仓库
34+
east init -m https://github.com/your-org/sdk-manifest
35+
36+
# 更新 manifest 中声明的所有项目
3337
east update
3438

3539
# 运行 manifest 中声明的命令

0 commit comments

Comments
 (0)