Commit Graph

102 Commits

Author SHA1 Message Date
Joe Tretter
83bb5a1457 Create packaged Git exec aliases for helper commands
- Create a runtime git-exec directory containing git-* aliases that point at the packaged libgit.so binary.
- Set GIT_EXEC_PATH for every native Git invocation so Git subcommands like fetch, merge-base, upload-pack, and receive-pack resolve the same way in tests and on-device.
- Keep JVM tests on GitRepositoryRuntime with the compiled host libgit.so so Push exercises the packaged-runtime execution model.
2026-05-07 15:46:06 -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
565028f64a Fix help callout anchoring and Push remote setup
- Anchor startup help callouts inside the scrollable pane workspace so they scroll with the exercise and terminal content they point at.
- Rebuild the Push level remote as a bare sibling repo with a temporary worktree for the remote-only commit, avoiding Android non-bare remote push failures.
- Leave a visible local worktree edit in Push while enabling rebase autostash so status, diff, and pull --rebase all behave as expected.
- Add native Push setup coverage for diverged status output, plain diff output, and clean pull --rebase behavior.
2026-05-07 09:57:50 -05:00
Joe Tretter
91e2df3ffe Improve upstream parity for level fixtures
- Add native per-level fixtures for complex histories, tags, branch graphs, rebases, resets, restores, stashes, and local remotes.
- Strengthen repository inspection so branch commit counts, remote-tracking branches, and detached tag checkouts reflect real Git state.
- Align Fetch, Pull, Push Branch, Branch At, and Rebase validators/tests with upstream-style repository state.
- Keep the prompt callout and native filesystem tab-completion fixes from the previous batch.
2026-05-07 09:21:04 -05:00
Joe Tretter
8e88b5e7c5 Fix Push level native repository setup
- Materialize the Push level with a real local/remote Git fixture that shares the first two commits, adds a remote-only fourth commit, and leaves a local third commit to rebase.
- Strengthen Push validation to require the rebased/pushed state and all expected files instead of only checking that a push command happened.
- Keep the level solution tests exercising the same native sandbox shape users see in the app.
2026-05-06 22:40:06 -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
5727022baf Misc Changes 2026-05-06 20:44:34 -05:00
Joe Tretter
5c7c7ad29d Add del alias for rm helper command 2026-05-05 20:12:08 -05:00
Joe Tretter
b8c4096123 Add exercise description onboarding bubble
Remove duplicate IME padding that caused keyboard gap
Add md alias for mkdir helper command
Add dir alias for ls helper command
Add cd.. shortcut for cd .. helper command
2026-05-05 20:08:51 -05:00
Joe Tretter
344ff99f0a Add terminal input onboarding bubble 2026-05-05 19:54:33 -05:00
Joe Tretter
9d09eb1385 Fix level transition scrolling and keyboard blank-space behavior
Use commit-summary.txt for AndroidProjectTooling auto-commit messages
2026-05-05 19:48:29 -05:00
Joe Tretter
42c898f648 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/GitHugApp.kt
2026-05-05 19:38:00 -05:00
Joe Tretter
16d7809150 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/GameModels.kt
app/src/main/java/solutions/tretter/githugandroid/GitHelpCommands.kt
app/src/main/java/solutions/tretter/githugandroid/GitHugApp.kt
app/src/main/java/solutions/tretter/githugandroid/GitRuntime.kt
app/src/main/java/solutions/tretter/githugandroid/Visual.kt
app/src/main/java/solutions/tretter/githugandroid/levels/AdvancedLevels.kt
app/src/main/java/solutions/tretter/githugandroid/levels/LevelCatalog.kt
app/src/test/java/solutions/tretter/githugandroid/GitHelpCommandsTest.kt
app/src/test/java/solutions/tretter/githugandroid/GitSandboxEngineTest.kt
2026-05-05 19:27:33 -05:00
Joe Tretter
6200fdc912 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/levels/AdvancedLevels.kt
2026-05-02 23:18:28 -05:00
Joe Tretter
c3c672eb27 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
2026-05-02 23:08:19 -05:00
Joe Tretter
4963123b3b 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/GitEditorCommands.kt
app/src/main/java/solutions/tretter/githugandroid/GitHugApp.kt
app/src/main/java/solutions/tretter/githugandroid/GitMessageEditorDialog.kt
app/src/main/java/solutions/tretter/githugandroid/GitRuntime.kt
app/src/test/java/solutions/tretter/githugandroid/GitEditorCommandsTest.kt
2026-05-02 23:03:00 -05:00
Joe Tretter
01d10f31c2 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/Terminal.kt
2026-05-02 22:56:12 -05:00
Joe Tretter
893fa2b56e 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/Terminal.kt
2026-05-02 22:49:09 -05:00
Joe Tretter
d1922eb0a2 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/TextEditorDialog.kt
2026-05-02 22:41:32 -05:00
Joe Tretter
42b9be0921 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/Terminal.kt
app/src/main/java/solutions/tretter/githugandroid/TextEditorDialog.kt
2026-05-02 22:32:59 -05:00
Joe Tretter
65c44ccf62 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/GitHugApp.kt
2026-05-02 22:29:46 -05:00
Joe Tretter
4727b314b4 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/Exercise.kt
2026-05-02 22:27:43 -05:00
Joe Tretter
6ad1cc2860 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/ManPageDialog.kt
app/src/main/java/solutions/tretter/githugandroid/Terminal.kt
2026-05-02 22:25:53 -05:00
Joe Tretter
842e734554 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/ManPageDialog.kt
app/src/main/java/solutions/tretter/githugandroid/Terminal.kt
app/src/main/java/solutions/tretter/githugandroid/TextEditorDialog.kt
2026-05-02 22:22:57 -05:00
Joe Tretter
ca20b0a358 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/GitHelpCommands.kt
app/src/main/java/solutions/tretter/githugandroid/GitHugApp.kt
app/src/main/java/solutions/tretter/githugandroid/GitRuntime.kt
app/src/main/java/solutions/tretter/githugandroid/ManPageDialog.kt
app/src/test/java/solutions/tretter/githugandroid/GitHelpCommandsTest.kt
2026-05-02 22:09:20 -05:00
Joe Tretter
dcd5589d74 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/GitHugApp.kt
app/src/main/java/solutions/tretter/githugandroid/TextEditorDialog.kt
2026-05-02 22:04:37 -05:00
Joe Tretter
17f19ca0ba 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/EditorCommands.kt
app/src/main/java/solutions/tretter/githugandroid/GitHugApp.kt
app/src/main/java/solutions/tretter/githugandroid/GitRuntime.kt
app/src/main/java/solutions/tretter/githugandroid/TextEditorDialog.kt
app/src/test/java/solutions/tretter/githugandroid/EditorCommandsTest.kt
2026-05-02 21:50:34 -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
02f26be3fa Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
2026-05-02 20:31:59 -05:00
Joe Tretter
8bcfa2bee4 Switched to Chatgpt 5.5 and codex. 2026-05-02 20:29:31 -05:00
Joe Tretter
015135da5a Auto-commit after successful build: improve build setup
Changed files:\nSetupBuildEnvironment.sh
app/build.gradle.kts
2026-04-24 20:44:55 -05:00
Joe Tretter
e1d18265d1 Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
app/src/main/AndroidManifest.xml
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
app/src/main/res/mipmap/ic_launcher.xml
app/src/main/res/mipmap/ic_launcher_round.xml
app/src/main/res/values/colors.xml
2026-04-24 20:36:30 -05:00
Joe Tretter
3c8098ff28 Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
2026-04-24 20:25:34 -05:00
Joe Tretter
46162ed6e2 Auto-commit after successful build: improve build setup
Changed files:\nCreateUploadKey.sh
app/build.gradle.kts
2026-04-24 20:20:39 -05:00
Joe Tretter
7fff81b1f5 Auto-commit after successful build: improve build setup, update docs/config
Changed files:\n.gitignore
SetupBuildEnvironment.sh
app/build.gradle.kts
keystore.properties.example
2026-04-24 16:37:18 -05:00
Joe Tretter
499bfe503a Auto-commit after successful build: improve build setup
Changed files:\nSetupBuildEnvironment.sh
app/build.gradle.kts
2026-04-24 16:29:42 -05:00
Joe Tretter
5b5d88872f Auto-commit after successful build: improve build setup
Changed files:\nSetupBuildEnvironment.sh
app/build.gradle.kts
2026-04-24 16:25:21 -05:00
Joe Tretter
d673d5f3a6 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/main/java/solutions/tretter/githugandroid/levels/CoreLevels.kt
2026-04-24 16:06:51 -05:00
Joe Tretter
f1ca54a2ad 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/main/java/solutions/tretter/githugandroid/levels/CoreLevels.kt
app/src/main/java/solutions/tretter/githugandroid/levels/LevelCatalog.kt
2026-04-24 15:30:23 -05:00
Joe Tretter
51cdc05f40 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/levels/CoreLevels.kt
2026-04-24 15:19:27 -05:00
Joe Tretter
e089eaa272 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/levels/CoreLevels.kt
2026-04-24 15:08:43 -05:00
Joe Tretter
9be3b26c3b Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
2026-04-24 14:25:18 -05:00
Joe Tretter
6f9398e214 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/GameModels.kt
app/src/main/java/solutions/tretter/githugandroid/levels/CoreLevels.kt
2026-04-24 14:23:12 -05:00
Joe Tretter
f0f32746a2 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/GameProgressStore.kt
2026-04-24 14:10:15 -05:00
Joe Tretter
3388227ca9 Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
2026-04-24 13:54:38 -05:00
Joe Tretter
eee8827f76 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/AppLog.kt
app/src/main/java/solutions/tretter/githugandroid/GameProgressStore.kt
app/src/main/java/solutions/tretter/githugandroid/GitHugApp.kt
app/src/main/java/solutions/tretter/githugandroid/GitRuntime.kt
2026-04-24 13:52:19 -05:00
Joe Tretter
66b664d9d5 Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
2026-04-24 13:28:23 -05:00
Joe Tretter
9f2e5b8dd9 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/GitHugApp.kt
2026-04-24 13:25:56 -05:00
Joe Tretter
adab680cb6 Auto-commit after successful build: improve build setup
Changed files:\napp/build.gradle.kts
2026-04-24 13:19:55 -05:00