{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":434937075,"defaultBranch":"master","name":"controller-runtime","ownerLogin":"scothis","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-12-04T15:24:46.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/302992?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1696513717.0","currentOid":""},"activityList":{"items":[{"before":"42608d32ec5a5fabe6545fef56877c74cc35448c","after":null,"ref":"refs/heads/unstructured-status-update","pushedAt":"2023-10-05T13:48:37.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"scothis","name":"Scott Andrews","path":"/scothis","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/302992?s=80&v=4"}},{"before":"6860cfb3d210ac028dc5d744e7824a99c8841f07","after":"42608d32ec5a5fabe6545fef56877c74cc35448c","ref":"refs/heads/unstructured-status-update","pushedAt":"2023-10-02T20:44:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"scothis","name":"Scott Andrews","path":"/scothis","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/302992?s=80&v=4"},"commit":{"message":"Review feedback\n\nUsing typed objects for the initial and actual object content assertion.\nUnstructured objects are only used for the update.\n\nSigned-off-by: Scott Andrews ","shortMessageHtmlLink":"Review feedback"}},{"before":null,"after":"6860cfb3d210ac028dc5d744e7824a99c8841f07","ref":"refs/heads/unstructured-status-update","pushedAt":"2023-09-14T20:02:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"scothis","name":"Scott Andrews","path":"/scothis","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/302992?s=80&v=4"},"commit":{"message":"Handle unstructured status update with fake client\n\nIn order to prevent unintentional mutations outside of the status during\na status update, the non-status fields are copied back onto the passed\nobject.\n\nThis operation now gracefully handles both unstructured and typed\nobjects. Previously, it would panic if an unstructured object was passed\nfor a GVK known to the scheme, as internally the object within the\ntracker is converted to the typed equivalent. The two types cannot\nbe directly assigned to each other and instead must be copied.\n\nSigned-off-by: Scott Andrews ","shortMessageHtmlLink":"Handle unstructured status update with fake client"}},{"before":null,"after":"92bff59d0f6f1550ca0d4a20b77322e7a01ef93a","ref":"refs/heads/gvk-from-typemeta","pushedAt":"2023-08-03T20:07:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"scothis","name":"Scott Andrews","path":"/scothis","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/302992?s=80&v=4"},"commit":{"message":"Use object's TypeMeta as GVK fallback\n\nGVKForObject looks up the GVK for an Object via a Scheme, unless the\nobject is one of a few generic types. When handling multiple similar\nresources, it's connivent to coerce those resource to a common static\ntype (often a subset of the actual object). These types cannot be\nregistered in the scheme as they do not map to a single GVK.\n\nI would like to be able to resolve a GVK from a non-scheme registered\nobject type so that these types can be used in other useful methods that\ninternally call GVKForObject, like SetControllerReference. To do this,\nif the lookup from the scheme fails, it will use the TypeMeta fields on\nthe object and return those values as the GVK. This behavior requires\nthe APIVersion and Kind fields are set, otherwise it will fall back to\nreturning the scheme error.\n\nSigned-off-by: Scott Andrews ","shortMessageHtmlLink":"Use object's TypeMeta as GVK fallback"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADkDbUwAA","startCursor":null,"endCursor":null}},"title":"Activity ยท scothis/controller-runtime"}