Commit Graph

16 Commits

Author SHA1 Message Date
Tim Hockin
58441e8775 Don't check in generated deep-copy code
This mostly takes the previously checked in files and removes them, and moves
the generation to be on-demand instead of manual.  Manually verified no change
in generated output.
2016-07-12 21:52:54 -07:00
Tim Hockin
faeef5c4ae Use make as the main build tool
This allows us to start building real dependencies into Makefile.

Leave old hack/* scripts in place but advise to use 'make'.  There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
2016-07-12 21:52:00 -07:00
Tim Hockin
291b51ec50 Use file tags to generate conversions
This drives conversion generation from file tags like:
  // +conversion-gen=k8s.io/my/internal/version
.. rather than hardcoded lists of packages.

The only net change in generated code can be explained as correct.  Previously
it didn't know that conversion was available.
2016-07-07 22:09:08 -07:00
Tim Hockin
28af54138d Use file tags to generate deep-copies
This drives most of the logic of deep-copy generation from tags like:
  // +deepcopy-gen=package
..rather than hardcoded lists of packages.  This will make it possible to
subsequently generate code ONLY for packages that need it *right now*, rather
than all of them always.

Also remove pkgs that really do not need deep-copies (no symbols used
anywhere).
2016-07-07 16:49:46 -07:00
Chao Xu
a2980e56c9 stop update release_1_3 clientset; create release_1_4 2016-07-06 10:48:28 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
nikhiljindal
7fcf8daf6b Moving federation/v1alpha1 to federation/v1beta1 2016-06-28 17:12:58 -07:00
Chao Xu
cc4ffe0714 add release_1_3 clientset in update-codegen 2016-05-25 21:14:16 -07:00
nikhiljindal
73895c0418 Updating client-gen to support a user specified override on the resources to be included in generated client 2016-05-13 14:12:58 -07:00
nikhiljindal
754848cf52 Updating update-codegen to update federation_clientset as well 2016-05-10 17:20:21 -07:00
Tim Hockin
18e7a3eb24 Get rid of hack/after-build scripts
The build is now fast enough to not need them.
2016-05-08 20:32:06 -07:00
Johannes Scheuermann
38cb577cd3 Remove double assignment of KUBE_ROOT 2016-04-19 16:18:16 +02:00
Wojciech Tyczynski
42e7ecda5a Fix bunch of issues with conversion generator. 2016-03-24 08:26:51 +01:00
Wojciech Tyczynski
baf97c9c5e First use of new deep-copy generator. 2015-12-29 18:06:09 +01:00
Wojciech Tyczynski
9d912e843b Update/verify client generator in scripts 2015-12-28 14:24:43 +01:00
Daniel Smith
ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00