{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12228","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12228/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12228/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12228/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/12228","id":99072852,"number":12228,"title":"Support generating conversions/deep-copy funcs in multiple packages","user":{"login":"uluyol","id":4128872,"avatar_url":"https://avatars.githubusercontent.com/u/4128872?v=3","gravatar_id":"","url":"https://api.github.com/users/uluyol","html_url":"https://github.com/uluyol","followers_url":"https://api.github.com/users/uluyol/followers","following_url":"https://api.github.com/users/uluyol/following{/other_user}","gists_url":"https://api.github.com/users/uluyol/gists{/gist_id}","starred_url":"https://api.github.com/users/uluyol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uluyol/subscriptions","organizations_url":"https://api.github.com/users/uluyol/orgs","repos_url":"https://api.github.com/users/uluyol/repos","events_url":"https://api.github.com/users/uluyol/events{/privacy}","received_events_url":"https://api.github.com/users/uluyol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-04T22:09:35Z","updated_at":"2015-08-04T23:01:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/12228","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/12228","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/12228.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/12228.patch"},"body":"This PR tackles the first problem discussed in #12160.\r\n\r\nWith this PR, we introduce the notion of a \"generation unit\"—a prefix that defines a set of packages for which conversions/deep-copies may be generated*, assuming that conversions/deep-copies outside of the prefix already exist. This way, we can e.g. generate deep copies for pkg/util.Time in pkg/api, and simple use them as-is in pkg/api/v1. Likewise, this allows for conversions to be separately generated for the experimental and stable api prefixes.\r\n\r\n* we still choose which types to generate conversions for by looking at the types defined in the target package that are registered under api.Scheme. The need for a prefix arises because types may use fields with types from other packages like pkg/util.\r\n\r\n@smarterclayton @nikhiljindal @wojtek-t"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/127789675","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/12228#issuecomment-127789675","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12228","id":127789675,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T23:01:42Z","updated_at":"2015-08-04T23:01:42Z","body":"GCE e2e build/test **passed** for commit e5a1fb0784ddd8f2a345f5fccdec231ab8d8fdfb.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/e5a1fb0784ddd8f2a345f5fccdec231ab8d8fdfb/kubernetes-pull-build-test-e2e-gce/4227/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/e5a1fb0784ddd8f2a345f5fccdec231ab8d8fdfb/kubernetes-pull-build-test-e2e-gce/4227/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//4227)\n"}}