docs(plans): 下发 K27.16 develop 合并 release
This commit is contained in:
1 parent
83f13e9a6e
commit
e26e57ac18
1 file changed
+25
@@ -20,6 +20,31 @@
|
||||
|
||||
---
|
||||
|
||||
## [待处理] 2026-10-19 | K27.16 客户端 develop 合并进 release/v1.0.0
|
||||
|
||||
**用户指令(2026-10-19,原文)**:
|
||||
> 「然后把 dev 相关改动合并到release/v1.0.0」
|
||||
|
||||
**前置状态**
|
||||
- `ReelShort` release/v1.0.0 = `814b2c0`(含 `3d0e080` 明文 HTTP/双网络修复 + 公网地址 `http://39.162.50.99:8081`)。
|
||||
- develop = `190e4f9`,领先 release 55 个提交(K22–K27 全部 UI/播放器/发现页改动)。
|
||||
|
||||
**口径**
|
||||
1. 在 `release/v1.0.0` 上执行 `git merge --no-ff develop`,冲突按以下原则解决:
|
||||
- `lib/core/config/app_config.dart`:**地址取 release**(`devHostBaseUrl` 与 `lanBaseUrl` 均为 `http://39.162.50.99:8081`),保留 release 的 `probeAndApplyBaseUrl()`;结构/其余方法取 develop。
|
||||
- `lib/main.dart`:保留 `await AppConfig.probeAndApplyBaseUrl();`。
|
||||
- `android/app/src/main/AndroidManifest.xml`:保留 `android:usesCleartextTraffic="true"`。
|
||||
- `lib/core/config/server_endpoint.dart`:采用 develop 的 `SharedPreferencesAsync` 版本。
|
||||
- `pubspec.yaml` / `pubspec.lock`:采用 develop 的依赖集合(`shared_preferences ^2.5.5`、`shared_preferences_platform_interface` dev 依赖、foundation override),不要保留 release 的低版本降级。
|
||||
- `lib/core/data/services/auth_session_store.dart`:采用 develop 版本。
|
||||
- 其余 K22–K27 的 UI/播放器/发现页/测试改动全部保留 develop 版本。
|
||||
2. 解决冲突后执行 `flutter pub get`,同步把 `test/config/server_endpoint_test.dart` 的地址断言改为 `http://39.162.50.99:8081`(保留 develop 的异步 SharedPreferences mock)。
|
||||
3. 门禁:`dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`。
|
||||
4. 合并提交后 push `release/v1.0.0`;作者 `Zhou Weidong <502333560@qq.com>`;禁 `git add -A`;PROGRESS 留痕(含冲突清单与门禁原始输出)。
|
||||
5. 真机验证由用户执行。
|
||||
|
||||
---
|
||||
|
||||
## [待处理] 2026-10-19 | K27.15 客户端默认 API 地址改回 192.168.31.187:8081
|
||||
|
||||
**用户指令(2026-10-19,原文)**:
|
||||
|
||||
Reference in new issue
Block a user