{"action":"created","issue":{"url":"https://api.github.com/repos/benbalter/wordpress-github-sync/issues/42","labels_url":"https://api.github.com/repos/benbalter/wordpress-github-sync/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/benbalter/wordpress-github-sync/issues/42/comments","events_url":"https://api.github.com/repos/benbalter/wordpress-github-sync/issues/42/events","html_url":"https://github.com/benbalter/wordpress-github-sync/pull/42","id":54800108,"number":42,"title":"[Needs Testing] Switch to using git data api","user":{"login":"mAAdhaTTah","id":4371429,"avatar_url":"https://avatars.githubusercontent.com/u/4371429?v=3","gravatar_id":"","url":"https://api.github.com/users/mAAdhaTTah","html_url":"https://github.com/mAAdhaTTah","followers_url":"https://api.github.com/users/mAAdhaTTah/followers","following_url":"https://api.github.com/users/mAAdhaTTah/following{/other_user}","gists_url":"https://api.github.com/users/mAAdhaTTah/gists{/gist_id}","starred_url":"https://api.github.com/users/mAAdhaTTah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mAAdhaTTah/subscriptions","organizations_url":"https://api.github.com/users/mAAdhaTTah/orgs","repos_url":"https://api.github.com/users/mAAdhaTTah/repos","events_url":"https://api.github.com/users/mAAdhaTTah/events{/privacy}","received_events_url":"https://api.github.com/users/mAAdhaTTah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benbalter/wordpress-github-sync/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-01-19T19:00:11Z","updated_at":"2015-03-02T14:27:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/benbalter/wordpress-github-sync/pulls/42","html_url":"https://github.com/benbalter/wordpress-github-sync/pull/42","diff_url":"https://github.com/benbalter/wordpress-github-sync/pull/42.diff","patch_url":"https://github.com/benbalter/wordpress-github-sync/pull/42.patch"},"body":"This is going to be a big change, so we should test this thoroughly before merging. It's also definitely going to be backwards breaking.\r\n\r\n* [x] Export full site as single commit\r\n* [x] Export full site via WP_CLI command\r\n* [x] Export individual updates/deletes via Git data instead of Content API\r\n* [x] Import Webhook payloads via Git data API\r\n  * [x] Fixes #18\r\n  * [x] Fixes #15 (skips all files w/o front matter)\r\n* [x] Wire up import button and WP-CLI import command\r\n* [x] Improve error handling when calling the API\r\n* [x] Fix #3\r\n* [x] Fix #11\r\n* [x] Fix #23 (Maybe?)"},"comment":{"url":"https://api.github.com/repos/benbalter/wordpress-github-sync/issues/comments/76719949","html_url":"https://github.com/benbalter/wordpress-github-sync/pull/42#issuecomment-76719949","issue_url":"https://api.github.com/repos/benbalter/wordpress-github-sync/issues/42","id":76719949,"user":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"created_at":"2015-03-02T14:27:02Z","updated_at":"2015-03-02T14:27:02Z","body":"> It looks like there would be a lot of extra code to get around a corner case we can just direct the user around manually instead.\r\n\r\nNice catch. Makes sense to me. :+1: to merge whenever you're comfortable with where things are."}}