Closed sysradium closed 7 years ago
sirupsen
is the name that should be used; this got changed in #48. If there are projects that use the old Sirupsen
name then those should be updated, too.
You can probably get away by manually renaming the repo in the glide files?
The entire Sirupsen
-> sirupsen
is annoying, but keeping the old name isn't really going to work in the long term. Loads of projects are renaming it now, see the references in https://github.com/sirupsen/logrus/pull/384
Ok, I see. Thanks for the explanation. This sucks a lot :(
BTW I noticed just now that in the README it mentions:
Seeing weird case-sensitive problems? It's in the past been possible to import Logrus as both upper- and lower-case. Due to the Go package environment, this caused issues in the community and we needed a standard. Some environments experienced problems with the upper-case variant, so the lower-case was decided. Everything using
logrus
will need to use the lower-case:github.com/sirupsen/logrus
. Any package that isn't, should be changed.I am terribly sorry for this inconvenience. Logrus strives hard for backwards compatibility, and the author failed to realize the cascading consequences of such a name-change. To fix Glide, see these comments.
So maybe try that to fix your problem?
There is an issue with this lib when is used together with the
glide
vendoring tool.If I add
logrus_sentry
as a dependency to theglide.yml
I will end up with this errors duringglide install
:This is because you specify
github.com/sirupsen/logrus
as a dependency instead ofgithub.com/Sirupsen/logrus
. It breaks only on case-sensitive FS (for example OSX).Refence: https://github.com/Masterminds/glide/issues/781