-
Notifications
You must be signed in to change notification settings - Fork 112
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
Remove top-level version from BOM #367
Conversation
resolves: buildpacks#357 Signed-off-by: Yael Harel <yharel@vmware.com>
Signed-off-by: Yael Harel <yharel@vmware.com>
Signed-off-by: Yael Harel <yharel@vmware.com>
builder.go
Outdated
import ( | ||
"fmt" | ||
|
||
"github.com/BurntSushi/toml" | ||
|
||
"github.com/buildpacks/lifecycle/api" | ||
|
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.
Fix import grouping. fmt
should be group with other stdlib imports at the top of the import
block. github.com/buildpacks/lifecycle/api
should be group with other "github.com/buildpacks/lifecycle/*
imports at the bottom and github.com/BurntSushi/toml
should be in a separate group in the middle.
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.
Sorry, I thought that make all
is doing that for me.
Why don't we do it?
Anyway, I fixed the import order in all of the files, please let me know if I missed something.
Thanks!
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.
I made sure stdlib, external, and internal imports were all in separate groups, but not correctly (it created three new groups instead of having only three groups total)... goimports
has some unfortunately edge cases depending on the state of the input :/
Adding similar settings to your IDEA can help to avoid getting into the edge cases
Signed-off-by: Yael Harel <yharel@vmware.com>
…et and do not match Signed-off-by: Yael Harel <yharel@vmware.com>
(both top level and metadata versions are set to different values) Signed-off-by: Yael Harel <yharel@vmware.com>
resolves: #357
Signed-off-by: Yael Harel yharel@vmware.com