Skip to content

upgrading to v0.2.5 results in exit 1 without any other change #23

@moul

Description

@moul

@dependabot tried to automatically update the version of gci we are using -> berty/berty#2771


It results in gci terminating with exit 1 without any useful logging information:

moul@fwrz:~/go/src/berty.tech/berty/go (dependabot/go_modules/github.com/daixiang0/gci-0.2.5) $ go run github.com/daixiang0/gci -d -local berty.tech .
skip file cmd/berty/doc.go since no import
skip file cmd/berty/mini/doc.go since no import
skip file cmd/berty/mini/example_test.go since no import
skip file cmd/berty-doctor/example_test.go since no import
skip file cmd/betabot/example_test.go since no import
skip file cmd/rdvp/doc.go since no import
[...] // skipping annoying logs
skip file pkg/username/others.go since no import
skip file pkg/username/username.go since no import
exit status 1

I also tried removing the -local option, but still the exit 1 issue


FYI, here is our setup:

  • latest go version
  • go modules
  • canonical URLs (berty.tech/berty is mapped to github.com/berty/berty)
  • we're using the official way of using major versions berty.tech/berty/v2 is not a real folders, but is clearly defined in the go.mod

I'm sorry, I don't have enough knowledge of your project's internals to give you more details, but I think this comes from #22

Thank you very much, and take care

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions