{"action":"created","comment":{"url":"https://api.github.com/repos/ev3dev/brickstrap/pulls/comments/49105689","id":49105689,"diff_hunk":"@@ -0,0 +1,168 @@\n+#!/bin/bash","path":"brickstrap-utils.sh","position":1,"original_position":1,"commit_id":"267ec6403ef6f03555b1bfbfaa05c4472d0e926c","original_commit_id":"267ec6403ef6f03555b1bfbfaa05c4472d0e926c","user":{"login":"dlech","id":963645,"avatar_url":"https://avatars.githubusercontent.com/u/963645?v=3","gravatar_id":"","url":"https://api.github.com/users/dlech","html_url":"https://github.com/dlech","followers_url":"https://api.github.com/users/dlech/followers","following_url":"https://api.github.com/users/dlech/following{/other_user}","gists_url":"https://api.github.com/users/dlech/gists{/gist_id}","starred_url":"https://api.github.com/users/dlech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlech/subscriptions","organizations_url":"https://api.github.com/users/dlech/orgs","repos_url":"https://api.github.com/users/dlech/repos","events_url":"https://api.github.com/users/dlech/events{/privacy}","received_events_url":"https://api.github.com/users/dlech/received_events","type":"User","site_admin":false},"body":"Don't need shebang since file is not executable do we?","created_at":"2016-01-07T18:19:22Z","updated_at":"2016-01-07T18:19:22Z","html_url":"https://github.com/ev3dev/brickstrap/pull/21#discussion_r49105689","pull_request_url":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/ev3dev/brickstrap/pulls/comments/49105689"},"html":{"href":"https://github.com/ev3dev/brickstrap/pull/21#discussion_r49105689"},"pull_request":{"href":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21","id":55001268,"html_url":"https://github.com/ev3dev/brickstrap/pull/21","diff_url":"https://github.com/ev3dev/brickstrap/pull/21.diff","patch_url":"https://github.com/ev3dev/brickstrap/pull/21.patch","issue_url":"https://api.github.com/repos/ev3dev/brickstrap/issues/21","number":21,"state":"open","locked":false,"title":"Enable other architectures than arm, native builds","user":{"login":"cmacq2","id":13215950,"avatar_url":"https://avatars.githubusercontent.com/u/13215950?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacq2","html_url":"https://github.com/cmacq2","followers_url":"https://api.github.com/users/cmacq2/followers","following_url":"https://api.github.com/users/cmacq2/following{/other_user}","gists_url":"https://api.github.com/users/cmacq2/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacq2/subscriptions","organizations_url":"https://api.github.com/users/cmacq2/orgs","repos_url":"https://api.github.com/users/cmacq2/repos","events_url":"https://api.github.com/users/cmacq2/events{/privacy}","received_events_url":"https://api.github.com/users/cmacq2/received_events","type":"User","site_admin":false},"body":"Add utility functions to prepare brickstrap for:\r\n - Architectures other than 'arm'/armhf/armel\r\n - Native builds (not using QEMU at all)\r\n - Namespaced use of the chroot functionality\r\n\r\nThe code also takes advantage of the work done on paths (BR_ARCH variable is used).","created_at":"2016-01-04T17:41:54Z","updated_at":"2016-01-07T18:19:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47c59cc4cc44c588634b919f6b5e0fcb71304d9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21/commits","review_comments_url":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21/comments","review_comment_url":"https://api.github.com/repos/ev3dev/brickstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ev3dev/brickstrap/issues/21/comments","statuses_url":"https://api.github.com/repos/ev3dev/brickstrap/statuses/267ec6403ef6f03555b1bfbfaa05c4472d0e926c","head":{"label":"cmacq2:qemu-arch-utils","ref":"qemu-arch-utils","sha":"267ec6403ef6f03555b1bfbfaa05c4472d0e926c","user":{"login":"cmacq2","id":13215950,"avatar_url":"https://avatars.githubusercontent.com/u/13215950?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacq2","html_url":"https://github.com/cmacq2","followers_url":"https://api.github.com/users/cmacq2/followers","following_url":"https://api.github.com/users/cmacq2/following{/other_user}","gists_url":"https://api.github.com/users/cmacq2/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacq2/subscriptions","organizations_url":"https://api.github.com/users/cmacq2/orgs","repos_url":"https://api.github.com/users/cmacq2/repos","events_url":"https://api.github.com/users/cmacq2/events{/privacy}","received_events_url":"https://api.github.com/users/cmacq2/received_events","type":"User","site_admin":false},"repo":{"id":48535809,"name":"brickstrap","full_name":"cmacq2/brickstrap","owner":{"login":"cmacq2","id":13215950,"avatar_url":"https://avatars.githubusercontent.com/u/13215950?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacq2","html_url":"https://github.com/cmacq2","followers_url":"https://api.github.com/users/cmacq2/followers","following_url":"https://api.github.com/users/cmacq2/following{/other_user}","gists_url":"https://api.github.com/users/cmacq2/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacq2/subscriptions","organizations_url":"https://api.github.com/users/cmacq2/orgs","repos_url":"https://api.github.com/users/cmacq2/repos","events_url":"https://api.github.com/users/cmacq2/events{/privacy}","received_events_url":"https://api.github.com/users/cmacq2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmacq2/brickstrap","description":"Tool for bootstrapping Debian and creating bootable image files for embedded systems","fork":true,"url":"https://api.github.com/repos/cmacq2/brickstrap","forks_url":"https://api.github.com/repos/cmacq2/brickstrap/forks","keys_url":"https://api.github.com/repos/cmacq2/brickstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmacq2/brickstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmacq2/brickstrap/teams","hooks_url":"https://api.github.com/repos/cmacq2/brickstrap/hooks","issue_events_url":"https://api.github.com/repos/cmacq2/brickstrap/issues/events{/number}","events_url":"https://api.github.com/repos/cmacq2/brickstrap/events","assignees_url":"https://api.github.com/repos/cmacq2/brickstrap/assignees{/user}","branches_url":"https://api.github.com/repos/cmacq2/brickstrap/branches{/branch}","tags_url":"https://api.github.com/repos/cmacq2/brickstrap/tags","blobs_url":"https://api.github.com/repos/cmacq2/brickstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmacq2/brickstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmacq2/brickstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmacq2/brickstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmacq2/brickstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/cmacq2/brickstrap/languages","stargazers_url":"https://api.github.com/repos/cmacq2/brickstrap/stargazers","contributors_url":"https://api.github.com/repos/cmacq2/brickstrap/contributors","subscribers_url":"https://api.github.com/repos/cmacq2/brickstrap/subscribers","subscription_url":"https://api.github.com/repos/cmacq2/brickstrap/subscription","commits_url":"https://api.github.com/repos/cmacq2/brickstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmacq2/brickstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmacq2/brickstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmacq2/brickstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmacq2/brickstrap/contents/{+path}","compare_url":"https://api.github.com/repos/cmacq2/brickstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmacq2/brickstrap/merges","archive_url":"https://api.github.com/repos/cmacq2/brickstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmacq2/brickstrap/downloads","issues_url":"https://api.github.com/repos/cmacq2/brickstrap/issues{/number}","pulls_url":"https://api.github.com/repos/cmacq2/brickstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/cmacq2/brickstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/cmacq2/brickstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmacq2/brickstrap/labels{/name}","releases_url":"https://api.github.com/repos/cmacq2/brickstrap/releases{/id}","created_at":"2015-12-24T09:22:23Z","updated_at":"2015-12-24T09:22:24Z","pushed_at":"2016-01-07T15:55:52Z","git_url":"git://github.com/cmacq2/brickstrap.git","ssh_url":"git@github.com:cmacq2/brickstrap.git","clone_url":"https://github.com/cmacq2/brickstrap.git","svn_url":"https://github.com/cmacq2/brickstrap","homepage":"","size":298,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ev3dev:master","ref":"master","sha":"3b9b7c382d853d63da2b384dbfd92937e4483ebf","user":{"login":"ev3dev","id":6878323,"avatar_url":"https://avatars.githubusercontent.com/u/6878323?v=3","gravatar_id":"","url":"https://api.github.com/users/ev3dev","html_url":"https://github.com/ev3dev","followers_url":"https://api.github.com/users/ev3dev/followers","following_url":"https://api.github.com/users/ev3dev/following{/other_user}","gists_url":"https://api.github.com/users/ev3dev/gists{/gist_id}","starred_url":"https://api.github.com/users/ev3dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev3dev/subscriptions","organizations_url":"https://api.github.com/users/ev3dev/orgs","repos_url":"https://api.github.com/users/ev3dev/repos","events_url":"https://api.github.com/users/ev3dev/events{/privacy}","received_events_url":"https://api.github.com/users/ev3dev/received_events","type":"Organization","site_admin":false},"repo":{"id":17956865,"name":"brickstrap","full_name":"ev3dev/brickstrap","owner":{"login":"ev3dev","id":6878323,"avatar_url":"https://avatars.githubusercontent.com/u/6878323?v=3","gravatar_id":"","url":"https://api.github.com/users/ev3dev","html_url":"https://github.com/ev3dev","followers_url":"https://api.github.com/users/ev3dev/followers","following_url":"https://api.github.com/users/ev3dev/following{/other_user}","gists_url":"https://api.github.com/users/ev3dev/gists{/gist_id}","starred_url":"https://api.github.com/users/ev3dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev3dev/subscriptions","organizations_url":"https://api.github.com/users/ev3dev/orgs","repos_url":"https://api.github.com/users/ev3dev/repos","events_url":"https://api.github.com/users/ev3dev/events{/privacy}","received_events_url":"https://api.github.com/users/ev3dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ev3dev/brickstrap","description":"Tool for bootstrapping Debian and creating bootable image files for embedded systems","fork":false,"url":"https://api.github.com/repos/ev3dev/brickstrap","forks_url":"https://api.github.com/repos/ev3dev/brickstrap/forks","keys_url":"https://api.github.com/repos/ev3dev/brickstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ev3dev/brickstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ev3dev/brickstrap/teams","hooks_url":"https://api.github.com/repos/ev3dev/brickstrap/hooks","issue_events_url":"https://api.github.com/repos/ev3dev/brickstrap/issues/events{/number}","events_url":"https://api.github.com/repos/ev3dev/brickstrap/events","assignees_url":"https://api.github.com/repos/ev3dev/brickstrap/assignees{/user}","branches_url":"https://api.github.com/repos/ev3dev/brickstrap/branches{/branch}","tags_url":"https://api.github.com/repos/ev3dev/brickstrap/tags","blobs_url":"https://api.github.com/repos/ev3dev/brickstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ev3dev/brickstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ev3dev/brickstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/ev3dev/brickstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ev3dev/brickstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/ev3dev/brickstrap/languages","stargazers_url":"https://api.github.com/repos/ev3dev/brickstrap/stargazers","contributors_url":"https://api.github.com/repos/ev3dev/brickstrap/contributors","subscribers_url":"https://api.github.com/repos/ev3dev/brickstrap/subscribers","subscription_url":"https://api.github.com/repos/ev3dev/brickstrap/subscription","commits_url":"https://api.github.com/repos/ev3dev/brickstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/ev3dev/brickstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/ev3dev/brickstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/ev3dev/brickstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/ev3dev/brickstrap/contents/{+path}","compare_url":"https://api.github.com/repos/ev3dev/brickstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ev3dev/brickstrap/merges","archive_url":"https://api.github.com/repos/ev3dev/brickstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ev3dev/brickstrap/downloads","issues_url":"https://api.github.com/repos/ev3dev/brickstrap/issues{/number}","pulls_url":"https://api.github.com/repos/ev3dev/brickstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/ev3dev/brickstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/ev3dev/brickstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ev3dev/brickstrap/labels{/name}","releases_url":"https://api.github.com/repos/ev3dev/brickstrap/releases{/id}","created_at":"2014-03-20T20:09:35Z","updated_at":"2015-12-30T10:03:38Z","pushed_at":"2016-01-07T15:55:52Z","git_url":"git://github.com/ev3dev/brickstrap.git","ssh_url":"git@github.com:ev3dev/brickstrap.git","clone_url":"https://github.com/ev3dev/brickstrap.git","svn_url":"https://github.com/ev3dev/brickstrap","homepage":"","size":293,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21"},"html":{"href":"https://github.com/ev3dev/brickstrap/pull/21"},"issue":{"href":"https://api.github.com/repos/ev3dev/brickstrap/issues/21"},"comments":{"href":"https://api.github.com/repos/ev3dev/brickstrap/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/ev3dev/brickstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ev3dev/brickstrap/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/ev3dev/brickstrap/statuses/267ec6403ef6f03555b1bfbfaa05c4472d0e926c"}}}}