Commit Graph

13 Commits

Author SHA1 Message Date
Joe Tretter
02a23694c3 Fix level setup, reword flow, and catalog scope
- create and enter the level's declared starting directory
- inspect Git state from the repository containing the active directory
- start the init level in /sandbox/git_hug and cover it with a runtime test
- apply edited reword subjects as commit messages in the in-app rebase editor
- cover rename_commit with a native interactive rebase regression test
- remove the upstream contribute call to action from the playable level catalog
- update level parity documentation
2026-06-08 14:21:21 -05:00
Joe Tretter
ceb0d503f4 Require real merge commit and keep level tests embedded 2026-05-19 16:18:58 -05:00
Joe Tretter
5db02adbe9 Fix upstream fixture-backed level setups 2026-05-19 15:52:22 -05:00
Joe Tretter
1ce4df1209 Ask for last good commit in bisect level 2026-05-18 20:19:34 -05:00
Joe Tretter
afb548d46f Make bisect playable and validate commit_in_future using Git author timestamps 2026-05-18 19:44:23 -05:00
Joe Tretter
d4e2c8714c Remove brittle interactive rebase shortcuts 2026-05-18 18:37:10 -05:00
Joe Tretter
4bac818571 Align level parity docs and fetch/status validation
- Add LevelsCompare.md with setup and validation comparisons against Gazler/githug.
- Document that LevelsCompare.md must be updated when level behavior changes.
- Track FETCH_HEAD count in RepoState so the Fetch level can match upstream validation.
- Mirror upstream Status setup with staged files plus untracked database.yml.
- Keep Fetch from being solved by pull despite native Git FETCH_HEAD behavior.
- Bump app version and build debug APK.
2026-05-11 21:36:12 -05:00
Joe Tretter
7e55084815 Misc Changes 2026-05-11 19:19:51 -05:00
Joe Tretter
8873755490 Compile Git for host and Android target platforms
- Rename CrossCompileGitForAndroid.sh to CompileGitForAllTargetPlatforms.sh and support host, Android-only, and all-target modes.
- Compile a development-host Git binary at build/host-git/libgit.so for JVM tests.
- Route level and sandbox tests through GITHUG_TEST_GIT_BINARY so they exercise the compiled host Git rather than the system Git fallback.
- Cross-compile packaged Git binaries for arm64-v8a, armeabi-v7a, x86, and x86_64 Android targets.
- Remove the temporary device-bound Pull rebase instrumentation path from the previous debugging attempt.
2026-05-07 15:26:38 -05:00
Joe Tretter
7bb14216ef Align tests with runtime sandbox and polish terminal help
- Run level solution scenarios through GitRepositoryRuntime with a real filesystem sandbox and git binary so evidence logs match app behavior.
- Materialize synthetic remotes as local bare repositories and configure upstream tracking for pull/push levels.
- Route mobile-hostile Git interactions through shared sandbox semantics for clone, patch add, interactive rebase, squash merge, submodule, stash, revert, and related flows.
- Relax affected level validators to inspect observable runtime state instead of fallback-only staged/index details.
- Show .git in ls output for native and fallback helper commands.
- Make tab completion resolve filenames and directories relative to the current working directory.
- Integrate help controls into the callout overlay and reposition the prompt callout above the terminal prompt.
- Add regression coverage for .git listing and subfolder completion.
2026-05-06 22:12:25 -05:00
Joe Tretter
e1b2d7f7a1 Misc Changes 2026-05-06 21:28:44 -05:00
Joe Tretter
d6c4c4a2df Auto-commit after successful build: update app gameplay/UI, improve build setup
Changed files:\napp/build.gradle.kts
app/src/main/java/solutions/tretter/githugandroid/GitRuntime.kt
app/src/test/java/solutions/tretter/githugandroid/LevelSolutionsTest.kt
2026-05-02 21:36:42 -05:00
Joe Tretter
8bcfa2bee4 Switched to Chatgpt 5.5 and codex. 2026-05-02 20:29:31 -05:00