-
Notifications
You must be signed in to change notification settings - Fork 10
refactor: restructure packages #165
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
Conversation
I'm not sure why CI is failing. Everything looks Ok locally. I'll have a look tomorrow. |
8851e0e
to
780aa8a
Compare
780aa8a
to
d437d37
Compare
@colesnodgrass this PR should be good to go. Hope you don't mind the changes. I kept going in circles between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with most wtf code there is a story of why and how it ended up where it did. I'm always in favor of cleaning things up, making them more logical, more sane, more manageable.
These refactors address package organization issues that contradict Go standards. Currently, shared utilities like
helm
,k8s
,docker
, andairbyte
are nested underinternal/cmd/local/
which makes them command-specific when they should be available to any command. This also prepares for eliminating the stutteringinternal/cmd/local/local/
structure.Changes in this PR:
internal/cmd/local/{helm,k8s,docker,airbyte,paths}/
tointernal/
packagesinternal/cmd/local/localerr.LocalError
tointernal/abctl.Error
internal/cmd/local/local/
tointernal/cmd/local/
which IMO causes confusion, and does not provide ample separation between domains.