Commit Graph

15 Commits

Author SHA1 Message Date
Eric Paris
3b7c39656c Split hack/{verify,update}-* files so we don't always go build
Right now some of the hack/* tools use `go run` and build almost every
time. There are some which expect you to have already run `go install`.
And in all cases the pre-commit hook, which runs a full build wouldn't
want to do either, since it just built!

This creates a new hack/after-build/ directory and has the scripts which
REQUIRE that the binary already be built. It doesn't test and complain.
It just fails miserably. Users should not be in this directory. Users
should just use hack/verify-* which will just do the build and then call
the "after-build" version. The pre-commit hook or anything which KNOWS
the binaries have been built can use the fast version.
2015-08-11 14:20:46 -04:00
Eric Paris
302cb7dc7f Move boilerplate from hooks/ to hack/
Hooks seems like they should be hooks. Not sure hack makes a lot more
sense, but it has more stuff already.
2015-08-11 14:20:38 -04:00
Clayton Coleman
0f9fdcafea Revert "Revert "Improve conversion to support multiple packages""
This reverts commit 94a387d5d1.
2015-07-30 15:15:14 -04:00
Mike Danese
94a387d5d1 Revert "Improve conversion to support multiple packages" 2015-07-30 10:51:40 -07:00
Clayton Coleman
732647ea97 Improve conversion to support multiple packages
OpenShift uses multiple API packages (types are split) which
Kube will also eventually have as we introduce more plugins.
These changes make the generators able to handle importing different
API object packages into a single generator function.
2015-07-29 17:05:54 -04:00
Tim Hockin
1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Rohit Jnagal
869df32d00 Merge pull request #10987 from stefwalter/setup-golang-update-hack
hack: Add $GOPATH to hack/update-generated-xxx.sh scripts
2015-07-10 14:15:37 -07:00
Stef Walter
a38a148e02 hack: Add $GOPATH to hack/update-generated-xxx.sh scripts
So that not everyone has to figure this out.
2015-07-10 09:47:47 +02:00
nikhiljindal
1350cc8bc3 Set KUBE_API_VERSIONS appropriately 2015-07-09 19:04:20 -07:00
Wojciech Tyczynski
b2280db724 Deep-copy functions autogeneration. 2015-05-26 21:16:26 +02:00
Dawn Chen
b33c4259f8 Merge pull request #8566 from markturansky/generator_godep
Added GOPATH vars and godep to generator script
2015-05-21 09:34:12 -07:00
Wojciech Tyczynski
2df11cea32 Automatically generate conversions 2015-05-20 17:11:18 +02:00
markturansky
10258c46d7 Added GOPATH vars and godep to generator script 2015-05-20 10:56:54 -04:00
Tim Hockin
70c94fad6d Don't rename api imports in conversions 2015-05-19 11:21:21 -07:00
Wojciech Tyczynski
9a93206774 Script for automatically generate conversions. 2015-05-19 02:17:58 +02:00