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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a checkTerminal for nacl to support running on play.golang.org #966

Merged
merged 1 commit into from May 18, 2019
Merged

Add a checkTerminal for nacl to support running on play.golang.org #966

merged 1 commit into from May 18, 2019

Conversation

nlepage
Copy link
Contributor

@nlepage nlepage commented May 14, 2019

Hi 馃憢

Golang's playground now supports importing third party libraries, see golang/go#31944

This PR aims to make logrus importable in play.golang.org.

Right now it gives the following error (https://play.golang.org/p/OYWKTdH6gs5):

/tmp/gopath845995901/pkg/mod/github.com/sirupsen/logrus@v1.4.1/terminal_check_notappengine.go:13:10: undefined: isTerminal

I based my PR on the checkTerminal which was added for GOOS=js.

In order to validate my PR, I tagged a modified version on my fork, which works fine on the playground: https://play.golang.org/p/dase3hMOp2r

Thanks in advance for your review.

@dgsb
Copy link
Collaborator

dgsb commented May 18, 2019

@nlepage thanks for your contribution.

@dgsb dgsb merged commit e0108d9 into sirupsen:master May 18, 2019
thaJeztah added a commit to thaJeztah/docker that referenced this pull request Oct 6, 2019
full diff: sirupsen/logrus@v1.4.1...v1.4.2

- sirupsen/logrus#946 Fix solaris build
- sirupsen/logrus#966 Add a checkTerminal for nacl to support running on play.golang.org
- sirupsen/logrus#969 fix build break for plan9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker/docker-ce that referenced this pull request Oct 7, 2019
full diff: sirupsen/logrus@v1.4.1...v1.4.2

- sirupsen/logrus#946 Fix solaris build
- sirupsen/logrus#966 Add a checkTerminal for nacl to support running on play.golang.org
- sirupsen/logrus#969 fix build break for plan9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 9fac44028e4771a91874c3b409ad6f190486b98f
Component: engine
burnMyDread pushed a commit to burnMyDread/moby that referenced this pull request Oct 21, 2019
full diff: sirupsen/logrus@v1.4.1...v1.4.2

- sirupsen/logrus#946 Fix solaris build
- sirupsen/logrus#966 Add a checkTerminal for nacl to support running on play.golang.org
- sirupsen/logrus#969 fix build break for plan9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: zach <Zachary.Joyner@linux.com>
thaJeztah added a commit to thaJeztah/cli that referenced this pull request Oct 23, 2019
full diff: sirupsen/logrus@v1.4.1...v1.4.2

- sirupsen/logrus#946 Fix solaris build
- sirupsen/logrus#966 Add a checkTerminal for nacl to support running on play.golang.org
- sirupsen/logrus#969 fix build break for plan9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker/docker-ce that referenced this pull request Dec 4, 2019
full diff: sirupsen/logrus@v1.4.1...v1.4.2

- sirupsen/logrus#946 Fix solaris build
- sirupsen/logrus#966 Add a checkTerminal for nacl to support running on play.golang.org
- sirupsen/logrus#969 fix build break for plan9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 9b92804656edbff9cfc27da5f66a79dc1b085056
Component: cli
thaJeztah added a commit to thaJeztah/docker that referenced this pull request Jan 14, 2021
full diff: sirupsen/logrus@v1.4.1...v1.4.2

- sirupsen/logrus#946 Fix solaris build
- sirupsen/logrus#966 Add a checkTerminal for nacl to support running on play.golang.org
- sirupsen/logrus#969 fix build break for plan9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 9fac440)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
cgxxv pushed a commit to cgxxv/logrus that referenced this pull request Mar 25, 2022
Add a checkTerminal for nacl to support running on play.golang.org
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

2 participants