Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: move cmd/alloy to root of repository #77

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Mar 25, 2024

Following the Go documentation on how to Organize a Go module, a single-command repository should have its main package at the root of the repository rather than in a cmd/ folder.

As all internal tooling is now in internal/cmd, and there's only one non-internal binary, that binary has been moved to the root of the repository to align with best practices.

Following the Go documentation on how to
[Organize a Go module][modules-layout], a single-command repository
should have its main package at the root of the repository rather than
in a cmd/ folder.

As all internal tooling is now in internal/cmd, and there's only one
non-internal binary, that binary has been moved to the root of the
repository to align with best practices.

[modules-layout]: https://go.dev/doc/modules/layout
@rfratto rfratto enabled auto-merge (squash) March 25, 2024 21:17
@rfratto rfratto merged commit 5e92690 into main Mar 25, 2024
9 checks passed
@rfratto rfratto deleted the move-alloy-cmd-to-root branch March 25, 2024 21:20
@rfratto rfratto added the backport-to-agent:no PR should NOT be backported to the agent repo. label Apr 23, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-agent:no PR should NOT be backported to the agent repo. frozen-due-to-age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant