-
Notifications
You must be signed in to change notification settings - Fork 62
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
imgpkg Refactoring #24
Conversation
Co-Authored-By: gcheadle-vmware <67297250+gcheadle-vmware@users.noreply.github.com>
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.
The PR looks good. I added some minor changes, especially around the imports.
The Switch refractory looks good, nevertheless, it still feels a little big (I think we can address that in the future).
Personally, I would prefer to use fewer constants in our tests to ensure that the change I pointed out would be more easily detected.
98a7743
to
ad5f420
Compare
Co-authored-by: João Pereira <joaod@vmware.com>
Co-authored-by: João Pereira <joaod@vmware.com>
Co-authored-by: João Pereira <joaod@vmware.com>
Co-authored-by: João Pereira <joaod@vmware.com>
Just wanted to leave a comment here that perhaps it would make sense to discuss introducing this refactor after the release is cut. |
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.
looks good to me
(git-history, if-feasible) Could we squash any commits that fall under the same intent? |
Not sure if feasible, but can keep in mind for future prs to be more mindful of commit history. |
This is a refactor of
imgpkg
to address the following issues:kbld
cmd/copy.go
to remove problems of DRYcmd
(Extract lock files to their own packages #17)imgpkg
code (correcting typos, updating language in error messages, adding tests)