GitHub PullRequestReviewCommentEvent at 2014-09-23 14:36:35
Repository: OpenBazaar
Actor: drkyro
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/comments/17912247","id":17912247,"diff_hunk":"@@ -0,0 +1,130 @@\n+#!/bin/bash\n+\n+option=$1\n+\n+function usage\n+{\n+cat << EOF\n+Usage: openbazaar COMMAND [command-specific-options]\n+  \n+Primary help topics, type \"openbazaar help:TOPIC\" for more details:\n+\n+  start         #  start local node\n+  stop          #  stop local node\n+  update        #  update OpenBazaar\n+  destroy       #  delete local node\n+\n+EOF\n+}\n+\n+function usageStart\n+{\n+cat << EOF\n+Usage: openbazaar start\n+  \n+Start Node\n+\n+Example:\n+  \n+  openbazaar start -p 8884\n+  \n+  -h                       #  Help information\n+  -o                       #  Seed Mode\n+  -i                       #  Server Public IP\n+  -p                       #  Server Public Port (default 12345)\n+  -k                       #  Web Interface IP (default 127.0.0.1; use 0.0.0.0 for any)\n+  -q                       #  Web Interface Port (default random)\n+  -l                       #  Log file\n+  -d                       #  Development mode\n+  -n                       #  Number of Dev nodes to start up\n+  -a                       #  Bitmessage API username\n+  -b                       #  Bitmessage API password\n+  -c                       #  Bitmessage API port\n+  -u                       #  Market ID\n+  -j                       #  Disable upnp\n+  -s                       #  List of additional seeds\n+  -f                       #  Path to database file (default db/ob.db)\n+  --disable-open-browser   #  Don't open the default web browser when OpenBazaar starts\n+  --disable-sqlite-crypt   #  Disable encryption on sqlite database\n+\n+EOF\n+}\n+\n+if [ -z \"$option\" ]\n+then\n+  openbazaar help\n+else\n+\n+  if [[ \"$option\" == \"help\" ]] \n+  then\n+    usage\n+  fi  \n+\n+  if [[ \"$option\" == \"help:start\" ]] \n+  then\n+    usageStart\n+  fi\n+\n+  if [[ \"$option\" == \"start\" ]] \n+  then\n+    echo \"Starting OpenBazaar\"\n+    cd ~/OpenBazaar\n+    ./run.sh \"${*:2}\"","path":"openbazaar","position":72,"original_position":72,"commit_id":"7662929f6834f2d9272d060949c7ddef461c2439","original_commit_id":"7662929f6834f2d9272d060949c7ddef461c2439","user":{"login":"drkyro","id":1427640,"avatar_url":"https://avatars.githubusercontent.com/u/1427640?v=2","gravatar_id":"","url":"https://api.github.com/users/drkyro","html_url":"https://github.com/drkyro","followers_url":"https://api.github.com/users/drkyro/followers","following_url":"https://api.github.com/users/drkyro/following{/other_user}","gists_url":"https://api.github.com/users/drkyro/gists{/gist_id}","starred_url":"https://api.github.com/users/drkyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drkyro/subscriptions","organizations_url":"https://api.github.com/users/drkyro/orgs","repos_url":"https://api.github.com/users/drkyro/repos","events_url":"https://api.github.com/users/drkyro/events{/privacy}","received_events_url":"https://api.github.com/users/drkyro/received_events","type":"User","site_admin":false},"body":"When running openbazaar start you can also pass all the options ./run.sh can take. Using ${*@} we can grab all those params but it also things that start is also a params to pass on, so by using ${*:2} we grab all the params except the first one.","created_at":"2014-09-23T14:36:35Z","updated_at":"2014-09-23T14:36:35Z","html_url":"https://github.com/OpenBazaar/OpenBazaar/pull/651#discussion_r17912247","pull_request_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651","_links":{"self":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/comments/17912247"},"html":{"href":"https://github.com/OpenBazaar/OpenBazaar/pull/651#discussion_r17912247"},"pull_request":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651"}}},"pull_request":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651","id":21614721,"html_url":"https://github.com/OpenBazaar/OpenBazaar/pull/651","diff_url":"https://github.com/OpenBazaar/OpenBazaar/pull/651.diff","patch_url":"https://github.com/OpenBazaar/OpenBazaar/pull/651.patch","issue_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues/651","number":651,"state":"open","locked":false,"title":"Installer","user":{"login":"drkyro","id":1427640,"avatar_url":"https://avatars.githubusercontent.com/u/1427640?v=2","gravatar_id":"","url":"https://api.github.com/users/drkyro","html_url":"https://github.com/drkyro","followers_url":"https://api.github.com/users/drkyro/followers","following_url":"https://api.github.com/users/drkyro/following{/other_user}","gists_url":"https://api.github.com/users/drkyro/gists{/gist_id}","starred_url":"https://api.github.com/users/drkyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drkyro/subscriptions","organizations_url":"https://api.github.com/users/drkyro/orgs","repos_url":"https://api.github.com/users/drkyro/repos","events_url":"https://api.github.com/users/drkyro/events{/privacy}","received_events_url":"https://api.github.com/users/drkyro/received_events","type":"User","site_admin":false},"body":"Install OpenBazaar with one line from the terminal.\r\n\\curl -sSL https://raw.githubusercontent.com/OpenBazaar/OpenBazaar/master/configure.sh | bash -s\r\n\r\nFrom the terminal manage the node, start | stop | restart | destroy\r\n\r\nDemo: https://www.youtube.com/watch?v=Zi24um1r0d8","created_at":"2014-09-22T22:44:11Z","updated_at":"2014-09-23T14:36:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52f8524614406e5d11fc6e36008dedd56e2c366f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651/commits","review_comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651/comments","review_comment_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues/651/comments","statuses_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/statuses/7662929f6834f2d9272d060949c7ddef461c2439","head":{"label":"bitstopco:installer","ref":"installer","sha":"7662929f6834f2d9272d060949c7ddef461c2439","user":{"login":"bitstopco","id":8398423,"avatar_url":"https://avatars.githubusercontent.com/u/8398423?v=2","gravatar_id":"","url":"https://api.github.com/users/bitstopco","html_url":"https://github.com/bitstopco","followers_url":"https://api.github.com/users/bitstopco/followers","following_url":"https://api.github.com/users/bitstopco/following{/other_user}","gists_url":"https://api.github.com/users/bitstopco/gists{/gist_id}","starred_url":"https://api.github.com/users/bitstopco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitstopco/subscriptions","organizations_url":"https://api.github.com/users/bitstopco/orgs","repos_url":"https://api.github.com/users/bitstopco/repos","events_url":"https://api.github.com/users/bitstopco/events{/privacy}","received_events_url":"https://api.github.com/users/bitstopco/received_events","type":"Organization","site_admin":false},"repo":{"id":24241687,"name":"OpenBazaar","full_name":"bitstopco/OpenBazaar","owner":{"login":"bitstopco","id":8398423,"avatar_url":"https://avatars.githubusercontent.com/u/8398423?v=2","gravatar_id":"","url":"https://api.github.com/users/bitstopco","html_url":"https://github.com/bitstopco","followers_url":"https://api.github.com/users/bitstopco/followers","following_url":"https://api.github.com/users/bitstopco/following{/other_user}","gists_url":"https://api.github.com/users/bitstopco/gists{/gist_id}","starred_url":"https://api.github.com/users/bitstopco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitstopco/subscriptions","organizations_url":"https://api.github.com/users/bitstopco/orgs","repos_url":"https://api.github.com/users/bitstopco/repos","events_url":"https://api.github.com/users/bitstopco/events{/privacy}","received_events_url":"https://api.github.com/users/bitstopco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitstopco/OpenBazaar","description":"A decentralized marketplace","fork":true,"url":"https://api.github.com/repos/bitstopco/OpenBazaar","forks_url":"https://api.github.com/repos/bitstopco/OpenBazaar/forks","keys_url":"https://api.github.com/repos/bitstopco/OpenBazaar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitstopco/OpenBazaar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitstopco/OpenBazaar/teams","hooks_url":"https://api.github.com/repos/bitstopco/OpenBazaar/hooks","issue_events_url":"https://api.github.com/repos/bitstopco/OpenBazaar/issues/events{/number}","events_url":"https://api.github.com/repos/bitstopco/OpenBazaar/events","assignees_url":"https://api.github.com/repos/bitstopco/OpenBazaar/assignees{/user}","branches_url":"https://api.github.com/repos/bitstopco/OpenBazaar/branches{/branch}","tags_url":"https://api.github.com/repos/bitstopco/OpenBazaar/tags","blobs_url":"https://api.github.com/repos/bitstopco/OpenBazaar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitstopco/OpenBazaar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitstopco/OpenBazaar/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitstopco/OpenBazaar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitstopco/OpenBazaar/statuses/{sha}","languages_url":"https://api.github.com/repos/bitstopco/OpenBazaar/languages","stargazers_url":"https://api.github.com/repos/bitstopco/OpenBazaar/stargazers","contributors_url":"https://api.github.com/repos/bitstopco/OpenBazaar/contributors","subscribers_url":"https://api.github.com/repos/bitstopco/OpenBazaar/subscribers","subscription_url":"https://api.github.com/repos/bitstopco/OpenBazaar/subscription","commits_url":"https://api.github.com/repos/bitstopco/OpenBazaar/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitstopco/OpenBazaar/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitstopco/OpenBazaar/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitstopco/OpenBazaar/issues/comments/{number}","contents_url":"https://api.github.com/repos/bitstopco/OpenBazaar/contents/{+path}","compare_url":"https://api.github.com/repos/bitstopco/OpenBazaar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitstopco/OpenBazaar/merges","archive_url":"https://api.github.com/repos/bitstopco/OpenBazaar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitstopco/OpenBazaar/downloads","issues_url":"https://api.github.com/repos/bitstopco/OpenBazaar/issues{/number}","pulls_url":"https://api.github.com/repos/bitstopco/OpenBazaar/pulls{/number}","milestones_url":"https://api.github.com/repos/bitstopco/OpenBazaar/milestones{/number}","notifications_url":"https://api.github.com/repos/bitstopco/OpenBazaar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitstopco/OpenBazaar/labels{/name}","releases_url":"https://api.github.com/repos/bitstopco/OpenBazaar/releases{/id}","created_at":"2014-09-19T18:56:56Z","updated_at":"2014-09-20T02:56:26Z","pushed_at":"2014-09-22T22:45:55Z","git_url":"git://github.com/bitstopco/OpenBazaar.git","ssh_url":"git@github.com:bitstopco/OpenBazaar.git","clone_url":"https://github.com/bitstopco/OpenBazaar.git","svn_url":"https://github.com/bitstopco/OpenBazaar","homepage":"http://forum.openbazaar.org","size":18845,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenBazaar:master","ref":"master","sha":"600766820870908794d74d75813518786f3580b7","user":{"login":"OpenBazaar","id":7438770,"avatar_url":"https://avatars.githubusercontent.com/u/7438770?v=2","gravatar_id":"","url":"https://api.github.com/users/OpenBazaar","html_url":"https://github.com/OpenBazaar","followers_url":"https://api.github.com/users/OpenBazaar/followers","following_url":"https://api.github.com/users/OpenBazaar/following{/other_user}","gists_url":"https://api.github.com/users/OpenBazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBazaar/subscriptions","organizations_url":"https://api.github.com/users/OpenBazaar/orgs","repos_url":"https://api.github.com/users/OpenBazaar/repos","events_url":"https://api.github.com/users/OpenBazaar/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBazaar/received_events","type":"Organization","site_admin":false},"repo":{"id":19147609,"name":"OpenBazaar","full_name":"OpenBazaar/OpenBazaar","owner":{"login":"OpenBazaar","id":7438770,"avatar_url":"https://avatars.githubusercontent.com/u/7438770?v=2","gravatar_id":"","url":"https://api.github.com/users/OpenBazaar","html_url":"https://github.com/OpenBazaar","followers_url":"https://api.github.com/users/OpenBazaar/followers","following_url":"https://api.github.com/users/OpenBazaar/following{/other_user}","gists_url":"https://api.github.com/users/OpenBazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBazaar/subscriptions","organizations_url":"https://api.github.com/users/OpenBazaar/orgs","repos_url":"https://api.github.com/users/OpenBazaar/repos","events_url":"https://api.github.com/users/OpenBazaar/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBazaar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBazaar/OpenBazaar","description":"A decentralized marketplace","fork":false,"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar","forks_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/forks","keys_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/teams","hooks_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/hooks","issue_events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/events","assignees_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/tags","blobs_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/languages","stargazers_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/stargazers","contributors_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/contributors","subscribers_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/subscribers","subscription_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/subscription","commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues/comments/{number}","contents_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/merges","archive_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/downloads","issues_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/labels{/name}","releases_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar/releases{/id}","created_at":"2014-04-25T13:49:36Z","updated_at":"2014-09-23T13:49:59Z","pushed_at":"2014-09-23T12:39:28Z","git_url":"git://github.com/OpenBazaar/OpenBazaar.git","ssh_url":"git@github.com:OpenBazaar/OpenBazaar.git","clone_url":"https://github.com/OpenBazaar/OpenBazaar.git","svn_url":"https://github.com/OpenBazaar/OpenBazaar","homepage":"http://forum.openbazaar.org","size":36193,"stargazers_count":582,"watchers_count":582,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":172,"mirror_url":null,"open_issues_count":153,"forks":172,"open_issues":153,"watchers":582,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651"},"html":{"href":"https://github.com/OpenBazaar/OpenBazaar/pull/651"},"issue":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues/651"},"comments":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/issues/651/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/pulls/651/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar/statuses/7662929f6834f2d9272d060949c7ddef461c2439"}}}}