-
Notifications
You must be signed in to change notification settings - Fork 33
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
Reorganize the code into pkg and internal directories, this moves the oci directory out of stacker binary's way #335
Conversation
1d14fd5
to
64e52fb
Compare
I don't know that we can do this. At least it'll be painful for all the users of that path. Definitely major version change sort of thing. |
Would organize code under pkg/ and internal/ if need be. That is the golang way to do this. |
64e52fb
to
f862c74
Compare
64b34dd
to
557d407
Compare
@rchincha what do you think? |
2ca5d76
to
5e775ca
Compare
@ariel-miculas can you resolve the conflict? you may just have to move that file again. |
5e775ca
to
ca0e3dd
Compare
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.
Thank you. I like it. Much cleaner layout.
It'll still hurt for anyone using the pkg/ stuff right now, but it's worth it.
And, by switching to cmd/stacker/ you've made room for cmd/atomfs :)
This will need to be updated: https://stackerbuild.io/developer_guide/code_structure/ |
@ariel-miculas can this wait until after #345, this being mostly a re-org PR. |
sure |
1a871ae
to
15e3b72
Compare
This is done by reorganizing the code into the pkg directory. Files from cmd/ were also moved to cmd/stacker, according to the go guidelines. Fixes project-stacker#296 Fixes project-stacker#332 Signed-off-by: Ariel Miculas <[email protected]>
15e3b72
to
f73e072
Compare
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.
lgtm
Fixes #296
Fixes #332
Signed-off-by: Ariel Miculas [email protected]