{"action":"created","comment":{"url":"https://api.github.com/repos/GPII/linux/pulls/comments/61449437","id":61449437,"diff_hunk":"@@ -82,12 +95,51 @@ module.exports = function (grunt) {\n                     \"sudo rm -f -r /var/lib/gpii\"\n                 ].join(\"&&\")\n             },\n+            prepareRpmEnv: {\n+                command: \"dnf install -y nodejs-grunt-cli npm alsa-lib-devel json-glib-devel PackageKit-glib-devel libXrandr-devel libgnome-keyring-devel sudo @development-tools rpmdevtools\"","path":"Gruntfile.js","position":32,"original_position":32,"commit_id":"eb542cbf0d94626a83e9ab383c62009d76539e26","original_commit_id":"eb542cbf0d94626a83e9ab383c62009d76539e26","user":{"login":"avtar","id":19056,"avatar_url":"https://avatars.githubusercontent.com/u/19056?v=3","gravatar_id":"","url":"https://api.github.com/users/avtar","html_url":"https://github.com/avtar","followers_url":"https://api.github.com/users/avtar/followers","following_url":"https://api.github.com/users/avtar/following{/other_user}","gists_url":"https://api.github.com/users/avtar/gists{/gist_id}","starred_url":"https://api.github.com/users/avtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avtar/subscriptions","organizations_url":"https://api.github.com/users/avtar/orgs","repos_url":"https://api.github.com/users/avtar/repos","events_url":"https://api.github.com/users/avtar/events{/privacy}","received_events_url":"https://api.github.com/users/avtar/received_events","type":"User","site_admin":false},"body":"Ideally the [IDI ansible-nodejs](https://github.com/idi-ops/ansible-nodejs) role should be used so that these dependencies don't have to be tracked in multiple places. This repo uses that role to install these packages like so:\r\n\r\nhttps://github.com/GPII/linux/blob/master/provisioning/vars.yml#L17-L37","created_at":"2016-04-28T15:33:56Z","updated_at":"2016-04-28T15:33:56Z","html_url":"https://github.com/GPII/linux/pull/78#discussion_r61449437","pull_request_url":"https://api.github.com/repos/GPII/linux/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/GPII/linux/pulls/comments/61449437"},"html":{"href":"https://github.com/GPII/linux/pull/78#discussion_r61449437"},"pull_request":{"href":"https://api.github.com/repos/GPII/linux/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/GPII/linux/pulls/78","id":68206227,"html_url":"https://github.com/GPII/linux/pull/78","diff_url":"https://github.com/GPII/linux/pull/78.diff","patch_url":"https://github.com/GPII/linux/pull/78.patch","issue_url":"https://api.github.com/repos/GPII/linux/issues/78","number":78,"state":"open","locked":false,"title":"#GPII-1740: Implement automatic build of Linux Package","user":{"login":"amatas","id":158641,"avatar_url":"https://avatars.githubusercontent.com/u/158641?v=3","gravatar_id":"","url":"https://api.github.com/users/amatas","html_url":"https://github.com/amatas","followers_url":"https://api.github.com/users/amatas/followers","following_url":"https://api.github.com/users/amatas/following{/other_user}","gists_url":"https://api.github.com/users/amatas/gists{/gist_id}","starred_url":"https://api.github.com/users/amatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amatas/subscriptions","organizations_url":"https://api.github.com/users/amatas/orgs","repos_url":"https://api.github.com/users/amatas/repos","events_url":"https://api.github.com/users/amatas/events{/privacy}","received_events_url":"https://api.github.com/users/amatas/received_events","type":"User","site_admin":false},"body":"This PR allows to build a bundle RPM package of GPII-Linux and GPII-universal from a snapshot of GIT. The package installs all the files at /opt/gpii-linux of the distribution and sets the launch of GPII when the user logs in.\r\n\r\nMore info at Jira issue: #GPII-1740","created_at":"2016-04-28T11:40:03Z","updated_at":"2016-04-28T15:33:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50fd75693c09a7bd4aff2993187ebed7a11915d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GPII/linux/pulls/78/commits","review_comments_url":"https://api.github.com/repos/GPII/linux/pulls/78/comments","review_comment_url":"https://api.github.com/repos/GPII/linux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPII/linux/issues/78/comments","statuses_url":"https://api.github.com/repos/GPII/linux/statuses/eb542cbf0d94626a83e9ab383c62009d76539e26","head":{"label":"amatas:master","ref":"master","sha":"eb542cbf0d94626a83e9ab383c62009d76539e26","user":{"login":"amatas","id":158641,"avatar_url":"https://avatars.githubusercontent.com/u/158641?v=3","gravatar_id":"","url":"https://api.github.com/users/amatas","html_url":"https://github.com/amatas","followers_url":"https://api.github.com/users/amatas/followers","following_url":"https://api.github.com/users/amatas/following{/other_user}","gists_url":"https://api.github.com/users/amatas/gists{/gist_id}","starred_url":"https://api.github.com/users/amatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amatas/subscriptions","organizations_url":"https://api.github.com/users/amatas/orgs","repos_url":"https://api.github.com/users/amatas/repos","events_url":"https://api.github.com/users/amatas/events{/privacy}","received_events_url":"https://api.github.com/users/amatas/received_events","type":"User","site_admin":false},"repo":{"id":56324774,"name":"GPII-linux","full_name":"amatas/GPII-linux","owner":{"login":"amatas","id":158641,"avatar_url":"https://avatars.githubusercontent.com/u/158641?v=3","gravatar_id":"","url":"https://api.github.com/users/amatas","html_url":"https://github.com/amatas","followers_url":"https://api.github.com/users/amatas/followers","following_url":"https://api.github.com/users/amatas/following{/other_user}","gists_url":"https://api.github.com/users/amatas/gists{/gist_id}","starred_url":"https://api.github.com/users/amatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amatas/subscriptions","organizations_url":"https://api.github.com/users/amatas/orgs","repos_url":"https://api.github.com/users/amatas/repos","events_url":"https://api.github.com/users/amatas/events{/privacy}","received_events_url":"https://api.github.com/users/amatas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amatas/GPII-linux","description":"","fork":true,"url":"https://api.github.com/repos/amatas/GPII-linux","forks_url":"https://api.github.com/repos/amatas/GPII-linux/forks","keys_url":"https://api.github.com/repos/amatas/GPII-linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amatas/GPII-linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amatas/GPII-linux/teams","hooks_url":"https://api.github.com/repos/amatas/GPII-linux/hooks","issue_events_url":"https://api.github.com/repos/amatas/GPII-linux/issues/events{/number}","events_url":"https://api.github.com/repos/amatas/GPII-linux/events","assignees_url":"https://api.github.com/repos/amatas/GPII-linux/assignees{/user}","branches_url":"https://api.github.com/repos/amatas/GPII-linux/branches{/branch}","tags_url":"https://api.github.com/repos/amatas/GPII-linux/tags","blobs_url":"https://api.github.com/repos/amatas/GPII-linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amatas/GPII-linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amatas/GPII-linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/amatas/GPII-linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amatas/GPII-linux/statuses/{sha}","languages_url":"https://api.github.com/repos/amatas/GPII-linux/languages","stargazers_url":"https://api.github.com/repos/amatas/GPII-linux/stargazers","contributors_url":"https://api.github.com/repos/amatas/GPII-linux/contributors","subscribers_url":"https://api.github.com/repos/amatas/GPII-linux/subscribers","subscription_url":"https://api.github.com/repos/amatas/GPII-linux/subscription","commits_url":"https://api.github.com/repos/amatas/GPII-linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/amatas/GPII-linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/amatas/GPII-linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/amatas/GPII-linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/amatas/GPII-linux/contents/{+path}","compare_url":"https://api.github.com/repos/amatas/GPII-linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amatas/GPII-linux/merges","archive_url":"https://api.github.com/repos/amatas/GPII-linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amatas/GPII-linux/downloads","issues_url":"https://api.github.com/repos/amatas/GPII-linux/issues{/number}","pulls_url":"https://api.github.com/repos/amatas/GPII-linux/pulls{/number}","milestones_url":"https://api.github.com/repos/amatas/GPII-linux/milestones{/number}","notifications_url":"https://api.github.com/repos/amatas/GPII-linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amatas/GPII-linux/labels{/name}","releases_url":"https://api.github.com/repos/amatas/GPII-linux/releases{/id}","deployments_url":"https://api.github.com/repos/amatas/GPII-linux/deployments","created_at":"2016-04-15T14:07:57Z","updated_at":"2016-04-15T14:59:25Z","pushed_at":"2016-04-28T15:22:46Z","git_url":"git://github.com/amatas/GPII-linux.git","ssh_url":"git@github.com:amatas/GPII-linux.git","clone_url":"https://github.com/amatas/GPII-linux.git","svn_url":"https://github.com/amatas/GPII-linux","homepage":"","size":574,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"GPII:master","ref":"master","sha":"e9d3fdbc3d3cc71b9984532d35de64b98d5d6d38","user":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"repo":{"id":3623723,"name":"linux","full_name":"GPII/linux","owner":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPII/linux","description":"","fork":false,"url":"https://api.github.com/repos/GPII/linux","forks_url":"https://api.github.com/repos/GPII/linux/forks","keys_url":"https://api.github.com/repos/GPII/linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPII/linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPII/linux/teams","hooks_url":"https://api.github.com/repos/GPII/linux/hooks","issue_events_url":"https://api.github.com/repos/GPII/linux/issues/events{/number}","events_url":"https://api.github.com/repos/GPII/linux/events","assignees_url":"https://api.github.com/repos/GPII/linux/assignees{/user}","branches_url":"https://api.github.com/repos/GPII/linux/branches{/branch}","tags_url":"https://api.github.com/repos/GPII/linux/tags","blobs_url":"https://api.github.com/repos/GPII/linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPII/linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPII/linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPII/linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPII/linux/statuses/{sha}","languages_url":"https://api.github.com/repos/GPII/linux/languages","stargazers_url":"https://api.github.com/repos/GPII/linux/stargazers","contributors_url":"https://api.github.com/repos/GPII/linux/contributors","subscribers_url":"https://api.github.com/repos/GPII/linux/subscribers","subscription_url":"https://api.github.com/repos/GPII/linux/subscription","commits_url":"https://api.github.com/repos/GPII/linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPII/linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPII/linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPII/linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPII/linux/contents/{+path}","compare_url":"https://api.github.com/repos/GPII/linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPII/linux/merges","archive_url":"https://api.github.com/repos/GPII/linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPII/linux/downloads","issues_url":"https://api.github.com/repos/GPII/linux/issues{/number}","pulls_url":"https://api.github.com/repos/GPII/linux/pulls{/number}","milestones_url":"https://api.github.com/repos/GPII/linux/milestones{/number}","notifications_url":"https://api.github.com/repos/GPII/linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPII/linux/labels{/name}","releases_url":"https://api.github.com/repos/GPII/linux/releases{/id}","deployments_url":"https://api.github.com/repos/GPII/linux/deployments","created_at":"2012-03-05T04:02:05Z","updated_at":"2015-10-13T15:17:27Z","pushed_at":"2016-04-28T15:22:46Z","git_url":"git://github.com/GPII/linux.git","ssh_url":"git@github.com:GPII/linux.git","clone_url":"https://github.com/GPII/linux.git","svn_url":"https://github.com/GPII/linux","homepage":"","size":796,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":8,"forks":17,"open_issues":8,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPII/linux/pulls/78"},"html":{"href":"https://github.com/GPII/linux/pull/78"},"issue":{"href":"https://api.github.com/repos/GPII/linux/issues/78"},"comments":{"href":"https://api.github.com/repos/GPII/linux/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/GPII/linux/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/GPII/linux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPII/linux/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/GPII/linux/statuses/eb542cbf0d94626a83e9ab383c62009d76539e26"}}}}