{"action":"created","comment":{"url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/comments/70671713","id":70671713,"diff_hunk":"@@ -0,0 +1,32 @@\n+# jTileDownloader snap\n+\n+This project creates a working snap of\n+[jTileDownloader](http://wiki.openstreetmap.org/wiki/JTileDownloader), a Java\n+app to download OpenStreetMap tiles for offline map caching.\n+\n+Snapping inspired by [uNav's instructions for offline\n+caching](https://unav-go.github.io/offline/).\n+\n+To get this done, we need to do the following:\n+ - use the copy plugin to download and unpack a .zip file into a .jar file\n+ - use a custom launcher to set up the environment variables required for\n+   Java and use `java -tar` to execute the .jar file\n+\n+## Current state\n+\n+Working features:\n+ - Tested in devmode only\n+ - App GUI starts\n+ - Tiles download requests seem to be blocked, but this seems to be an issue\n+   with the app running outside the snap too\n+\n+Known issues:\n+ - Theming does not work.\n+ - The app tries to create an appConfig.xml file upon each start. It would be\n+   nice to instruct it to create it in a writable location.\n+\n+TODO:\n+ - Add a desktop file and icon to launch it from the dash\n+ - Theming support needs improvement, perhaps we need a\n+   desktop launcher for Java apps","path":"jtiledownloader/README.md","position":31,"original_position":31,"commit_id":"eafb53fc3eb7864a3cfd6dc66afc21726fdbf20a","original_commit_id":"eafb53fc3eb7864a3cfd6dc66afc21726fdbf20a","user":{"login":"rednoah","id":1589068,"avatar_url":"https://avatars.githubusercontent.com/u/1589068?v=3","gravatar_id":"","url":"https://api.github.com/users/rednoah","html_url":"https://github.com/rednoah","followers_url":"https://api.github.com/users/rednoah/followers","following_url":"https://api.github.com/users/rednoah/following{/other_user}","gists_url":"https://api.github.com/users/rednoah/gists{/gist_id}","starred_url":"https://api.github.com/users/rednoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rednoah/subscriptions","organizations_url":"https://api.github.com/users/rednoah/orgs","repos_url":"https://api.github.com/users/rednoah/repos","events_url":"https://api.github.com/users/rednoah/events{/privacy}","received_events_url":"https://api.github.com/users/rednoah/received_events","type":"User","site_admin":false},"body":"Standard GTK launcher should be fine (GTK2 for Java 8, GTK3 for Java 9)","created_at":"2016-07-13T17:35:22Z","updated_at":"2016-07-13T17:35:22Z","html_url":"https://github.com/ubuntu/snappy-playpen/pull/170#discussion_r70671713","pull_request_url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/comments/70671713"},"html":{"href":"https://github.com/ubuntu/snappy-playpen/pull/170#discussion_r70671713"},"pull_request":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170","id":77254234,"html_url":"https://github.com/ubuntu/snappy-playpen/pull/170","diff_url":"https://github.com/ubuntu/snappy-playpen/pull/170.diff","patch_url":"https://github.com/ubuntu/snappy-playpen/pull/170.patch","issue_url":"https://api.github.com/repos/ubuntu/snappy-playpen/issues/170","number":170,"state":"open","locked":false,"title":"First cut at jTileDownloader app, an example for snapping .jar files","user":{"login":"dplanella","id":1689781,"avatar_url":"https://avatars.githubusercontent.com/u/1689781?v=3","gravatar_id":"","url":"https://api.github.com/users/dplanella","html_url":"https://github.com/dplanella","followers_url":"https://api.github.com/users/dplanella/followers","following_url":"https://api.github.com/users/dplanella/following{/other_user}","gists_url":"https://api.github.com/users/dplanella/gists{/gist_id}","starred_url":"https://api.github.com/users/dplanella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dplanella/subscriptions","organizations_url":"https://api.github.com/users/dplanella/orgs","repos_url":"https://api.github.com/users/dplanella/repos","events_url":"https://api.github.com/users/dplanella/events{/privacy}","received_events_url":"https://api.github.com/users/dplanella/received_events","type":"User","site_admin":false},"body":"To test:\r\n\r\n```\r\ncd jtiledownloader\r\nsnapcraft\r\nsudo install *.snap --devmode\r\njtiledownloader\r\n```\r\n\r\nFrom then on, when the GUI has loaded, choose **Slippy Map Chooser** to select a map area and follow the instructions at https://unav-go.github.io/offline to download the tiles.\r\n\r\n![jtiledownloader](https://cloud.githubusercontent.com/assets/1689781/16798445/5615ba30-48ec-11e6-9b75-a2c977fdc070.png)\r\n\r\nTODO:\r\n- See [README.md](https://github.com/dplanella/snappy-playpen/blob/eafb53fc3eb7864a3cfd6dc66afc21726fdbf20a/jtiledownloader/README.md)\r\n\r\n\r\n<!-- Reviewable:start -->\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/ubuntu/snappy-playpen/170)\r\n<!-- Reviewable:end -->\r\n","created_at":"2016-07-13T09:09:57Z","updated_at":"2016-07-13T17:35:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a21966f455c8c9a38f6e731b60980f473481c69","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170/commits","review_comments_url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170/comments","review_comment_url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ubuntu/snappy-playpen/issues/170/comments","statuses_url":"https://api.github.com/repos/ubuntu/snappy-playpen/statuses/eafb53fc3eb7864a3cfd6dc66afc21726fdbf20a","head":{"label":"dplanella:jtiledownloader","ref":"jtiledownloader","sha":"eafb53fc3eb7864a3cfd6dc66afc21726fdbf20a","user":{"login":"dplanella","id":1689781,"avatar_url":"https://avatars.githubusercontent.com/u/1689781?v=3","gravatar_id":"","url":"https://api.github.com/users/dplanella","html_url":"https://github.com/dplanella","followers_url":"https://api.github.com/users/dplanella/followers","following_url":"https://api.github.com/users/dplanella/following{/other_user}","gists_url":"https://api.github.com/users/dplanella/gists{/gist_id}","starred_url":"https://api.github.com/users/dplanella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dplanella/subscriptions","organizations_url":"https://api.github.com/users/dplanella/orgs","repos_url":"https://api.github.com/users/dplanella/repos","events_url":"https://api.github.com/users/dplanella/events{/privacy}","received_events_url":"https://api.github.com/users/dplanella/received_events","type":"User","site_admin":false},"repo":{"id":60656043,"name":"snappy-playpen","full_name":"dplanella/snappy-playpen","owner":{"login":"dplanella","id":1689781,"avatar_url":"https://avatars.githubusercontent.com/u/1689781?v=3","gravatar_id":"","url":"https://api.github.com/users/dplanella","html_url":"https://github.com/dplanella","followers_url":"https://api.github.com/users/dplanella/followers","following_url":"https://api.github.com/users/dplanella/following{/other_user}","gists_url":"https://api.github.com/users/dplanella/gists{/gist_id}","starred_url":"https://api.github.com/users/dplanella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dplanella/subscriptions","organizations_url":"https://api.github.com/users/dplanella/orgs","repos_url":"https://api.github.com/users/dplanella/repos","events_url":"https://api.github.com/users/dplanella/events{/privacy}","received_events_url":"https://api.github.com/users/dplanella/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dplanella/snappy-playpen","description":"A place to test, learn creating snaps and share best practices.","fork":true,"url":"https://api.github.com/repos/dplanella/snappy-playpen","forks_url":"https://api.github.com/repos/dplanella/snappy-playpen/forks","keys_url":"https://api.github.com/repos/dplanella/snappy-playpen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dplanella/snappy-playpen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dplanella/snappy-playpen/teams","hooks_url":"https://api.github.com/repos/dplanella/snappy-playpen/hooks","issue_events_url":"https://api.github.com/repos/dplanella/snappy-playpen/issues/events{/number}","events_url":"https://api.github.com/repos/dplanella/snappy-playpen/events","assignees_url":"https://api.github.com/repos/dplanella/snappy-playpen/assignees{/user}","branches_url":"https://api.github.com/repos/dplanella/snappy-playpen/branches{/branch}","tags_url":"https://api.github.com/repos/dplanella/snappy-playpen/tags","blobs_url":"https://api.github.com/repos/dplanella/snappy-playpen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dplanella/snappy-playpen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dplanella/snappy-playpen/git/refs{/sha}","trees_url":"https://api.github.com/repos/dplanella/snappy-playpen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dplanella/snappy-playpen/statuses/{sha}","languages_url":"https://api.github.com/repos/dplanella/snappy-playpen/languages","stargazers_url":"https://api.github.com/repos/dplanella/snappy-playpen/stargazers","contributors_url":"https://api.github.com/repos/dplanella/snappy-playpen/contributors","subscribers_url":"https://api.github.com/repos/dplanella/snappy-playpen/subscribers","subscription_url":"https://api.github.com/repos/dplanella/snappy-playpen/subscription","commits_url":"https://api.github.com/repos/dplanella/snappy-playpen/commits{/sha}","git_commits_url":"https://api.github.com/repos/dplanella/snappy-playpen/git/commits{/sha}","comments_url":"https://api.github.com/repos/dplanella/snappy-playpen/comments{/number}","issue_comment_url":"https://api.github.com/repos/dplanella/snappy-playpen/issues/comments{/number}","contents_url":"https://api.github.com/repos/dplanella/snappy-playpen/contents/{+path}","compare_url":"https://api.github.com/repos/dplanella/snappy-playpen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dplanella/snappy-playpen/merges","archive_url":"https://api.github.com/repos/dplanella/snappy-playpen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dplanella/snappy-playpen/downloads","issues_url":"https://api.github.com/repos/dplanella/snappy-playpen/issues{/number}","pulls_url":"https://api.github.com/repos/dplanella/snappy-playpen/pulls{/number}","milestones_url":"https://api.github.com/repos/dplanella/snappy-playpen/milestones{/number}","notifications_url":"https://api.github.com/repos/dplanella/snappy-playpen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dplanella/snappy-playpen/labels{/name}","releases_url":"https://api.github.com/repos/dplanella/snappy-playpen/releases{/id}","deployments_url":"https://api.github.com/repos/dplanella/snappy-playpen/deployments","created_at":"2016-06-08T00:29:35Z","updated_at":"2016-06-14T11:51:14Z","pushed_at":"2016-07-13T09:09:09Z","git_url":"git://github.com/dplanella/snappy-playpen.git","ssh_url":"git@github.com:dplanella/snappy-playpen.git","clone_url":"https://github.com/dplanella/snappy-playpen.git","svn_url":"https://github.com/dplanella/snappy-playpen","homepage":"http://developer.ubuntu.com/desktop","size":4499,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"ubuntu:master","ref":"master","sha":"ae5198d5656d34c583a376aefb79f1fd26cfb676","user":{"login":"ubuntu","id":4604537,"avatar_url":"https://avatars.githubusercontent.com/u/4604537?v=3","gravatar_id":"","url":"https://api.github.com/users/ubuntu","html_url":"https://github.com/ubuntu","followers_url":"https://api.github.com/users/ubuntu/followers","following_url":"https://api.github.com/users/ubuntu/following{/other_user}","gists_url":"https://api.github.com/users/ubuntu/gists{/gist_id}","starred_url":"https://api.github.com/users/ubuntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubuntu/subscriptions","organizations_url":"https://api.github.com/users/ubuntu/orgs","repos_url":"https://api.github.com/users/ubuntu/repos","events_url":"https://api.github.com/users/ubuntu/events{/privacy}","received_events_url":"https://api.github.com/users/ubuntu/received_events","type":"Organization","site_admin":false},"repo":{"id":59051763,"name":"snappy-playpen","full_name":"ubuntu/snappy-playpen","owner":{"login":"ubuntu","id":4604537,"avatar_url":"https://avatars.githubusercontent.com/u/4604537?v=3","gravatar_id":"","url":"https://api.github.com/users/ubuntu","html_url":"https://github.com/ubuntu","followers_url":"https://api.github.com/users/ubuntu/followers","following_url":"https://api.github.com/users/ubuntu/following{/other_user}","gists_url":"https://api.github.com/users/ubuntu/gists{/gist_id}","starred_url":"https://api.github.com/users/ubuntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubuntu/subscriptions","organizations_url":"https://api.github.com/users/ubuntu/orgs","repos_url":"https://api.github.com/users/ubuntu/repos","events_url":"https://api.github.com/users/ubuntu/events{/privacy}","received_events_url":"https://api.github.com/users/ubuntu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ubuntu/snappy-playpen","description":"A place to test, learn creating snaps and share best practices.","fork":false,"url":"https://api.github.com/repos/ubuntu/snappy-playpen","forks_url":"https://api.github.com/repos/ubuntu/snappy-playpen/forks","keys_url":"https://api.github.com/repos/ubuntu/snappy-playpen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ubuntu/snappy-playpen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ubuntu/snappy-playpen/teams","hooks_url":"https://api.github.com/repos/ubuntu/snappy-playpen/hooks","issue_events_url":"https://api.github.com/repos/ubuntu/snappy-playpen/issues/events{/number}","events_url":"https://api.github.com/repos/ubuntu/snappy-playpen/events","assignees_url":"https://api.github.com/repos/ubuntu/snappy-playpen/assignees{/user}","branches_url":"https://api.github.com/repos/ubuntu/snappy-playpen/branches{/branch}","tags_url":"https://api.github.com/repos/ubuntu/snappy-playpen/tags","blobs_url":"https://api.github.com/repos/ubuntu/snappy-playpen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ubuntu/snappy-playpen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ubuntu/snappy-playpen/git/refs{/sha}","trees_url":"https://api.github.com/repos/ubuntu/snappy-playpen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ubuntu/snappy-playpen/statuses/{sha}","languages_url":"https://api.github.com/repos/ubuntu/snappy-playpen/languages","stargazers_url":"https://api.github.com/repos/ubuntu/snappy-playpen/stargazers","contributors_url":"https://api.github.com/repos/ubuntu/snappy-playpen/contributors","subscribers_url":"https://api.github.com/repos/ubuntu/snappy-playpen/subscribers","subscription_url":"https://api.github.com/repos/ubuntu/snappy-playpen/subscription","commits_url":"https://api.github.com/repos/ubuntu/snappy-playpen/commits{/sha}","git_commits_url":"https://api.github.com/repos/ubuntu/snappy-playpen/git/commits{/sha}","comments_url":"https://api.github.com/repos/ubuntu/snappy-playpen/comments{/number}","issue_comment_url":"https://api.github.com/repos/ubuntu/snappy-playpen/issues/comments{/number}","contents_url":"https://api.github.com/repos/ubuntu/snappy-playpen/contents/{+path}","compare_url":"https://api.github.com/repos/ubuntu/snappy-playpen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ubuntu/snappy-playpen/merges","archive_url":"https://api.github.com/repos/ubuntu/snappy-playpen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ubuntu/snappy-playpen/downloads","issues_url":"https://api.github.com/repos/ubuntu/snappy-playpen/issues{/number}","pulls_url":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls{/number}","milestones_url":"https://api.github.com/repos/ubuntu/snappy-playpen/milestones{/number}","notifications_url":"https://api.github.com/repos/ubuntu/snappy-playpen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ubuntu/snappy-playpen/labels{/name}","releases_url":"https://api.github.com/repos/ubuntu/snappy-playpen/releases{/id}","deployments_url":"https://api.github.com/repos/ubuntu/snappy-playpen/deployments","created_at":"2016-05-17T19:18:59Z","updated_at":"2016-07-13T11:57:32Z","pushed_at":"2016-07-13T15:51:07Z","git_url":"git://github.com/ubuntu/snappy-playpen.git","ssh_url":"git@github.com:ubuntu/snappy-playpen.git","clone_url":"https://github.com/ubuntu/snappy-playpen.git","svn_url":"https://github.com/ubuntu/snappy-playpen","homepage":"http://developer.ubuntu.com/desktop","size":264736,"stargazers_count":87,"watchers_count":87,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":36,"forks":35,"open_issues":36,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170"},"html":{"href":"https://github.com/ubuntu/snappy-playpen/pull/170"},"issue":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/issues/170"},"comments":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/ubuntu/snappy-playpen/statuses/eafb53fc3eb7864a3cfd6dc66afc21726fdbf20a"}}}}
{"actor":{"display_login":"rednoah"}}