Skip to content

docs: reword "earthly" -> "earthbuild" in Go comments#644

Open
kmannislands wants to merge 1 commit into
mainfrom
reword-go-comments
Open

docs: reword "earthly" -> "earthbuild" in Go comments#644
kmannislands wants to merge 1 commit into
mainfrom
reword-go-comments

Conversation

@kmannislands

Copy link
Copy Markdown

What

Rewords unambiguous free-text prose references to the project/tool in Go doc/inline comments (e.g. // size of the earthly cacheearthbuild cache, // the Earthly versionthe Earthbuild version).

6 lines across 6 files.

Scope / safety

Conservatively scoped to clear prose. Left verbatim:

  • Env-var docs (EARTHLY_*) and code identifiers (EarthlyGitHash, warnDeprecatedEarthlyEnvVars, ...)
  • Config/paths (~/.earthly, .earthlyignore) and container/artifact names (earthly-buildkitd)
  • URLs (github.com/earthly/...) and literal command examples (the binary is still invoked as earthly)

The Go corpus is predominantly these technical tokens (there are no unexported earthly identifiers, and exported ones map to the user-facing EARTHLY_* API), so the safe prose yield here is intentionally small.

Verification

  • Affected packages build (go build ./...); changed files are gofmt-clean.
  • Reduces the tracked earthly line count by 6.

🤖 Generated with Claude Code

Rewords free-text prose references to the project/tool in Go doc/inline
comments (e.g. "size of the earthly cache" -> "earthbuild cache", "the
Earthly version" -> "the Earthbuild version").

Conservatively scoped: only unambiguous prose was changed. Left verbatim
were env-var docs (EARTHLY_*), code identifiers (EarthlyGitHash, etc.),
config/paths (~/.earthly, .earthlyignore), container/artifact names
(earthly-buildkitd), URLs (github.com/earthly/...), and literal command
examples (the binary is still invoked as `earthly`). The Go corpus is
predominantly these technical tokens, so the safe prose yield is small.

Affected packages build; changed files are gofmt-clean.
Reduces "earthly" line count by 6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kmannislands kmannislands requested a review from a team as a code owner July 3, 2026 16:41
@kmannislands kmannislands requested review from gilescope and removed request for a team July 3, 2026 16:41
@kmannislands kmannislands added the ai-assisted Authored with AI assistance label Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

🎉 Are we earthbuild yet?

Great progress! You've reduced "earthly" occurrences by 6 (0.11%)

📈 Overall Progress

Branch Total Count
main 5408
This PR 5402
Difference -6 (0.11%)

📁 Changes by file type:

File Type Change
Go files (.go) ✅ -6
Documentation (.md) ➖ No change
Earthfiles ➖ No change

Keep up the great work migrating from Earthly to Earthbuild! 🚀

💡 Tips for finding more occurrences

Run locally to see detailed breakdown:

./.github/scripts/count-earthly.sh

Note that the goal is not to reach 0.
There is anticipated to be at least some occurences of earthly in the source code due to backwards compatibility with config files and language constructs.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several code comments across multiple files to rename references from 'earthly' or 'Earthly' to 'earthbuild' or 'Earthbuild'. I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted Authored with AI assistance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants