Commit Graph

7 Commits (52ef3e6e94b0f6b98098dbe2943ad4426ed10308)

Author SHA1 Message Date
Dr. Stefan Schimanski 81461f7214 hack/verify-golint: enforce cleanup of old packages 2017-01-24 08:34:06 +01:00
Dr. Stefan Schimanski 8f85e11e6a hack/verify-golint.sh: add authorative staging packages 2017-01-24 08:32:19 +01:00
Eric Paris b670f76232 Use LC_ALL=C with sort
In some user env LANG=C might lose:

Wrong:
```
echo -e "test/images/port-forward-tester\ntest/images/porter" | LANG=C sort
test/images/porter
test/images/port-forward-tester
```
Right:
```
echo -e "test/images/port-forward-tester\ntest/images/porter" | LC_ALL=C sort
test/images/port-forward-tester
test/images/porter
```
2016-10-19 09:47:21 -04:00
Davanum Srinivas 773e1c7f93 fix hack/verify-golint.sh to work outside of GOPATH
"go list -e ./..." returns different results when run from
the usual GOPATH location (returns k8s.io/kubernetes as prefix)
and when run outside of it (returns _ followed by full path of
the file). We need to support both scenarios.

Fixes #31905
2016-09-08 11:07:49 -04:00
Random-Liu 5d11de1c2e Fix sort hint in `hack/verify-golint.sh`. 2016-08-24 20:55:14 -07:00
Dr. Stefan Schimanski 4b38912ae6 Check sorting of linted file in hack/verify-golint.sh 2016-08-23 13:46:13 +02:00
Jess Frazelle 70d860fe08
Start verifying golint on a per-package basis as packages are fixed
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-10 17:40:06 -07:00