Commit Graph

28 Commits

Author SHA1 Message Date
Eric Paris
c9cd50dc49 Check python files for valid license boilerplate 2015-05-04 18:37:47 -04:00
Eric Paris
f4d0b8df3a Do all boilerplate checks in 1 python call
It's just a little bit faster.....

BEFORE:
$ time hack/verify-boilerplate.sh

real	0m9.378s
user	0m3.405s
sys	0m13.906s

AFTER:
$ time hack/verify-boilerplate.sh

real	0m0.181s
user	0m0.114s
sys	0m0.068s
2015-05-01 20:46:57 -04:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Eric Paris
ddca8248fe Check v1beta3 description on git commit
v1beta3 is no longer a special little snowflake
2015-05-01 14:10:50 -04:00
nikhiljindal
7c99865c94 Fixing hooks/description to catch API fields without description tags 2015-04-28 18:32:15 -07:00
Vishnu Kannan
17446061b0 Turn on "description:" verification for v1beta3 API. 2015-03-06 23:53:35 +00:00
Tim Hockin
60e7002474 Fix errant error message from boilerplate check 2015-01-19 14:23:24 -08:00
Fumitoshi Ukai
54f498acd5 cloudprovider/gce: use golang.org/x/oauth2
code.google.com/p/goauth2 is deprecated.
use golang.org/x/oauth2 instead.

hooks/prepare-commit-msg ignore Godeps
for sh's boilerplate check.
2015-01-16 12:17:52 +09:00
Brendan Burns
dc0d197c40 Fix a path in the error message. 2015-01-15 14:06:48 -08:00
Brendan Burns
718a563b1f Add a gendocs pre-submit hook. 2015-01-15 09:52:51 -08:00
Dawn Chen
9e99f9953a Fix the boilerplate issue for header with "Copyright 2015". 2015-01-05 13:27:30 -08:00
Brian Grant
2ac8400cb2 Add API documentation pre-commit hook. 2014-11-20 20:25:44 +00:00
Sam Ghods
98c3a00233 Adding files to Godeps should not trigger gofmt or boilerplate warnings 2014-09-03 17:00:30 -07:00
Clayton Coleman
693051c1ca Boilerplate should ignore Go build tags 2014-08-23 11:44:21 -04:00
derekwaynecarr
8c07a0f524 Fix verify-boilerplate 2014-08-15 13:12:01 -05:00
Daniel Smith
260af3017b Make boilerplate hook work for .sh files, too. 2014-06-25 17:11:48 -07:00
Daniel Smith
e4c47f0219 Merge pull request #231 from brendandburns/hooks
Fixed the boilerplate hook to work on OS X, where apparently wc add's spaces
2014-06-24 15:12:25 -07:00
Daniel Smith
4f81008ab9 Merge pull request #230 from thockin/cleanups
Slightly friendlier pre-commit errors.
2014-06-24 15:11:08 -07:00
Brendan Burns
2c404aba0f Fixed the boilerplate hook to work on OS X, where apparently wc add's spaces 2014-06-24 15:02:48 -07:00
Tim Hockin
b6d5faf276 Slightly friendlier pre-commit errors.
Make the pre-commit check spit out cut-and-paste commands and be more
obvious about errors.  Tested by making an invalid change and observing the
message generated.
2014-06-24 15:01:08 -07:00
Brendan Burns
20ba523266 Remove an erroneous debug statement. 2014-06-24 13:23:58 -07:00
Brendan Burns
5756189f0d Added a proxy server to cloudcfg 2014-06-24 11:15:08 -07:00
Daniel Smith
756ba6958d Add boilerplate checking to hook 2014-06-23 12:00:16 -07:00
Joe Beda
d230625e1a Move third_party code under third_party/src so it can be used in $GOPATH. 2014-06-13 17:15:49 -07:00
Daniel Smith
701c34f701 Forgot to actually add -s to the gofmt call in the hook. 2014-06-12 22:03:00 -07:00
Daniel Smith
2328cad18b Improved commit hook 2014-06-12 21:23:04 -07:00
Daniel Smith
078451053b gofmt -s && change gofmt reminder to specify -s in prepare-commit-msg 2014-06-12 17:25:46 -07:00
Joe Beda
2c4b3a562c First commit 2014-06-06 16:40:48 -07:00