{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments/31497515","id":31497515,"diff_hunk":"@@ -0,0 +1,11 @@\n+def upgrade ta, td, a, d\n+  a['suse'] ||= {}\n+  a['suse']['autoyast'] ||= {}\n+  a['suse']['autoyast']['packages'] ||= {}\n+  return a, d\n+end\n+\n+def downgrade ta, td, a, d\n+  a['suse']['autoyast'].delete('packages')","path":"chef/data_bags/crowbar/migrate/provisioner/024_add_autoyast_packages.rb","position":9,"original_position":9,"commit_id":"764e10529ae145a4d18b13c23f5e67b1a1a31f3f","original_commit_id":"764e10529ae145a4d18b13c23f5e67b1a1a31f3f","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"body":"This could fail as `a['suse']` might not event exist. You could probably do something like:\r\n`a.fetch('suse', {}).fetch('autoyast', {}).delete('packages')`","created_at":"2015-06-02T07:17:12Z","updated_at":"2015-06-02T07:17:12Z","html_url":"https://github.com/crowbar/barclamp-provisioner/pull/420#discussion_r31497515","pull_request_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420","_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments/31497515"},"html":{"href":"https://github.com/crowbar/barclamp-provisioner/pull/420#discussion_r31497515"},"pull_request":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420","id":35854540,"html_url":"https://github.com/crowbar/barclamp-provisioner/pull/420","diff_url":"https://github.com/crowbar/barclamp-provisioner/pull/420.diff","patch_url":"https://github.com/crowbar/barclamp-provisioner/pull/420.patch","issue_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/420","number":420,"state":"open","locked":false,"title":"Add an option to install additional packages along the AutoYaST installation of the nodes","user":{"login":"thutterer","id":5372947,"avatar_url":"https://avatars.githubusercontent.com/u/5372947?v=3","gravatar_id":"","url":"https://api.github.com/users/thutterer","html_url":"https://github.com/thutterer","followers_url":"https://api.github.com/users/thutterer/followers","following_url":"https://api.github.com/users/thutterer/following{/other_user}","gists_url":"https://api.github.com/users/thutterer/gists{/gist_id}","starred_url":"https://api.github.com/users/thutterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thutterer/subscriptions","organizations_url":"https://api.github.com/users/thutterer/orgs","repos_url":"https://api.github.com/users/thutterer/repos","events_url":"https://api.github.com/users/thutterer/events{/privacy}","received_events_url":"https://api.github.com/users/thutterer/received_events","type":"User","site_admin":false},"body":"Tested and works.\r\nWhat is not yet covered in this pull request is the comment from @vuntz in [trello](https://trello.com/c/QLQyKYf7) about distinction of distributions. It was not part of the acceptance criteria, but still, maybe you want to propose a viable way to cover. In the UI and the schema.\r\n\r\nAnd are you happy with the hint text? I kept it rather short.","created_at":"2015-05-20T17:09:55Z","updated_at":"2015-06-02T07:17:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69d7784822f684c72a4453d0ef61c19a4d24460e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420/commits","review_comments_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420/comments","review_comment_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/420/comments","statuses_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/statuses/764e10529ae145a4d18b13c23f5e67b1a1a31f3f","head":{"label":"thutterer:additional_packages","ref":"additional_packages","sha":"764e10529ae145a4d18b13c23f5e67b1a1a31f3f","user":{"login":"thutterer","id":5372947,"avatar_url":"https://avatars.githubusercontent.com/u/5372947?v=3","gravatar_id":"","url":"https://api.github.com/users/thutterer","html_url":"https://github.com/thutterer","followers_url":"https://api.github.com/users/thutterer/followers","following_url":"https://api.github.com/users/thutterer/following{/other_user}","gists_url":"https://api.github.com/users/thutterer/gists{/gist_id}","starred_url":"https://api.github.com/users/thutterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thutterer/subscriptions","organizations_url":"https://api.github.com/users/thutterer/orgs","repos_url":"https://api.github.com/users/thutterer/repos","events_url":"https://api.github.com/users/thutterer/events{/privacy}","received_events_url":"https://api.github.com/users/thutterer/received_events","type":"User","site_admin":false},"repo":{"id":32934015,"name":"barclamp-provisioner","full_name":"thutterer/barclamp-provisioner","owner":{"login":"thutterer","id":5372947,"avatar_url":"https://avatars.githubusercontent.com/u/5372947?v=3","gravatar_id":"","url":"https://api.github.com/users/thutterer","html_url":"https://github.com/thutterer","followers_url":"https://api.github.com/users/thutterer/followers","following_url":"https://api.github.com/users/thutterer/following{/other_user}","gists_url":"https://api.github.com/users/thutterer/gists{/gist_id}","starred_url":"https://api.github.com/users/thutterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thutterer/subscriptions","organizations_url":"https://api.github.com/users/thutterer/orgs","repos_url":"https://api.github.com/users/thutterer/repos","events_url":"https://api.github.com/users/thutterer/events{/privacy}","received_events_url":"https://api.github.com/users/thutterer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thutterer/barclamp-provisioner","description":"Crowbar Provisioner: Install Operating Systems","fork":true,"url":"https://api.github.com/repos/thutterer/barclamp-provisioner","forks_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/forks","keys_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/teams","hooks_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/hooks","issue_events_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/issues/events{/number}","events_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/events","assignees_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/assignees{/user}","branches_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/branches{/branch}","tags_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/tags","blobs_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/git/refs{/sha}","trees_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/statuses/{sha}","languages_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/languages","stargazers_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/stargazers","contributors_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/contributors","subscribers_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/subscribers","subscription_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/subscription","commits_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/commits{/sha}","git_commits_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/git/commits{/sha}","comments_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/comments{/number}","issue_comment_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/issues/comments{/number}","contents_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/contents/{+path}","compare_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/merges","archive_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/downloads","issues_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/issues{/number}","pulls_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/pulls{/number}","milestones_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/milestones{/number}","notifications_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/labels{/name}","releases_url":"https://api.github.com/repos/thutterer/barclamp-provisioner/releases{/id}","created_at":"2015-03-26T15:01:13Z","updated_at":"2015-03-26T15:01:14Z","pushed_at":"2015-06-01T14:41:59Z","git_url":"git://github.com/thutterer/barclamp-provisioner.git","ssh_url":"git@github.com:thutterer/barclamp-provisioner.git","clone_url":"https://github.com/thutterer/barclamp-provisioner.git","svn_url":"https://github.com/thutterer/barclamp-provisioner","homepage":"https://github.com/crowbar/crowbar","size":64441,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"crowbar:master","ref":"master","sha":"106a9e2fea007a2743228c8297b187784daa274b","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":2351609,"name":"barclamp-provisioner","full_name":"crowbar/barclamp-provisioner","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/barclamp-provisioner","description":"Crowbar Provisioner: Install Operating Systems","fork":false,"url":"https://api.github.com/repos/crowbar/barclamp-provisioner","forks_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/forks","keys_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/teams","hooks_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/hooks","issue_events_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/events","assignees_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/tags","blobs_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/languages","stargazers_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/stargazers","contributors_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/contributors","subscribers_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/subscribers","subscription_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/subscription","commits_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/merges","archive_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/downloads","issues_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/releases{/id}","created_at":"2011-09-08T21:20:51Z","updated_at":"2015-05-06T09:50:08Z","pushed_at":"2015-06-01T14:42:00Z","git_url":"git://github.com/crowbar/barclamp-provisioner.git","ssh_url":"git@github.com:crowbar/barclamp-provisioner.git","clone_url":"https://github.com/crowbar/barclamp-provisioner.git","svn_url":"https://github.com/crowbar/barclamp-provisioner","homepage":"https://github.com/crowbar/crowbar","size":66995,"stargazers_count":61,"watchers_count":61,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":184,"mirror_url":null,"open_issues_count":9,"forks":184,"open_issues":9,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420"},"html":{"href":"https://github.com/crowbar/barclamp-provisioner/pull/420"},"issue":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/420"},"comments":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/statuses/764e10529ae145a4d18b13c23f5e67b1a1a31f3f"}}}}