{"action":"created","comment":{"url":"https://api.github.com/repos/giantswarm/node-operator/pulls/comments/166375477","pull_request_review_id":94427222,"id":166375477,"diff_hunk":"@@ -0,0 +1,38 @@\n+package service\n+\n+import (\n+\t\"time\"\n+\n+\t\"github.com/giantswarm/versionbundle\"\n+)\n+\n+func NewVersionBundles() []versionbundle.Bundle {\n+\treturn []versionbundle.Bundle{\n+\t\t{\n+\t\t\tChangelogs: []versionbundle.Changelog{\n+\t\t\t\t{\n+\t\t\t\t\tComponent:   \"node-operator\",\n+\t\t\t\t\tDescription: \"Introduce the first version of the node-operator.\",\n+\t\t\t\t\tKind:        versionbundle.KindAdded,\n+\t\t\t\t},\n+\t\t\t},\n+\t\t\tComponents: []versionbundle.Component{\n+\t\t\t\t{\n+\t\t\t\t\tName:    \"node-operator\",\n+\t\t\t\t\tVersion: \"0.1.0\",\n+\t\t\t\t},","path":"service/version_bundles.go","position":23,"original_position":23,"commit_id":"916e1634d7ea182929749009cfe772ce1a2f94ec","original_commit_id":"916e1634d7ea182929749009cfe772ce1a2f94ec","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars3.githubusercontent.com/u/552769?v=4","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"body":"This is a bit weird. I am not sure what the component for an operator is which does not provide anything but itself. Since we do not collect the version bundles here for release aggregation I think this is fine. It is just to have the versioning and visibility via version bundles. ","created_at":"2018-02-06T17:11:35Z","updated_at":"2018-02-06T17:11:46Z","html_url":"https://github.com/giantswarm/node-operator/pull/14#discussion_r166375477","pull_request_url":"https://api.github.com/repos/giantswarm/node-operator/pulls/14","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/giantswarm/node-operator/pulls/comments/166375477"},"html":{"href":"https://github.com/giantswarm/node-operator/pull/14#discussion_r166375477"},"pull_request":{"href":"https://api.github.com/repos/giantswarm/node-operator/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/giantswarm/node-operator/pulls/14","id":167474743,"html_url":"https://github.com/giantswarm/node-operator/pull/14","diff_url":"https://github.com/giantswarm/node-operator/pull/14.diff","patch_url":"https://github.com/giantswarm/node-operator/pull/14.patch","issue_url":"https://api.github.com/repos/giantswarm/node-operator/issues/14","number":14,"state":"open","locked":false,"title":"added version bundles","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars3.githubusercontent.com/u/552769?v=4","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"body":"Towards https://github.com/giantswarm/giantswarm/issues/2334. \r\n\r\n```\r\n$ ./node-operator version\r\ndescription: Project node-operator drains Kubernetes nodes on behalf of watched CRDs.\r\ngitcommit: n/a\r\nname: node-operator\r\nsource: https://github.com/giantswarm/node-operator\r\ngoversion: go1.9.1\r\nos: darwin\r\narch: amd64\r\nversionbundles:\r\n- changelogs:\r\n  - component: node-operator\r\n    description: Introduce the first version of the node-operator.\r\n    kind: added\r\n  components:\r\n  - name: node-operator\r\n    version: 0.1.0\r\n  dependencies:\r\n  - name: kubernetes\r\n    version: '>= 1.8.4'\r\n  deprecated: false\r\n  name: node-operator\r\n  time: 2018-12-06T18:06:00Z\r\n  version: 0.1.0\r\n  wip: true\r\n```","created_at":"2018-02-06T17:09:40Z","updated_at":"2018-02-06T17:11:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"047517da1a627b1cd3c0e3ea9f8fab2ecdd547be","assignee":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars3.githubusercontent.com/u/552769?v=4","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"assignees":[{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars3.githubusercontent.com/u/552769?v=4","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/giantswarm/node-operator/pulls/14/commits","review_comments_url":"https://api.github.com/repos/giantswarm/node-operator/pulls/14/comments","review_comment_url":"https://api.github.com/repos/giantswarm/node-operator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giantswarm/node-operator/issues/14/comments","statuses_url":"https://api.github.com/repos/giantswarm/node-operator/statuses/916e1634d7ea182929749009cfe772ce1a2f94ec","head":{"label":"giantswarm:version-bundle","ref":"version-bundle","sha":"916e1634d7ea182929749009cfe772ce1a2f94ec","user":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars3.githubusercontent.com/u/7556340?v=4","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"repo":{"id":115103707,"name":"node-operator","full_name":"giantswarm/node-operator","owner":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars3.githubusercontent.com/u/7556340?v=4","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giantswarm/node-operator","description":"Project node-operator drains Kubernetes nodes on behalf of watched CRDs.","fork":false,"url":"https://api.github.com/repos/giantswarm/node-operator","forks_url":"https://api.github.com/repos/giantswarm/node-operator/forks","keys_url":"https://api.github.com/repos/giantswarm/node-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giantswarm/node-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giantswarm/node-operator/teams","hooks_url":"https://api.github.com/repos/giantswarm/node-operator/hooks","issue_events_url":"https://api.github.com/repos/giantswarm/node-operator/issues/events{/number}","events_url":"https://api.github.com/repos/giantswarm/node-operator/events","assignees_url":"https://api.github.com/repos/giantswarm/node-operator/assignees{/user}","branches_url":"https://api.github.com/repos/giantswarm/node-operator/branches{/branch}","tags_url":"https://api.github.com/repos/giantswarm/node-operator/tags","blobs_url":"https://api.github.com/repos/giantswarm/node-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giantswarm/node-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giantswarm/node-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/giantswarm/node-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giantswarm/node-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/giantswarm/node-operator/languages","stargazers_url":"https://api.github.com/repos/giantswarm/node-operator/stargazers","contributors_url":"https://api.github.com/repos/giantswarm/node-operator/contributors","subscribers_url":"https://api.github.com/repos/giantswarm/node-operator/subscribers","subscription_url":"https://api.github.com/repos/giantswarm/node-operator/subscription","commits_url":"https://api.github.com/repos/giantswarm/node-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/giantswarm/node-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/giantswarm/node-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/giantswarm/node-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/giantswarm/node-operator/contents/{+path}","compare_url":"https://api.github.com/repos/giantswarm/node-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giantswarm/node-operator/merges","archive_url":"https://api.github.com/repos/giantswarm/node-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giantswarm/node-operator/downloads","issues_url":"https://api.github.com/repos/giantswarm/node-operator/issues{/number}","pulls_url":"https://api.github.com/repos/giantswarm/node-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/giantswarm/node-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/giantswarm/node-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giantswarm/node-operator/labels{/name}","releases_url":"https://api.github.com/repos/giantswarm/node-operator/releases{/id}","deployments_url":"https://api.github.com/repos/giantswarm/node-operator/deployments","created_at":"2017-12-22T10:11:24Z","updated_at":"2018-01-29T10:16:43Z","pushed_at":"2018-02-06T17:09:41Z","git_url":"git://github.com/giantswarm/node-operator.git","ssh_url":"git@github.com:giantswarm/node-operator.git","clone_url":"https://github.com/giantswarm/node-operator.git","svn_url":"https://github.com/giantswarm/node-operator","homepage":"","size":27602,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"giantswarm:master","ref":"master","sha":"7a102c3e276ea2562b183917b3ff416fb4fa1221","user":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars3.githubusercontent.com/u/7556340?v=4","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"repo":{"id":115103707,"name":"node-operator","full_name":"giantswarm/node-operator","owner":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars3.githubusercontent.com/u/7556340?v=4","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giantswarm/node-operator","description":"Project node-operator drains Kubernetes nodes on behalf of watched CRDs.","fork":false,"url":"https://api.github.com/repos/giantswarm/node-operator","forks_url":"https://api.github.com/repos/giantswarm/node-operator/forks","keys_url":"https://api.github.com/repos/giantswarm/node-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giantswarm/node-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giantswarm/node-operator/teams","hooks_url":"https://api.github.com/repos/giantswarm/node-operator/hooks","issue_events_url":"https://api.github.com/repos/giantswarm/node-operator/issues/events{/number}","events_url":"https://api.github.com/repos/giantswarm/node-operator/events","assignees_url":"https://api.github.com/repos/giantswarm/node-operator/assignees{/user}","branches_url":"https://api.github.com/repos/giantswarm/node-operator/branches{/branch}","tags_url":"https://api.github.com/repos/giantswarm/node-operator/tags","blobs_url":"https://api.github.com/repos/giantswarm/node-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giantswarm/node-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giantswarm/node-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/giantswarm/node-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giantswarm/node-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/giantswarm/node-operator/languages","stargazers_url":"https://api.github.com/repos/giantswarm/node-operator/stargazers","contributors_url":"https://api.github.com/repos/giantswarm/node-operator/contributors","subscribers_url":"https://api.github.com/repos/giantswarm/node-operator/subscribers","subscription_url":"https://api.github.com/repos/giantswarm/node-operator/subscription","commits_url":"https://api.github.com/repos/giantswarm/node-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/giantswarm/node-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/giantswarm/node-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/giantswarm/node-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/giantswarm/node-operator/contents/{+path}","compare_url":"https://api.github.com/repos/giantswarm/node-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giantswarm/node-operator/merges","archive_url":"https://api.github.com/repos/giantswarm/node-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giantswarm/node-operator/downloads","issues_url":"https://api.github.com/repos/giantswarm/node-operator/issues{/number}","pulls_url":"https://api.github.com/repos/giantswarm/node-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/giantswarm/node-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/giantswarm/node-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giantswarm/node-operator/labels{/name}","releases_url":"https://api.github.com/repos/giantswarm/node-operator/releases{/id}","deployments_url":"https://api.github.com/repos/giantswarm/node-operator/deployments","created_at":"2017-12-22T10:11:24Z","updated_at":"2018-01-29T10:16:43Z","pushed_at":"2018-02-06T17:09:41Z","git_url":"git://github.com/giantswarm/node-operator.git","ssh_url":"git@github.com:giantswarm/node-operator.git","clone_url":"https://github.com/giantswarm/node-operator.git","svn_url":"https://github.com/giantswarm/node-operator","homepage":"","size":27602,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/giantswarm/node-operator/pulls/14"},"html":{"href":"https://github.com/giantswarm/node-operator/pull/14"},"issue":{"href":"https://api.github.com/repos/giantswarm/node-operator/issues/14"},"comments":{"href":"https://api.github.com/repos/giantswarm/node-operator/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/giantswarm/node-operator/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/giantswarm/node-operator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giantswarm/node-operator/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/giantswarm/node-operator/statuses/916e1634d7ea182929749009cfe772ce1a2f94ec"}},"author_association":"OWNER"}}
{"actor":{"display_login":"xh3b4sd"}}