{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/87","id":88320323,"html_url":"https://github.com/mapbox/mapbox-tile-copy/pull/87","diff_url":"https://github.com/mapbox/mapbox-tile-copy/pull/87.diff","patch_url":"https://github.com/mapbox/mapbox-tile-copy/pull/87.patch","issue_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/87","number":87,"state":"open","locked":false,"title":"fail with missing template","user":{"login":"mapsam","id":1943001,"avatar_url":"https://avatars.githubusercontent.com/u/1943001?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsam","html_url":"https://github.com/mapsam","followers_url":"https://api.github.com/users/mapsam/followers","following_url":"https://api.github.com/users/mapsam/following{/other_user}","gists_url":"https://api.github.com/users/mapsam/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsam/subscriptions","organizations_url":"https://api.github.com/users/mapsam/orgs","repos_url":"https://api.github.com/users/mapsam/repos","events_url":"https://api.github.com/users/mapsam/events{/privacy}","received_events_url":"https://api.github.com/users/mapsam/received_events","type":"User","site_admin":false},"body":"Adds a check for `{z}/{x}/{y}` template in the destination string. I added three separate checks for `{z}`, `{x}`, and `{y}` in case someone uses a different style template, like `{z}-{x}-{y}`.\r\n\r\nrefs: #85 \r\n\r\ncc @GretaCB @rclark @who8mycakes ","created_at":"2016-10-06T18:55:25Z","updated_at":"2016-10-06T18:55:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/87/commits","review_comments_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/87/comments","review_comment_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/87/comments","statuses_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/statuses/014b8dab4a5e274ab529dba9143258cc0a58c58a","head":{"label":"mapbox:no-template-no-go","ref":"no-template-no-go","sha":"014b8dab4a5e274ab529dba9143258cc0a58c58a","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":26345697,"name":"mapbox-tile-copy","full_name":"mapbox/mapbox-tile-copy","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-tile-copy","description":"From geodata files to tiles on S3","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-tile-copy","forks_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/deployments","created_at":"2014-11-08T01:18:19Z","updated_at":"2016-09-14T19:50:10Z","pushed_at":"2016-10-06T18:55:25Z","git_url":"git://github.com/mapbox/mapbox-tile-copy.git","ssh_url":"git@github.com:mapbox/mapbox-tile-copy.git","clone_url":"https://github.com/mapbox/mapbox-tile-copy.git","svn_url":"https://github.com/mapbox/mapbox-tile-copy","homepage":null,"size":5456,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":9,"forks":12,"open_issues":9,"watchers":37,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"ec39d5d1ef43e7146143eb26eb7235395e4515b3","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":26345697,"name":"mapbox-tile-copy","full_name":"mapbox/mapbox-tile-copy","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-tile-copy","description":"From geodata files to tiles on S3","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-tile-copy","forks_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-tile-copy/deployments","created_at":"2014-11-08T01:18:19Z","updated_at":"2016-09-14T19:50:10Z","pushed_at":"2016-10-06T18:55:25Z","git_url":"git://github.com/mapbox/mapbox-tile-copy.git","ssh_url":"git@github.com:mapbox/mapbox-tile-copy.git","clone_url":"https://github.com/mapbox/mapbox-tile-copy.git","svn_url":"https://github.com/mapbox/mapbox-tile-copy","homepage":null,"size":5456,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":9,"forks":12,"open_issues":9,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/87"},"html":{"href":"https://github.com/mapbox/mapbox-tile-copy/pull/87"},"issue":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/87"},"comments":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/mapbox-tile-copy/statuses/014b8dab4a5e274ab529dba9143258cc0a58c58a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"mapsam"}}