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

Renaming upper-case 'Sirupsen' to 'sirupsen' #384

Merged
merged 4 commits into from Nov 30, 2016

Conversation

Projects
None yet
@tobbbles
Contributor

tobbbles commented Jul 18, 2016

The reason for this is that most other packages use lower-case naming conventions.

The vendoring tool I use (GB) is case sensitive, and can become a massive pain in the 🍑 when Logrus is the only package with an upper-case name (as most other packages are in lower case, following https://blog.golang.org/package-names) - this often leads to build failures.

Why don't you just vendor it in lower case?

Because Logrus has itself as an internal dependency, it vendors two folders, Sirupsen/logrus and sirupsen/logrus.

Toby

@aarongreenlee aarongreenlee self-assigned this Jul 27, 2016

@aarongreenlee

This comment has been minimized.

Show comment
Hide comment
@aarongreenlee

aarongreenlee Jul 27, 2016

Collaborator

Thank you for your contribution, @mnzt.

Tools like go get seem to be case insensitive. I wonder if GB would also benefit by becoming case insensitive.

I don't see any negative side effects to this pull request and will accept it as soon as the tests can pass.

Thanks again.

Collaborator

aarongreenlee commented Jul 27, 2016

Thank you for your contribution, @mnzt.

Tools like go get seem to be case insensitive. I wonder if GB would also benefit by becoming case insensitive.

I don't see any negative side effects to this pull request and will accept it as soon as the tests can pass.

Thanks again.

Toby
@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Jul 27, 2016

Contributor

@aarongreenlee thank you for taking time to review the PR 😄.

It looks like a linter tool automatically removed the airbrake import, whoops!

I've noticed that logrus examples imports airbreak, which in turn imports logrus - to circumvent this issue I have added a build constraint flag. Hopefully all goes well on the following CI check 😸

Contributor

tobbbles commented Jul 27, 2016

@aarongreenlee thank you for taking time to review the PR 😄.

It looks like a linter tool automatically removed the airbrake import, whoops!

I've noticed that logrus examples imports airbreak, which in turn imports logrus - to circumvent this issue I have added a build constraint flag. Hopefully all goes well on the following CI check 😸

Show outdated Hide outdated examples/hook/hook.go
@@ -1,8 +1,14 @@
// +build ignore
// Do NOT include the above line in your code. This is a build contrainst used

This comment has been minimized.

@glasser

glasser Aug 6, 2016

Contributor

"constraint"

@glasser

glasser Aug 6, 2016

Contributor

"constraint"

Show outdated Hide outdated examples/hook/hook.go
// +build ignore
// Do NOT include the above line in your code. This is a build contrainst used
// to prevent import loops in the code whilst go get'ting it.
// Read more about build contrains in golang here:

This comment has been minimized.

@glasser

glasser Aug 6, 2016

Contributor

"constraints"

@glasser

glasser Aug 6, 2016

Contributor

"constraints"

@glasser

This comment has been minimized.

Show comment
Hide comment
@glasser

glasser Aug 6, 2016

Contributor

Does it make sense to use Go 1.4 custom import path checking for this? https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit

Contributor

glasser commented Aug 6, 2016

Does it make sense to use Go 1.4 custom import path checking for this? https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit

Toby
@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Aug 16, 2016

Contributor

@glasser I think the main issue here was that an import cycle was created in examples/hook.

Contributor

tobbbles commented Aug 16, 2016

@glasser I think the main issue here was that an import cycle was created in examples/hook.

@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Sep 15, 2016

Contributor

Any progress on this @aarongreenlee?

Contributor

tobbbles commented Sep 15, 2016

Any progress on this @aarongreenlee?

@stevvooe

This comment has been minimized.

Show comment
Hide comment
@stevvooe

stevvooe Nov 18, 2016

Collaborator

@sirupsen This looks like a real issue but it would be a possibly breaking change.

Any opinion here?

Collaborator

stevvooe commented Nov 18, 2016

@sirupsen This looks like a real issue but it would be a possibly breaking change.

Any opinion here?

@sirupsen

This comment has been minimized.

Show comment
Hide comment
@sirupsen

sirupsen Nov 18, 2016

Owner

How do you think this could break @stevvooe? This just changes the copy/paste examples to use lower-case, right?

Owner

sirupsen commented Nov 18, 2016

How do you think this could break @stevvooe? This just changes the copy/paste examples to use lower-case, right?

@stevvooe

This comment has been minimized.

Show comment
Hide comment
@stevvooe

stevvooe Nov 18, 2016

Collaborator

@sirupsen When this package changes to github.com/sirupsen/logrus, won't the builds fail if the only thing found in GOPATH is github.com/Sirupsen/logrus on a case sensitive filesystem?

For the most part, I am not against this change. If we are willing to risk possible breakage, it is for the better.

Collaborator

stevvooe commented Nov 18, 2016

@sirupsen When this package changes to github.com/sirupsen/logrus, won't the builds fail if the only thing found in GOPATH is github.com/Sirupsen/logrus on a case sensitive filesystem?

For the most part, I am not against this change. If we are willing to risk possible breakage, it is for the better.

@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Nov 18, 2016

Contributor

People can still vendor an upper case S in sirupsen, however it's common
practice to keep packages as lower case.

On Fri, 18 Nov 2016, 19:53 Stephen Day, notifications@github.com wrote:

@sirupsen https://github.com/Sirupsen When this package changes to
github.com/sirupsen/logrus, won't the builds fail if the only thing found
in GOPATH is github.com/Sirupsen/logrus on a case sensitive filesystem?

For the most part, I am not against this change. If we are willing to risk
possible breakage, it is for the better.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#384 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJoYeyCn7T3FTfu8oWgjWCFAUr3GT-Rbks5q_gIkgaJpZM4JO2SM
.

Contributor

tobbbles commented Nov 18, 2016

People can still vendor an upper case S in sirupsen, however it's common
practice to keep packages as lower case.

On Fri, 18 Nov 2016, 19:53 Stephen Day, notifications@github.com wrote:

@sirupsen https://github.com/Sirupsen When this package changes to
github.com/sirupsen/logrus, won't the builds fail if the only thing found
in GOPATH is github.com/Sirupsen/logrus on a case sensitive filesystem?

For the most part, I am not against this change. If we are willing to risk
possible breakage, it is for the better.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#384 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJoYeyCn7T3FTfu8oWgjWCFAUr3GT-Rbks5q_gIkgaJpZM4JO2SM
.

@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Nov 18, 2016

Contributor

The real issue here is other dependencies vendoring with an upper case S.
Often at work I end up with two vendored lots of logrus - as half use the
common practice, and the over half use what's the in the documentation.

On Fri, 18 Nov 2016, 19:54 Toby Archer, tobyjames1234@googlemail.com
wrote:

People can still vendor an upper case S in sirupsen, however it's common
practice to keep packages as lower case.

On Fri, 18 Nov 2016, 19:53 Stephen Day, notifications@github.com wrote:

@sirupsen https://github.com/Sirupsen When this package changes to
github.com/sirupsen/logrus, won't the builds fail if the only thing found
in GOPATH is github.com/Sirupsen/logrus on a case sensitive filesystem?

For the most part, I am not against this change. If we are willing to risk
possible breakage, it is for the better.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#384 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJoYeyCn7T3FTfu8oWgjWCFAUr3GT-Rbks5q_gIkgaJpZM4JO2SM
.

Contributor

tobbbles commented Nov 18, 2016

The real issue here is other dependencies vendoring with an upper case S.
Often at work I end up with two vendored lots of logrus - as half use the
common practice, and the over half use what's the in the documentation.

On Fri, 18 Nov 2016, 19:54 Toby Archer, tobyjames1234@googlemail.com
wrote:

People can still vendor an upper case S in sirupsen, however it's common
practice to keep packages as lower case.

On Fri, 18 Nov 2016, 19:53 Stephen Day, notifications@github.com wrote:

@sirupsen https://github.com/Sirupsen When this package changes to
github.com/sirupsen/logrus, won't the builds fail if the only thing found
in GOPATH is github.com/Sirupsen/logrus on a case sensitive filesystem?

For the most part, I am not against this change. If we are willing to risk
possible breakage, it is for the better.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#384 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJoYeyCn7T3FTfu8oWgjWCFAUr3GT-Rbks5q_gIkgaJpZM4JO2SM
.

@stevvooe

This comment has been minimized.

Show comment
Hide comment
@stevvooe

stevvooe Nov 18, 2016

Collaborator

LGTM

@mnzt Have you seen any breakage?

@sirupsen If you put your LGTM, I think we should go through with this. We can send out some tweets to let people know.

Collaborator

stevvooe commented Nov 18, 2016

LGTM

@mnzt Have you seen any breakage?

@sirupsen If you put your LGTM, I think we should go through with this. We can send out some tweets to let people know.

@sirupsen

This comment has been minimized.

Show comment
Hide comment
@sirupsen

sirupsen Nov 30, 2016

Owner

Let's go ahead with this.

Will it work with this if I rename myself to @sirupsen instead of @sirupsen on Github? It's silly that I have upper-case.

Owner

sirupsen commented Nov 30, 2016

Let's go ahead with this.

Will it work with this if I rename myself to @sirupsen instead of @sirupsen on Github? It's silly that I have upper-case.

@stevvooe

This comment has been minimized.

Show comment
Hide comment
@stevvooe

stevvooe Nov 30, 2016

Collaborator

@sirupsen Please, do the honors. I gave up my capital S long ago.

Collaborator

stevvooe commented Nov 30, 2016

@sirupsen Please, do the honors. I gave up my capital S long ago.

@sirupsen

This comment has been minimized.

Show comment
Hide comment
@sirupsen

sirupsen Nov 30, 2016

Owner

Just renamed myself 🙈

Owner

sirupsen commented Nov 30, 2016

Just renamed myself 🙈

@sirupsen sirupsen merged commit 42b84f9 into sirupsen:master Nov 30, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@stevvooe

This comment has been minimized.

Show comment
Hide comment
@stevvooe

stevvooe Nov 30, 2016

Collaborator

💥

Collaborator

stevvooe commented Nov 30, 2016

💥

@ahmetb

This comment has been minimized.

Show comment
Hide comment
@ahmetb

ahmetb Nov 30, 2016

no more the first dependency listed on Godeps.json 💥

ahmetb commented Nov 30, 2016

no more the first dependency listed on Godeps.json 💥

@hilljgo

This comment has been minimized.

Show comment
Hide comment
@hilljgo

hilljgo Nov 30, 2016

Note: this broke our glide dependencies with the following error:

[WARN]	Error updating github.com/sirupsen/logrus: The Remote does not match the VCS endpoint

changing our import from github.com/Sirupsen/logrus to github.com/sirupsen/logrus fixed it

hilljgo commented Nov 30, 2016

Note: this broke our glide dependencies with the following error:

[WARN]	Error updating github.com/sirupsen/logrus: The Remote does not match the VCS endpoint

changing our import from github.com/Sirupsen/logrus to github.com/sirupsen/logrus fixed it

@stevvooe

This comment has been minimized.

Show comment
Hide comment
@stevvooe

stevvooe Nov 30, 2016

Collaborator

@hilljgo Thanks for the report! Seems like a low impact fix.

Collaborator

stevvooe commented Nov 30, 2016

@hilljgo Thanks for the report! Seems like a low impact fix.

@hryx

This comment has been minimized.

Show comment
Hide comment
@hryx

hryx Nov 30, 2016

I observed the same Glide issue as @hilljgo, but the problem ended up being exponentially more painful when vendoring several projects which also use Logrus.

If using the old name, Glide fails due to a mismatched remote URL. If using the new name, Go fails due to a case-insensitive import collision.

So the only option I've found, until those vendored projects all start using the lowercase s, is to lock to an older version of Logrus and tell Glide the remote URL explicitly:

- package: github.com/Sirupsen/logrus
  version: a437dfd2463eaedbec3dfe443e477d3b0a810b3f
  repo:    https://github.com/sirupsen/logrus

hryx commented Nov 30, 2016

I observed the same Glide issue as @hilljgo, but the problem ended up being exponentially more painful when vendoring several projects which also use Logrus.

If using the old name, Glide fails due to a mismatched remote URL. If using the new name, Go fails due to a case-insensitive import collision.

So the only option I've found, until those vendored projects all start using the lowercase s, is to lock to an older version of Logrus and tell Glide the remote URL explicitly:

- package: github.com/Sirupsen/logrus
  version: a437dfd2463eaedbec3dfe443e477d3b0a810b3f
  repo:    https://github.com/sirupsen/logrus
@bbrks

This comment has been minimized.

Show comment
Hide comment
@bbrks

bbrks Dec 1, 2016

Contributor

Just leaving a comment here for anybody Googling errors.

case-insensitive import collision: "github.com/Sirupsen/logrus" and "github.com/sirupsen/logrus"

The fix is to lowercase all of your import statements for logrus.

One liner recursive find/replace:

find ./ -type f -name "*.go" -exec sed -i -e 's/github.com\/Sirupsen\/logrus/github.com\/sirupsen\/logrus/g' {} \;

Don't forget to run gofmt if your CI pipeline has it as a requirement! Uppercase and lowercase imports will be in a different order.

Contributor

bbrks commented Dec 1, 2016

Just leaving a comment here for anybody Googling errors.

case-insensitive import collision: "github.com/Sirupsen/logrus" and "github.com/sirupsen/logrus"

The fix is to lowercase all of your import statements for logrus.

One liner recursive find/replace:

find ./ -type f -name "*.go" -exec sed -i -e 's/github.com\/Sirupsen\/logrus/github.com\/sirupsen\/logrus/g' {} \;

Don't forget to run gofmt if your CI pipeline has it as a requirement! Uppercase and lowercase imports will be in a different order.

@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Dec 1, 2016

Contributor

Note on the above @bbrks' comment, for https://getgb.io you'll need to unvendor (gb vendor delete github.com/Sirupsen/logrus) the uppercase named dependency and then vendor the lowercase named dependency (gb vendor fetch github.com/sirupsen/logrus).

There may be a small teething period of getting everything over to the correct naming - but it'll be worth it in the end

Contributor

tobbbles commented Dec 1, 2016

Note on the above @bbrks' comment, for https://getgb.io you'll need to unvendor (gb vendor delete github.com/Sirupsen/logrus) the uppercase named dependency and then vendor the lowercase named dependency (gb vendor fetch github.com/sirupsen/logrus).

There may be a small teething period of getting everything over to the correct naming - but it'll be worth it in the end

@hilljgo hilljgo referenced this pull request Dec 1, 2016

Closed

Case change breaks builds? #451

@cstockton

This comment has been minimized.

Show comment
Hide comment
@cstockton

cstockton Dec 1, 2016

The import path is valid per the specification, if the tool doesn't work then they should fix it, if your builds don't work, you should fix them. Breaking every users build with the assumption they could simply vendor is .. ugh, very narrow sighted. Many people import libraries which use logrus, and don't control the import declarations of those libraries and are unable to update them. Meaning they are broke until the package maintainers react.

@sirupsen is this going to be reverted?

@mnzt What value was worth it in the end exactly for everyone? From my observation this was to fix YOUR builds failing:

The vendoring tool I use (GB) is case sensitive, and can become a massive pain in the 🍑 when Logrus is the only package with an upper-case name (as most other packages are in lower case, following https://blog.golang.org/package-names) - this often leads to build failures.

You didn't describe HOW your builds failed so perhaps your builds could be fixed. Instead deciding it was enough of a pain in the 🍑 for you .. and the value you received from fixing YOUR builds.. was enough value to justify breaking EVERY LOGRUS users builds (as well as those who have no choice in the matter as they import a library that imports logrus)? Ugh...

cstockton commented Dec 1, 2016

The import path is valid per the specification, if the tool doesn't work then they should fix it, if your builds don't work, you should fix them. Breaking every users build with the assumption they could simply vendor is .. ugh, very narrow sighted. Many people import libraries which use logrus, and don't control the import declarations of those libraries and are unable to update them. Meaning they are broke until the package maintainers react.

@sirupsen is this going to be reverted?

@mnzt What value was worth it in the end exactly for everyone? From my observation this was to fix YOUR builds failing:

The vendoring tool I use (GB) is case sensitive, and can become a massive pain in the 🍑 when Logrus is the only package with an upper-case name (as most other packages are in lower case, following https://blog.golang.org/package-names) - this often leads to build failures.

You didn't describe HOW your builds failed so perhaps your builds could be fixed. Instead deciding it was enough of a pain in the 🍑 for you .. and the value you received from fixing YOUR builds.. was enough value to justify breaking EVERY LOGRUS users builds (as well as those who have no choice in the matter as they import a library that imports logrus)? Ugh...

sirupsen added a commit that referenced this pull request Dec 1, 2016

Revert "Merge pull request #384 from mnzt/master"
This reverts commit 42b84f9, reversing
changes made to cf60a8c.
@sirupsen

This comment has been minimized.

Show comment
Hide comment
@sirupsen

sirupsen Dec 1, 2016

Owner

I've needed to revert this. This breaks way too many builds.

#451

Owner

sirupsen commented Dec 1, 2016

I've needed to revert this. This breaks way too many builds.

#451

@sirupsen

This comment has been minimized.

Show comment
Hide comment
@sirupsen

sirupsen Dec 1, 2016

Owner

If there remains interest in this, we should do this under logrus/logrus.

Owner

sirupsen commented Dec 1, 2016

If there remains interest in this, we should do this under logrus/logrus.

@tobbbles

This comment has been minimized.

Show comment
Hide comment
@tobbbles

tobbbles Dec 2, 2016

Contributor

I believe the underlying issue here is where internal code 'externally' refers to {S,s}irupsen/logrus, rather than a local import, ie: ../../something. This causes issues in the examples folder however, meaning the examples become uncopyable.

A potential solution is to move the examples out of this repo into their own repo, meaning logrus as a package can consist exclusively of local imports - meaning users can vendor/go get via any case they desire.

/cc @sirupsen @stevvooe

Contributor

tobbbles commented Dec 2, 2016

I believe the underlying issue here is where internal code 'externally' refers to {S,s}irupsen/logrus, rather than a local import, ie: ../../something. This causes issues in the examples folder however, meaning the examples become uncopyable.

A potential solution is to move the examples out of this repo into their own repo, meaning logrus as a package can consist exclusively of local imports - meaning users can vendor/go get via any case they desire.

/cc @sirupsen @stevvooe

@maxmeyer

This comment has been minimized.

Show comment
Hide comment
@maxmeyer

maxmeyer Mar 21, 2017

@sirupsen Any near plans about moving the repo?

maxmeyer commented Mar 21, 2017

@sirupsen Any near plans about moving the repo?

@nazieb

This comment has been minimized.

Show comment
Hide comment
@nazieb

nazieb Mar 21, 2017

@sirupsen Is the plan moving the repo still on? If that's so, considering github.com/logrus is already taken, I suggest using github.com/go-logrus so we can get benefit of using something like gopkg.in

I've registered the org by the way, and will happily transfer it to you if you want.

nazieb commented Mar 21, 2017

@sirupsen Is the plan moving the repo still on? If that's so, considering github.com/logrus is already taken, I suggest using github.com/go-logrus so we can get benefit of using something like gopkg.in

I've registered the org by the way, and will happily transfer it to you if you want.

gravis pushed a commit to gemnasium/logrus-graylog-hook that referenced this pull request Jun 1, 2017

gravis pushed a commit to gemnasium/logrus-postgresql-hook that referenced this pull request Jun 1, 2017

gravis pushed a commit to gemnasium/logrus-airbrake-hook that referenced this pull request Jun 1, 2017

gravis pushed a commit to gemnasium/logrus-graylog-hook that referenced this pull request Jun 1, 2017

AdamJacobMuller added a commit to AdamJacobMuller/atomicxt that referenced this pull request Jun 4, 2017

AdamJacobMuller added a commit to AdamJacobMuller/weblogrus that referenced this pull request Jun 4, 2017

@Carpetsmoker Carpetsmoker referenced this pull request Jun 6, 2017

Merged

Update import path #48

evalphobia added a commit to evalphobia/logrus_sentry that referenced this pull request Jun 14, 2017

Update import path Sirupsen -> sirupsen (#48)
Logrus renamed the uppercase "Sirupsen" to "Sirupsen":
sirupsen/logrus#384

Several libraries that integrate with Logrus are using the new lowercase import
path, for example the graylog hook:
gemnasium/logrus-graylog-hook@daf02e0

@akshayjshah akshayjshah referenced this pull request Jun 14, 2017

Merged

Fix logrus import path #10

@abhinav abhinav referenced this pull request Jun 15, 2017

Merged

Fix logrus import #85

brian-brazil added a commit to prometheus/common that referenced this pull request Jun 15, 2017

Fix logrus import (#85)
The author of logrus has changed his GitHub username from Sirupsen to
sirupsen. The case change breaks logrus imports for packages whose
dependencies import logrus using the other casing.

See also, sirupsen/logrus#384

AdamJacobMuller added a commit to AdamJacobMuller/home-api that referenced this pull request Jun 18, 2017

@wzhliang wzhliang referenced this pull request Jun 23, 2017

Open

Sirupsen -> sirupsen #60

philpennock added a commit to PennockTech/fingerd that referenced this pull request Aug 25, 2017

Sirupsen dependency case-sensitivity handling
Switch `github.com/Sirupsen/logrus` → `github.com/sirupsen/logrus`

Rename was handled in sirupsen/logrus#384
in November 2016.

@kumarde kumarde referenced this pull request Sep 2, 2017

Merged

update Sirupsen -> sirupsen #124

mattbostock added a commit to mattbostock/timbala that referenced this pull request Sep 4, 2017

Fix logrus package import case
The logrus package import changed letter case:
sirupsen/logrus#384

In c31b012 I opted to use the same case as Prometheus packages I depend
on to avoid case conflicts.

I'm about to start using Go's dep tool for dependency management, and
the old logrus import prevents dep from completing its initialisation
because newer Prometheus packages use the lowercase import path:
golang/dep#797

Use the lowercase import path for consistency with the Prometheus
packages.

mattbostock added a commit to mattbostock/timbala that referenced this pull request Sep 4, 2017

Fix logrus package import case
The logrus package import changed letter case:
sirupsen/logrus#384

In c31b012 I opted to use the same case as Prometheus packages I depend
on to avoid case conflicts.

I'm about to start using Go's dep tool for dependency management, and
the old logrus import prevents dep from completing its initialisation
because newer Prometheus packages use the lowercase import path:
golang/dep#797

Use the lowercase import path for consistency with the Prometheus
packages.

muesli added a commit to muesli/dep that referenced this pull request Sep 4, 2017

Replace import path 'Sirupsen/logrus' with 'sirupsen/logrus'
Use the new canonical project URL (note the lowercase 's') for logrus to prevent duplicate checkouts & imports of logrus.

See: sirupsen/logrus#384

Paddy-Truck added a commit to Paddy-Truck/logrus that referenced this pull request Sep 8, 2017

Revert "Merge pull request #384 from mnzt/master"
This reverts commit 42b84f9, reversing
changes made to cf60a8c.

zknill added a commit to zknill/dep that referenced this pull request Oct 6, 2017

Replace import path 'Sirupsen/logrus' with 'sirupsen/logrus'
Use the new canonical project URL (note the lowercase 's') for logrus to prevent duplicate checkouts & imports of logrus.

See: sirupsen/logrus#384

wking added a commit to wking/go-mtree that referenced this pull request Nov 3, 2017

vendor: Replace Sirupsen/logrus with sirupsen/logrus
With:

  $ git mv vendor/github.com/{S,s}irupsen
  $ sed -i 's/Sirupsen/sirupsen/g' $(git grep -l Sirupsen)

catching up with the upstream lowercasing [1,2,3,4].  Note the
compatibility issues discussed in [3], some consumers may prefer to
use the old uppercase version until they have time to update their
other Logrus consumers to the new lowercase form.

[1]: https://github.com/sirupsen/logrus/blame/v1.0.3/README.md#L6
[2]: sirupsen/logrus#384
[3]: sirupsen/logrus#570 (comment)
[4]: sirupsen/logrus#553

wking added a commit to wking/go-mtree that referenced this pull request Nov 3, 2017

vendor: Replace Sirupsen/logrus with sirupsen/logrus
With:

  $ git mv vendor/github.com/{S,s}irupsen
  $ sed -i 's/Sirupsen/sirupsen/g' $(git grep -l Sirupsen)

catching up with the upstream lowercasing [1,2,3,4].  Because of the
compatibility issues discussed in [3], some consumers may prefer to
use the old uppercase version until they have time to update their
other Logrus consumers to the new lowercase form.

[1]: https://github.com/sirupsen/logrus/blame/v1.0.3/README.md#L6
[2]: sirupsen/logrus#384
[3]: sirupsen/logrus#570 (comment)
[4]: sirupsen/logrus#553

kaedys pushed a commit to kaedys/go-slackbot that referenced this pull request Nov 13, 2017

@ldez ldez referenced this pull request Nov 21, 2017

Merged

Migrate logrus #2

htfy96 added a commit to sjtug/lug that referenced this pull request Feb 13, 2018

glide: fix case issue of logrus
sirupsen/logrus#384

github.com/Sirupsen/logrus => github.com/sirupsen/logrus

flw-cn added a commit to flw-cn/go-slackbot that referenced this pull request Jun 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment