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

Fixes #175 by referring to logrus by its lower-case name. #176

Merged

Conversation

mgoltzsche
Copy link
Contributor

References of github.com/Sirupsen/logrus have been rewritten to
github.com/sirupsen/logrus to avoid case-insensitive import collisions when
importing this project together with other projects that already refer to
logrus using its lower-case package name.

logrus references have been updated manually in the following files:

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

glide updated some more files.
Build, lint and test have been run successfully.

Background: sirupsen/logrus#570 (comment)

Please be aware that this fix may cause problems in other projects that already use image-tools and still refer to github.com/Sirupsen/logrus but finally all projects that use the latter should be adjusted to use the lower-case name.

Signed-off-by: Max Goltzsche max.goltzsche@gmail.com

@mgoltzsche mgoltzsche force-pushed the 175-logrus-lower-case-dependency branch from 3ccacd1 to e1b84a3 Compare August 29, 2017 22:11
@zhouhao3
Copy link

Please follow the prompts to modify PR.

@zhouhao3
Copy link

@mgoltzsche please update.

@mgoltzsche mgoltzsche force-pushed the 175-logrus-lower-case-dependency branch 2 times, most recently from 457a4aa to 95bcf08 Compare September 15, 2017 18:05
mgoltzsche added a commit to mgoltzsche/image-tools that referenced this pull request Sep 15, 2017
References of github.com/Sirupsen/logrus have been rewritten to
github.com/sirupsen/logrus to avoid case-insensitive import collisions when
importing this project together with other projects that already refer to
logrus using its lower-case package name.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
References of github.com/Sirupsen/logrus have been rewritten to
github.com/sirupsen/logrus to avoid case-insensitive import collisions when
importing this project together with other projects that already refer to
logrus using its lower-case package name.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
@mgoltzsche mgoltzsche force-pushed the 175-logrus-lower-case-dependency branch from 95bcf08 to 4d03523 Compare September 15, 2017 18:12
@mgoltzsche
Copy link
Contributor Author

Whitespace removed. Sorry for the delay.

@zhouhao3
Copy link

zhouhao3 commented Sep 18, 2017

LGTM

Approved with PullApprove

@zhouhao3
Copy link

ping @coolljt0725

@zhouhao3
Copy link

cc @coolljt0725

@coolljt0725
Copy link
Member

coolljt0725 commented Sep 26, 2017

LGTM

Approved with PullApprove

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.

None yet

3 participants