Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Fix logrus go mod mess #71

Merged
merged 1 commit into from
Mar 14, 2019
Merged

Fix logrus go mod mess #71

merged 1 commit into from
Mar 14, 2019

Conversation

viveklak
Copy link

Seems like the root issue was that go mod tidy was failing with go: github.com/Sirupsen/logrus@v1.4.0: parsing go.mod: unexpected module path "github.com/sirupsen/logrus".
This should effectively fix the above issue. Seems to work in local testing.

@viveklak viveklak requested review from a team and ckarenz March 14, 2019 05:40
@ckarenz
Copy link
Contributor

ckarenz commented Mar 14, 2019

This is ultimately caused by logrus being imported with inconsistent casing. Some packages in our deps haven’t caught up to go modules and the canonical (enforced) casing.

Longer term, I’d recommend we try to eliminate those dependencies since they’re most likely unmaintained projects.


exclude github.com/Sirupsen/logrus v1.1.1

exclude github.com/Sirupsen/logrus v1.1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be grouped/sorted similarly to requirements below in order to minimize diff churn?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go mod tidy seems to want to inject the spaces...

@viveklak viveklak merged commit a8f31fa into master Mar 14, 2019
@viveklak viveklak deleted the vl/Tidy branch March 14, 2019 07:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants