Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Use github.com/sirupsen/logrus instead of github.com/Sirupsen/logrus #175

@mgoltzsche

Description

@mgoltzsche

Since image-tools refers to the logrus package with a capital letter it cannot be imported together with another package that uses the lower-case logrus package name since go build returns a case-insensitive import collision.

Thus unfortunately for instance I cannot import image-tools together with github.com/containers/image.

To solve this issue the glide dependency and corresponding imports should be updated to use the lower-case logrus package name since it has changed recently. According to sirupsen/logrus#570 (comment) the name change will not be reverted and most projects are already using the lower-case variant.

logrus references must be updated in the following files:

  • glide.yaml
  • image/manifest.go
  • image/manifest_test.go
  • cmd/oci-image-tool/main.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions