Repository navigation
Replace glog output in builders at V(2) and above with straight stderr output. - #8786
Conversation
3272baf to
9725d51
Compare
|
[test] |
| dockercmd "github.com/docker/docker/builder/command" | ||
| "github.com/docker/docker/builder/parser" | ||
| docker "github.com/fsouza/go-dockerclient" | ||
| "github.com/golang/glog" |
There was a problem hiding this comment.
this import is still needed isn't it? or the util wrapper
There was a problem hiding this comment.
In the package "common" has a local var glog that is the replacement.
On Sat, May 7, 2016 at 7:43 PM, Ben Parees [email protected] wrote:
In pkg/build/builder/docker.go
#8786 (comment):@@ -12,7 +12,6 @@ import (
dockercmd "github.com/docker/docker/builder/command"
"github.com/docker/docker/builder/parser"
docker "github.com/fsouza/go-dockerclient"
- "github.com/golang/glog"
this import is still needed isn't it? or the util wrapper
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8786/files/9725d5171cdd040a8f619a1a7d7b332d9228209b#r62424311
There was a problem hiding this comment.
nm, i see what you've done here, but i don't like it :)
(global var that matches the name of what most people will assume is a package reference)
There was a problem hiding this comment.
i guess i can appreciate keeping the name the same so people writing code don't have to think about it, but i also dislike the idea that people are using it w/o realizing it's different.
[shrug].
There was a problem hiding this comment.
It's mostly transitional, to avoid me forcing you to refactor all this code
right now.
On Sat, May 7, 2016 at 7:54 PM, Ben Parees [email protected] wrote:
In pkg/build/builder/docker.go
#8786 (comment):@@ -12,7 +12,6 @@ import (
dockercmd "github.com/docker/docker/builder/command"
"github.com/docker/docker/builder/parser"
docker "github.com/fsouza/go-dockerclient"
- "github.com/golang/glog"
i guess i can appreciate keeping the name the same so people writing code
don't have to think about it, but i also dislike the idea that people are
using it w/o realizing it's different.
[shrug].—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8786/files/9725d5171cdd040a8f619a1a7d7b332d9228209b#r62424375
There was a problem hiding this comment.
how thoughtful :) in that case i like it.
9725d51 to
5a89cd1
Compare
|
Any other comments? |
|
lgtm aside from squashing |
|
Commits are roughly separated anyways |
|
Crap, stupid buttons |
Reduces the cost of switching nested libraries from glog.
The main builders should be using an output stream passed in to them, and should not be glog.Fatalfing. Allow builds to run on non-Linux systems. Perform validation on the incoming build to handle bad input and protect against malicious build injection. Cleanup the commands slightly.
d9c312b to
8e02257
Compare
|
[merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5919/) (Image: devenv-rhel7_4209) |
|
Evaluated for origin merge up to 8e02257 |
|
Evaluated for origin test up to 8e02257 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3850/) |
Also perform some minor cleanups along the way.
@bparees