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

Remove top-level version from BOM #367

Merged
merged 6 commits into from
Aug 7, 2020

Conversation

yaelharel
Copy link
Contributor

resolves: #357

Signed-off-by: Yael Harel yharel@vmware.com

Yael Harel added 2 commits August 5, 2020 11:54
resolves: buildpacks#357

Signed-off-by: Yael Harel <yharel@vmware.com>
Signed-off-by: Yael Harel <yharel@vmware.com>
builder.go Outdated Show resolved Hide resolved
Signed-off-by: Yael Harel <yharel@vmware.com>
@yaelharel yaelharel marked this pull request as ready for review August 6, 2020 19:48
@yaelharel yaelharel requested a review from a team as a code owner August 6, 2020 19:48
builder.go Outdated
Comment on lines 3 to 9
import (
"fmt"

"github.com/BurntSushi/toml"

"github.com/buildpacks/lifecycle/api"

Copy link
Member

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.

Copy link
Contributor Author

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!

Copy link
Member

@ekcasey ekcasey Aug 7, 2020

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

builder.go Outdated Show resolved Hide resolved
builder_test.go Outdated Show resolved Hide resolved
cmd/lifecycle/builder.go Outdated Show resolved Hide resolved
Signed-off-by: Yael Harel <yharel@vmware.com>
builder.go Outdated Show resolved Hide resolved
natalieparellano and others added 2 commits August 7, 2020 12:07
…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>
@ekcasey ekcasey merged commit 08eec06 into buildpacks:main Aug 7, 2020
@ekcasey ekcasey added this to the lifecycle-0.9.0 milestone Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove top-level version from BOM
3 participants