{"action":"created","comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/33929887","id":33929887,"diff_hunk":"@@ -221,6 +221,10 @@ sub system_is_livesystem() {\n   return (check_var(\"FLAVOR\", 'Rescue-CD') || get_var(\"LIVETEST\"))\n }\n \n+sub is_server() {\n+  return (get_var(\"OFW\") || get_var(\"FLAVOR\", '') eq \"Server-DVD\");","path":"main.pm","position":null,"original_position":5,"commit_id":"bb66884ff3dd0d58f7fac43ee388bc2fb7e672c7","original_commit_id":"32a3fbfa33c7a3b4c86de3b080650d635625b776","user":{"login":"k0da","id":1101460,"avatar_url":"https://avatars.githubusercontent.com/u/1101460?v=3","gravatar_id":"","url":"https://api.github.com/users/k0da","html_url":"https://github.com/k0da","followers_url":"https://api.github.com/users/k0da/followers","following_url":"https://api.github.com/users/k0da/following{/other_user}","gists_url":"https://api.github.com/users/k0da/gists{/gist_id}","starred_url":"https://api.github.com/users/k0da/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0da/subscriptions","organizations_url":"https://api.github.com/users/k0da/orgs","repos_url":"https://api.github.com/users/k0da/repos","events_url":"https://api.github.com/users/k0da/events{/privacy}","received_events_url":"https://api.github.com/users/k0da/received_events","type":"User","site_admin":false},"body":"@nilxam Thanks, updated","created_at":"2015-07-06T12:48:06Z","updated_at":"2015-07-06T12:48:06Z","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/531#discussion_r33929887","pull_request_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531","_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/33929887"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/531#discussion_r33929887"},"pull_request":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531"}}},"pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531","id":39186588,"html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/531","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/531.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/531.patch","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/531","number":531,"state":"open","locked":false,"title":"Introduce new helper is_server","user":{"login":"k0da","id":1101460,"avatar_url":"https://avatars.githubusercontent.com/u/1101460?v=3","gravatar_id":"","url":"https://api.github.com/users/k0da","html_url":"https://github.com/k0da","followers_url":"https://api.github.com/users/k0da/followers","following_url":"https://api.github.com/users/k0da/following{/other_user}","gists_url":"https://api.github.com/users/k0da/gists{/gist_id}","starred_url":"https://api.github.com/users/k0da/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0da/subscriptions","organizations_url":"https://api.github.com/users/k0da/orgs","repos_url":"https://api.github.com/users/k0da/repos","events_url":"https://api.github.com/users/k0da/events{/privacy}","received_events_url":"https://api.github.com/users/k0da/received_events","type":"User","site_admin":false},"body":"Based on a role we can decide whether to run test or not.\r\n\r\nSo far, it test if we testing on Power or FLAVOR is Server-DVD","created_at":"2015-07-03T16:18:06Z","updated_at":"2015-07-06T12:48:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b345e5b51c582c3262030da139a1777644a7a5d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531/commits","review_comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531/comments","review_comment_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/531/comments","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/bb66884ff3dd0d58f7fac43ee388bc2fb7e672c7","head":{"label":"k0da:power","ref":"power","sha":"bb66884ff3dd0d58f7fac43ee388bc2fb7e672c7","user":{"login":"k0da","id":1101460,"avatar_url":"https://avatars.githubusercontent.com/u/1101460?v=3","gravatar_id":"","url":"https://api.github.com/users/k0da","html_url":"https://github.com/k0da","followers_url":"https://api.github.com/users/k0da/followers","following_url":"https://api.github.com/users/k0da/following{/other_user}","gists_url":"https://api.github.com/users/k0da/gists{/gist_id}","starred_url":"https://api.github.com/users/k0da/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0da/subscriptions","organizations_url":"https://api.github.com/users/k0da/orgs","repos_url":"https://api.github.com/users/k0da/repos","events_url":"https://api.github.com/users/k0da/events{/privacy}","received_events_url":"https://api.github.com/users/k0da/received_events","type":"User","site_admin":false},"repo":{"id":32699397,"name":"os-autoinst-distri-opensuse","full_name":"k0da/os-autoinst-distri-opensuse","owner":{"login":"k0da","id":1101460,"avatar_url":"https://avatars.githubusercontent.com/u/1101460?v=3","gravatar_id":"","url":"https://api.github.com/users/k0da","html_url":"https://github.com/k0da","followers_url":"https://api.github.com/users/k0da/followers","following_url":"https://api.github.com/users/k0da/following{/other_user}","gists_url":"https://api.github.com/users/k0da/gists{/gist_id}","starred_url":"https://api.github.com/users/k0da/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0da/subscriptions","organizations_url":"https://api.github.com/users/k0da/orgs","repos_url":"https://api.github.com/users/k0da/repos","events_url":"https://api.github.com/users/k0da/events{/privacy}","received_events_url":"https://api.github.com/users/k0da/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/k0da/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":true,"url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/k0da/os-autoinst-distri-opensuse/releases{/id}","created_at":"2015-03-22T22:41:15Z","updated_at":"2015-03-22T22:41:16Z","pushed_at":"2015-07-06T12:47:51Z","git_url":"git://github.com/k0da/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:k0da/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/k0da/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/k0da/os-autoinst-distri-opensuse","homepage":null,"size":1913,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"os-autoinst:master","ref":"master","sha":"9f2eae4e3e1564013d00ed6435c847c167f5148d","user":{"login":"os-autoinst","id":6918706,"avatar_url":"https://avatars.githubusercontent.com/u/6918706?v=3","gravatar_id":"","url":"https://api.github.com/users/os-autoinst","html_url":"https://github.com/os-autoinst","followers_url":"https://api.github.com/users/os-autoinst/followers","following_url":"https://api.github.com/users/os-autoinst/following{/other_user}","gists_url":"https://api.github.com/users/os-autoinst/gists{/gist_id}","starred_url":"https://api.github.com/users/os-autoinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/os-autoinst/subscriptions","organizations_url":"https://api.github.com/users/os-autoinst/orgs","repos_url":"https://api.github.com/users/os-autoinst/repos","events_url":"https://api.github.com/users/os-autoinst/events{/privacy}","received_events_url":"https://api.github.com/users/os-autoinst/received_events","type":"Organization","site_admin":false},"repo":{"id":17630288,"name":"os-autoinst-distri-opensuse","full_name":"os-autoinst/os-autoinst-distri-opensuse","owner":{"login":"os-autoinst","id":6918706,"avatar_url":"https://avatars.githubusercontent.com/u/6918706?v=3","gravatar_id":"","url":"https://api.github.com/users/os-autoinst","html_url":"https://github.com/os-autoinst","followers_url":"https://api.github.com/users/os-autoinst/followers","following_url":"https://api.github.com/users/os-autoinst/following{/other_user}","gists_url":"https://api.github.com/users/os-autoinst/gists{/gist_id}","starred_url":"https://api.github.com/users/os-autoinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/os-autoinst/subscriptions","organizations_url":"https://api.github.com/users/os-autoinst/orgs","repos_url":"https://api.github.com/users/os-autoinst/repos","events_url":"https://api.github.com/users/os-autoinst/events{/privacy}","received_events_url":"https://api.github.com/users/os-autoinst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":false,"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/releases{/id}","created_at":"2014-03-11T12:54:42Z","updated_at":"2015-05-08T14:52:21Z","pushed_at":"2015-07-06T12:47:52Z","git_url":"git://github.com/os-autoinst/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:os-autoinst/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse","homepage":null,"size":5360,"stargazers_count":3,"watchers_count":3,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":15,"forks":27,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/531"},"issue":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/531"},"comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/531/comments"},"review_comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531/comments"},"review_comment":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/531/commits"},"statuses":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/bb66884ff3dd0d58f7fac43ee388bc2fb7e672c7"}}}}