Split bootstrap.mk into bootstrap.mk (non-Go) and bootstrap-go.mk (Go)#31
Split bootstrap.mk into bootstrap.mk (non-Go) and bootstrap-go.mk (Go)#31
Conversation
|
@HarryCampion bootstrap.mk will be in rhiza-core. Same idea will be applied for rhiza |
…mk (Go) Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
If you try the new sync with cruft you may be able to get around having to call them bootstrap-.py worth a try |
Not sure I understand. I will now create some more tests in rhiza-cli to mimick a changing template.yml file. |
cruft can handle the merge, instead of override, so you may be able to have the bootstrap in both locations and just extend. |
bootstrap.mkmixed Go-specific and general tooling concerns into a single file. This PR splits it along that boundary.Split
.rhiza/make.d/bootstrap-go.mk(new) — Go-specific content:GO_VERSION,GO_BIN,GOPROXYvariablesinstall-go— verifies Go installation against.go-versioninstall—go mod download/tidy+ dev tool installation (golangci-lint,goimports,govulncheck, etc.)build— compiles binaries tobin/.rhiza/make.d/bootstrap.mk(trimmed) — non-Go content only:pre-install/post-installhook stubsinstall-uv— uv/uvx installationclean— artifact removal, git cache cleanup, stale branch pruningDownstream impact
Both files are picked up automatically via the existing glob in
rhiza.mk:-include .rhiza/make.d/*.mkbootstrap-go.mkis added to thecorebundle intemplate-bundles.ymlso downstream projects receive both files on sync.docs/ARCHITECTURE.mdandREADME.mdupdated to reflect the new file.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
get.anchore.io/usr/bin/curl curl -w %{http_code} -sL -o /tmp/tmp.7L10oJbDjk REDACTED commit(dns block)/usr/bin/curl curl -w %{http_code} -sL -o /tmp/tmp.Lru17fbNFu REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.