{"action":"created","comment":{"url":"https://api.github.com/repos/flathub/flathub/pulls/comments/187894628","pull_request_review_id":119763246,"id":187894628,"diff_hunk":"@@ -0,0 +1,68 @@\n+{\n+  \"app-id\": \"com.github.miguelmota.Cointop\",\n+  \"runtime\": \"org.freedesktop.Platform\",\n+  \"runtime-version\": \"1.6\",\n+  \"sdk\": \"org.freedesktop.Sdk\",\n+  \"sdk-extensions\": [\n+    \"org.freedesktop.Sdk.Extension.golang\"\n+  ],\n+  \"command\": \"cointop\",\n+  \"cleanup\": [\n+    \"/go\",\n+    \"/bin/scripts\"\n+  ],\n+  \"modules\": [\n+    {\n+      \"name\": \"scripts\",\n+      \"sources\": [\n+        {\n+          \"type\": \"script\",\n+          \"commands\": [\n+            \". /usr/lib/sdk/golang/enable.sh;  export GOPATH=/app/go\"\n+            ],\n+            \"dest-filename\": \"my_enable.sh\"\n+        },\n+        {\n+          \"type\": \"script\",\n+          \"commands\": [\n+            \". /app/bin/scripts/my_enable.sh; cd /app/go/src/$1; go build -o x\"\n+            ],\n+            \"dest-filename\": \"build.sh\"\n+        }\n+      ],\n+      \"buildsystem\": \"simple\",\n+      \"build-commands\": [\n+        \"mkdir -p /app/go/{src,pkg,bin} # make go workspace\",\n+        \"install -d /app/bin/scripts\",\n+        \"cp *.sh /app/bin/scripts/\"\n+      ]\n+    },\n+    {\n+      \"name\": \"hello\",\n+      \"buildsystem\": \"simple\",\n+      \"build-commands\": [\n+        \"cp -rpv go/* /app/go/\",\n+        \"/app/bin/scripts/build.sh github.com/miguelmota/cointop\",\n+        \"install -D /app/go/src/github.com/miguelmota/cointop/x /app/bin/cointop\",\n+        \"mkdir -p /app/share/icons/hicolor/64x64/apps\",\n+        \"mkdir -p /app/share/icons/hicolor/128x128/apps\",\n+        \"mkdir -p /app/share/applications\",\n+        \"cp /app/go/src/github.com/miguelmota/cointop/assets/icon_64x64.png /app/share/icons/hicolor/64x64/apps/com.github.miguelmota.Cointop.png\",\n+        \"cp /app/go/src/github.com/miguelmota/cointop/assets/icon_128x128.png /app/share/icons/hicolor/128x128/apps/com.github.miguelmota.Cointop.png\",\n+        \"cp /app/go/src/github.com/miguelmota/cointop/flathub/com.github.miguelmota.Cointop.desktop /app/share/applications/com.github.miguelmota.Cointop.desktop\"\n+      ],","path":"com.github.miguelmota.Cointop.json","position":null,"original_position":53,"commit_id":"bff0df538d5205f3dd859bbf6d44d3b51f8ff260","original_commit_id":"029d945a193f842211aef28074bcee7fd11321e4","user":{"login":"miguelmota","id":168240,"avatar_url":"https://avatars1.githubusercontent.com/u/168240?v=4","gravatar_id":"","url":"https://api.github.com/users/miguelmota","html_url":"https://github.com/miguelmota","followers_url":"https://api.github.com/users/miguelmota/followers","following_url":"https://api.github.com/users/miguelmota/following{/other_user}","gists_url":"https://api.github.com/users/miguelmota/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelmota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelmota/subscriptions","organizations_url":"https://api.github.com/users/miguelmota/orgs","repos_url":"https://api.github.com/users/miguelmota/repos","events_url":"https://api.github.com/users/miguelmota/events{/privacy}","received_events_url":"https://api.github.com/users/miguelmota/received_events","type":"User","site_admin":false},"body":"added","created_at":"2018-05-14T09:51:05Z","updated_at":"2018-05-14T09:51:05Z","html_url":"https://github.com/flathub/flathub/pull/387#discussion_r187894628","pull_request_url":"https://api.github.com/repos/flathub/flathub/pulls/387","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/flathub/flathub/pulls/comments/187894628"},"html":{"href":"https://github.com/flathub/flathub/pull/387#discussion_r187894628"},"pull_request":{"href":"https://api.github.com/repos/flathub/flathub/pulls/387"}},"in_reply_to_id":187888172},"pull_request":{"url":"https://api.github.com/repos/flathub/flathub/pulls/387","id":187408574,"html_url":"https://github.com/flathub/flathub/pull/387","diff_url":"https://github.com/flathub/flathub/pull/387.diff","patch_url":"https://github.com/flathub/flathub/pull/387.patch","issue_url":"https://api.github.com/repos/flathub/flathub/issues/387","number":387,"state":"open","locked":false,"title":"add com.github.miguelmota.Cointop","user":{"login":"miguelmota","id":168240,"avatar_url":"https://avatars1.githubusercontent.com/u/168240?v=4","gravatar_id":"","url":"https://api.github.com/users/miguelmota","html_url":"https://github.com/miguelmota","followers_url":"https://api.github.com/users/miguelmota/followers","following_url":"https://api.github.com/users/miguelmota/following{/other_user}","gists_url":"https://api.github.com/users/miguelmota/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelmota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelmota/subscriptions","organizations_url":"https://api.github.com/users/miguelmota/orgs","repos_url":"https://api.github.com/users/miguelmota/repos","events_url":"https://api.github.com/users/miguelmota/events{/privacy}","received_events_url":"https://api.github.com/users/miguelmota/received_events","type":"User","site_admin":false},"body":"Adds [cointop](https://github.com/miguelmota/cointop) to flathub\r\n\r\nCointop is a simple terminal based application for tracking cryptocurrencies\r\n\r\nRequires the home directory for storing configuration files, and network access for making HTTP requests\r\n\r\nI'm new to flatpak; please let me know if it needs improvement\r\n\r\nThanks!","created_at":"2018-05-11T09:13:49Z","updated_at":"2018-05-14T09:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96e5d8a04808f070a717cb52d10e41d367228361","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flathub/flathub/pulls/387/commits","review_comments_url":"https://api.github.com/repos/flathub/flathub/pulls/387/comments","review_comment_url":"https://api.github.com/repos/flathub/flathub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flathub/flathub/issues/387/comments","statuses_url":"https://api.github.com/repos/flathub/flathub/statuses/bff0df538d5205f3dd859bbf6d44d3b51f8ff260","head":{"label":"miguelmota:com.github.miguelmota.Cointop","ref":"com.github.miguelmota.Cointop","sha":"bff0df538d5205f3dd859bbf6d44d3b51f8ff260","user":{"login":"miguelmota","id":168240,"avatar_url":"https://avatars1.githubusercontent.com/u/168240?v=4","gravatar_id":"","url":"https://api.github.com/users/miguelmota","html_url":"https://github.com/miguelmota","followers_url":"https://api.github.com/users/miguelmota/followers","following_url":"https://api.github.com/users/miguelmota/following{/other_user}","gists_url":"https://api.github.com/users/miguelmota/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelmota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelmota/subscriptions","organizations_url":"https://api.github.com/users/miguelmota/orgs","repos_url":"https://api.github.com/users/miguelmota/repos","events_url":"https://api.github.com/users/miguelmota/events{/privacy}","received_events_url":"https://api.github.com/users/miguelmota/received_events","type":"User","site_admin":false},"repo":{"id":133015627,"name":"flathub","full_name":"miguelmota/flathub","owner":{"login":"miguelmota","id":168240,"avatar_url":"https://avatars1.githubusercontent.com/u/168240?v=4","gravatar_id":"","url":"https://api.github.com/users/miguelmota","html_url":"https://github.com/miguelmota","followers_url":"https://api.github.com/users/miguelmota/followers","following_url":"https://api.github.com/users/miguelmota/following{/other_user}","gists_url":"https://api.github.com/users/miguelmota/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelmota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelmota/subscriptions","organizations_url":"https://api.github.com/users/miguelmota/orgs","repos_url":"https://api.github.com/users/miguelmota/repos","events_url":"https://api.github.com/users/miguelmota/events{/privacy}","received_events_url":"https://api.github.com/users/miguelmota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelmota/flathub","description":"Pull requests for new applications to be added","fork":true,"url":"https://api.github.com/repos/miguelmota/flathub","forks_url":"https://api.github.com/repos/miguelmota/flathub/forks","keys_url":"https://api.github.com/repos/miguelmota/flathub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelmota/flathub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelmota/flathub/teams","hooks_url":"https://api.github.com/repos/miguelmota/flathub/hooks","issue_events_url":"https://api.github.com/repos/miguelmota/flathub/issues/events{/number}","events_url":"https://api.github.com/repos/miguelmota/flathub/events","assignees_url":"https://api.github.com/repos/miguelmota/flathub/assignees{/user}","branches_url":"https://api.github.com/repos/miguelmota/flathub/branches{/branch}","tags_url":"https://api.github.com/repos/miguelmota/flathub/tags","blobs_url":"https://api.github.com/repos/miguelmota/flathub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelmota/flathub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelmota/flathub/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelmota/flathub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelmota/flathub/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelmota/flathub/languages","stargazers_url":"https://api.github.com/repos/miguelmota/flathub/stargazers","contributors_url":"https://api.github.com/repos/miguelmota/flathub/contributors","subscribers_url":"https://api.github.com/repos/miguelmota/flathub/subscribers","subscription_url":"https://api.github.com/repos/miguelmota/flathub/subscription","commits_url":"https://api.github.com/repos/miguelmota/flathub/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelmota/flathub/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelmota/flathub/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelmota/flathub/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelmota/flathub/contents/{+path}","compare_url":"https://api.github.com/repos/miguelmota/flathub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelmota/flathub/merges","archive_url":"https://api.github.com/repos/miguelmota/flathub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelmota/flathub/downloads","issues_url":"https://api.github.com/repos/miguelmota/flathub/issues{/number}","pulls_url":"https://api.github.com/repos/miguelmota/flathub/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelmota/flathub/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelmota/flathub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelmota/flathub/labels{/name}","releases_url":"https://api.github.com/repos/miguelmota/flathub/releases{/id}","deployments_url":"https://api.github.com/repos/miguelmota/flathub/deployments","created_at":"2018-05-11T08:56:51Z","updated_at":"2018-05-11T08:56:52Z","pushed_at":"2018-05-14T09:50:49Z","git_url":"git://github.com/miguelmota/flathub.git","ssh_url":"git@github.com:miguelmota/flathub.git","clone_url":"https://github.com/miguelmota/flathub.git","svn_url":"https://github.com/miguelmota/flathub","homepage":"https://flathub.org","size":29,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flathub:new-pr","ref":"new-pr","sha":"746ea89cc4ff85ad2dbc05fb47efde23de4062f8","user":{"login":"flathub","id":27268838,"avatar_url":"https://avatars2.githubusercontent.com/u/27268838?v=4","gravatar_id":"","url":"https://api.github.com/users/flathub","html_url":"https://github.com/flathub","followers_url":"https://api.github.com/users/flathub/followers","following_url":"https://api.github.com/users/flathub/following{/other_user}","gists_url":"https://api.github.com/users/flathub/gists{/gist_id}","starred_url":"https://api.github.com/users/flathub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flathub/subscriptions","organizations_url":"https://api.github.com/users/flathub/orgs","repos_url":"https://api.github.com/users/flathub/repos","events_url":"https://api.github.com/users/flathub/events{/privacy}","received_events_url":"https://api.github.com/users/flathub/received_events","type":"Organization","site_admin":false},"repo":{"id":88860262,"name":"flathub","full_name":"flathub/flathub","owner":{"login":"flathub","id":27268838,"avatar_url":"https://avatars2.githubusercontent.com/u/27268838?v=4","gravatar_id":"","url":"https://api.github.com/users/flathub","html_url":"https://github.com/flathub","followers_url":"https://api.github.com/users/flathub/followers","following_url":"https://api.github.com/users/flathub/following{/other_user}","gists_url":"https://api.github.com/users/flathub/gists{/gist_id}","starred_url":"https://api.github.com/users/flathub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flathub/subscriptions","organizations_url":"https://api.github.com/users/flathub/orgs","repos_url":"https://api.github.com/users/flathub/repos","events_url":"https://api.github.com/users/flathub/events{/privacy}","received_events_url":"https://api.github.com/users/flathub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flathub/flathub","description":"Pull requests for new applications to be added","fork":false,"url":"https://api.github.com/repos/flathub/flathub","forks_url":"https://api.github.com/repos/flathub/flathub/forks","keys_url":"https://api.github.com/repos/flathub/flathub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flathub/flathub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flathub/flathub/teams","hooks_url":"https://api.github.com/repos/flathub/flathub/hooks","issue_events_url":"https://api.github.com/repos/flathub/flathub/issues/events{/number}","events_url":"https://api.github.com/repos/flathub/flathub/events","assignees_url":"https://api.github.com/repos/flathub/flathub/assignees{/user}","branches_url":"https://api.github.com/repos/flathub/flathub/branches{/branch}","tags_url":"https://api.github.com/repos/flathub/flathub/tags","blobs_url":"https://api.github.com/repos/flathub/flathub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flathub/flathub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flathub/flathub/git/refs{/sha}","trees_url":"https://api.github.com/repos/flathub/flathub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flathub/flathub/statuses/{sha}","languages_url":"https://api.github.com/repos/flathub/flathub/languages","stargazers_url":"https://api.github.com/repos/flathub/flathub/stargazers","contributors_url":"https://api.github.com/repos/flathub/flathub/contributors","subscribers_url":"https://api.github.com/repos/flathub/flathub/subscribers","subscription_url":"https://api.github.com/repos/flathub/flathub/subscription","commits_url":"https://api.github.com/repos/flathub/flathub/commits{/sha}","git_commits_url":"https://api.github.com/repos/flathub/flathub/git/commits{/sha}","comments_url":"https://api.github.com/repos/flathub/flathub/comments{/number}","issue_comment_url":"https://api.github.com/repos/flathub/flathub/issues/comments{/number}","contents_url":"https://api.github.com/repos/flathub/flathub/contents/{+path}","compare_url":"https://api.github.com/repos/flathub/flathub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flathub/flathub/merges","archive_url":"https://api.github.com/repos/flathub/flathub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flathub/flathub/downloads","issues_url":"https://api.github.com/repos/flathub/flathub/issues{/number}","pulls_url":"https://api.github.com/repos/flathub/flathub/pulls{/number}","milestones_url":"https://api.github.com/repos/flathub/flathub/milestones{/number}","notifications_url":"https://api.github.com/repos/flathub/flathub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flathub/flathub/labels{/name}","releases_url":"https://api.github.com/repos/flathub/flathub/releases{/id}","deployments_url":"https://api.github.com/repos/flathub/flathub/deployments","created_at":"2017-04-20T11:55:49Z","updated_at":"2018-05-14T00:07:10Z","pushed_at":"2018-05-14T09:50:50Z","git_url":"git://github.com/flathub/flathub.git","ssh_url":"git@github.com:flathub/flathub.git","clone_url":"https://github.com/flathub/flathub.git","svn_url":"https://github.com/flathub/flathub","homepage":"https://flathub.org","size":24,"stargazers_count":129,"watchers_count":129,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":132,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":132,"open_issues":67,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flathub/flathub/pulls/387"},"html":{"href":"https://github.com/flathub/flathub/pull/387"},"issue":{"href":"https://api.github.com/repos/flathub/flathub/issues/387"},"comments":{"href":"https://api.github.com/repos/flathub/flathub/issues/387/comments"},"review_comments":{"href":"https://api.github.com/repos/flathub/flathub/pulls/387/comments"},"review_comment":{"href":"https://api.github.com/repos/flathub/flathub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flathub/flathub/pulls/387/commits"},"statuses":{"href":"https://api.github.com/repos/flathub/flathub/statuses/bff0df538d5205f3dd859bbf6d44d3b51f8ff260"}},"author_association":"NONE"}}
{"actor":{"display_login":"miguelmota"}}