Repository navigation
Conversation
- Map the four preset groups to apt packages. - PresetInstaller runs apt-get update and install inside the environment through ProotCommand, then installs OpenCode with the official installer and verifies it on PATH. - CommandRunner accepts an onLine callback for live output. - The environment card installs its presets and shows the output in a dialog. - 7 unit tests for the package mapping and scripts.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the preset and OpenCode part of #7.
git,curl,wget,build-essential.neovimplus OpenCode.python3,nodejs,npm,golang,rustc,cargo.htop,ripgrep,fd-find,jq,tmux.PresetInstallerrunsapt-get updateandapt-get installinside the environment throughProotCommand, then installs OpenCode with the official installer and verifies it onPATH.CommandRunnernow accepts anonLinecallback so the UI can stream the output.Notes
aptrequires kernel >= 4.11 (see P1.0: validate runtime execution with targetSdk 37 #4); the UI does not block older kernels.apt-cache searchremain for a follow-up commit.Test plan
./gradlew ktlintCheck lintStandardDebug testStandardDebugUnitTest assembleStandardDebugpasses.essentialsselected, tap "Install presets", verifygit --versionin the terminal.