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
docs: fix docs for #6776 #6798
docs: fix docs for #6776 #6798
Conversation
Strange. It's building on my machine, (ubuntu) |
And the commits seems odd, it just moves several lines around... |
@yifan-gu It seems to be a darwin thing... /cc @dchen1107 |
This is passing at head, so you probably just need to run |
@jlowdermilk Have you tried it on Darwin? It passes on linux, but not on my mac... wired... |
Are you sure make clean is working? Sometimes boot2docker vm is wedged and On Tue, Apr 14, 2015 at 10:28 AM, Xiang Li notifications@github.com wrote:
|
I'm getting the same error on Darwin too:
The problem is that |
cc @eparis |
Not sure this is actually the problem (and I don't really have a darwin close by), but when using |
If you have a darwin around, try these two commands and compare their output: $ { echo kubectl.1; echo kubectl-api-versions.1; } | sort
kubectl-api-versions.1
kubectl.1
$ { echo kubectl.1; echo kubectl-api-versions.1; } | LC_COLLATE=C sort
kubectl-api-versions.1
kubectl.1 If the former looks inverted and the latter looks the same, then LC_COLLATE is really what you want here. |
On my Yosemite build those are in the same order. But I have LANG="en_US.UTF-8" set. |
On my linux box:
|
@filbranden, they look the same on darwin, but they differ on linux:
Looks like LC_COLLATE is what we want. @xiang90, can we use this PR to make the change? the command that needs to be updated is here. |
@jlowdermilk Sure thing. Wait a moment. need to have lunch right now. |
@jlowdermilk Ah yes I forgot that on my Linux I always set Indeed using In any case, scripts should always force Might as well just go through all the Cheers, |
@jlowdermilk Hrm... still does not work well after the change. |
@xiang90 it looks good to me, what's wrong? |
@eparis Travis and Shippable failed. :( |
for a more readable commit, you can git checkout docs/kubectl*.md @filbranden the man page for sort suggest LC_ALL=C Is that what we should be using? |
Note that setting only 'LC_COLLATE' has two problems. |
@eparis Yes, I think you're right setting LC_ALL is probably better since it's the strongest. (I thought of it first, rejected thinking it was using a cannon to kill a fly, but on second thought it makes more sense.) Let's go with Cheers, |
@filbranden @jlowdermilk @eparis Fixed. I will try to "fix" all sh in another pr. |
lgtm |
@filbranden I'm not as smart are my last comment, I'm just quoting from the footnotes in |
@eparis Which is actually the smart thing to do: RTFM! :-) |
./hack/verify-gendocs.sh fails after 2a9141f on darwin/amd64.
run
./hack/run-gendocs.sh
to fix it.Well... After I ran
./hack/run-gendocs.sh
it is fixed on my darwin, but it is broken on linux build...