macOS manifest: arch-aware Homebrew prefix + variable interpolation support - #57
Merged
Merged
Conversation
The prior "remove redundant repo content" commit had only removed the gitlink, leaving .gitmodules and .git/config with an orphaned submodule entry pointing at nothing. Cleaned that up (deinit, removed cached .git/modules data, dropped the stale .gitmodules entry) and re-added the submodule properly, same commit (f65527f) as before.
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
Provisioning Manifest features (scriptbox/config)
variables:block (resolve_order.rb) so that variables can be referenced throughout rest of manifest with<%= $name %>. Useful for detecting platform, e.g.x86_64vsarm64, so that variablebrew_prefixcan be set dynamically.brew_prefixpicks/usr/local(Intel) vs/opt/homebrew(Apple Silicon) viaRbConfig::CONFIG['host_cpu'], used consistently across Homebrew bootstrap,scriptbox/config/macos.yml: pinned tool versions (python3, ruby4, php, tcl, go), GNU grep/gawk setup,CPAN local::libsetup, Java 17, Wine + winetricks + coreutils for Windows scripting.darkn3rd/tools/powershell-pkgcask,sudo:support forappends:entries (needed for/etc/shellson macOS)pkgbox/tap/darkn3rd/homebrew-toolssubmodule, bumped to latestTest plan
brew_prefixresolves correctly to/usr/localand/opt/homebrewrespectively on each