- Split BuildIOS command into build_ios_archive and build_ios_build - Split Git command into git_branch, git_remote, git_revision, git_stash - Add cli_style.dart and printer.dart for consistent CLI output - Add macos_signing.dart for macOS/iOS code signing - Refactor pipeline system (pipeline, pipeline_condition, pipeline_contain, etc.) - Update tag_system, defined_data, pipeline_data - Update application and command files for new structure - Add tests for new command catalog and core functionality - Update README with new features
37 lines
1.6 KiB
Text
37 lines
1.6 KiB
Text
# Complete - 05_git_split
|
|
|
|
## 완료 일시
|
|
|
|
2026-05-20
|
|
|
|
## 요약
|
|
|
|
Git command 책임별 파일 분리 작업을 1회 리뷰 루프로 완료했으며 최종 판정은 PASS다.
|
|
|
|
## 루프 이력
|
|
|
|
| Plan | Review | Verdict | 메모 |
|
|
|------|--------|---------|------|
|
|
| `plan_cloud_G07_0.log` | `code_review_cloud_G07_0.log` | PASS | `git.dart` import 호환과 `registerGitCommands()`를 유지하면서 Git command를 책임별 파일로 분리했다. |
|
|
|
|
## 구현/정리 내용
|
|
|
|
- `Git`, commit/pull/push/checkout command를 `git_remote.dart`로 분리했다.
|
|
- `GitCount`, `GitRev`, `GitReset`을 `git_revision.dart`로 분리했다.
|
|
- `GitStashPush`, `GitStashApply`, `GitBranch`를 각각 stash/branch 책임 파일로 분리했다.
|
|
- `git.dart`는 기존 import 경로 호환을 위한 export와 command registration 진입점으로 유지했다.
|
|
|
|
## 최종 검증
|
|
|
|
- `dart format --output=none --set-exit-if-changed lib/oto/commands/git/git.dart lib/oto/commands/git/git_remote.dart lib/oto/commands/git/git_revision.dart lib/oto/commands/git/git_stash.dart lib/oto/commands/git/git_branch.dart` - PASS; `Formatted 5 files (0 changed) in 0.01 seconds.`
|
|
- `dart analyze` - PASS; `No issues found!`
|
|
- `dart test test/oto_command_runtime_test.dart test/oto_command_catalog_test.dart` - PASS; `00:00 +8: All tests passed!`
|
|
- `rg --sort path -n "class Git|class GitCommit|class GitRev|class GitReset|class GitStashPush|class GitBranch|void registerGitCommands" lib/oto/commands/git` - PASS; 각 class가 책임별 파일에 있고 `registerGitCommands()`가 `git.dart`에 유지됨을 확인했다.
|
|
|
|
## 잔여 Nit
|
|
|
|
- 없음
|
|
|
|
## 후속 작업
|
|
|
|
- 없음
|