{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/18","id":32337194,"html_url":"https://github.com/gjtorikian/repository-sync/pull/18","diff_url":"https://github.com/gjtorikian/repository-sync/pull/18.diff","patch_url":"https://github.com/gjtorikian/repository-sync/pull/18.patch","issue_url":"https://api.github.com/repos/gjtorikian/repository-sync/issues/18","number":18,"state":"open","locked":false,"title":"Change /sync API to allow multiple sync methods","user":{"login":"nuclearsandwich","id":358882,"avatar_url":"https://avatars.githubusercontent.com/u/358882?v=3","gravatar_id":"","url":"https://api.github.com/users/nuclearsandwich","html_url":"https://github.com/nuclearsandwich","followers_url":"https://api.github.com/users/nuclearsandwich/followers","following_url":"https://api.github.com/users/nuclearsandwich/following{/other_user}","gists_url":"https://api.github.com/users/nuclearsandwich/gists{/gist_id}","starred_url":"https://api.github.com/users/nuclearsandwich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuclearsandwich/subscriptions","organizations_url":"https://api.github.com/users/nuclearsandwich/orgs","repos_url":"https://api.github.com/users/nuclearsandwich/repos","events_url":"https://api.github.com/users/nuclearsandwich/events{/privacy}","received_events_url":"https://api.github.com/users/nuclearsandwich/received_events","type":"User","site_admin":true},"body":":warning: WIP do not merge :construction: \r\n\r\nRather than create a plethora of `?squash ?contents_only ?whateverelse`, what if we replaced `?squash` with `?sync_method=squash`?\r\n\r\nThe existing `?squash` parameter could be deprecated but accepted for now. This would be handy for adding a contents only sync that completely ignores the incoming history.","created_at":"2015-03-31T16:00:04Z","updated_at":"2015-03-31T16:00:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/18/commits","review_comments_url":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/18/comments","review_comment_url":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gjtorikian/repository-sync/issues/18/comments","statuses_url":"https://api.github.com/repos/gjtorikian/repository-sync/statuses/8e89d9783a662cc56e3bc696a90d6bf8522fb5dd","head":{"label":"nuclearsandwich:contents-sync","ref":"contents-sync","sha":"8e89d9783a662cc56e3bc696a90d6bf8522fb5dd","user":{"login":"nuclearsandwich","id":358882,"avatar_url":"https://avatars.githubusercontent.com/u/358882?v=3","gravatar_id":"","url":"https://api.github.com/users/nuclearsandwich","html_url":"https://github.com/nuclearsandwich","followers_url":"https://api.github.com/users/nuclearsandwich/followers","following_url":"https://api.github.com/users/nuclearsandwich/following{/other_user}","gists_url":"https://api.github.com/users/nuclearsandwich/gists{/gist_id}","starred_url":"https://api.github.com/users/nuclearsandwich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuclearsandwich/subscriptions","organizations_url":"https://api.github.com/users/nuclearsandwich/orgs","repos_url":"https://api.github.com/users/nuclearsandwich/repos","events_url":"https://api.github.com/users/nuclearsandwich/events{/privacy}","received_events_url":"https://api.github.com/users/nuclearsandwich/received_events","type":"User","site_admin":true},"repo":{"id":33191668,"name":"repository-sync","full_name":"nuclearsandwich/repository-sync","owner":{"login":"nuclearsandwich","id":358882,"avatar_url":"https://avatars.githubusercontent.com/u/358882?v=3","gravatar_id":"","url":"https://api.github.com/users/nuclearsandwich","html_url":"https://github.com/nuclearsandwich","followers_url":"https://api.github.com/users/nuclearsandwich/followers","following_url":"https://api.github.com/users/nuclearsandwich/following{/other_user}","gists_url":"https://api.github.com/users/nuclearsandwich/gists{/gist_id}","starred_url":"https://api.github.com/users/nuclearsandwich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuclearsandwich/subscriptions","organizations_url":"https://api.github.com/users/nuclearsandwich/orgs","repos_url":"https://api.github.com/users/nuclearsandwich/repos","events_url":"https://api.github.com/users/nuclearsandwich/events{/privacy}","received_events_url":"https://api.github.com/users/nuclearsandwich/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/nuclearsandwich/repository-sync","description":"Simple Sinatra server to keep two repositories in sync (not like the band)","fork":true,"url":"https://api.github.com/repos/nuclearsandwich/repository-sync","forks_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/forks","keys_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/teams","hooks_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/hooks","issue_events_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/issues/events{/number}","events_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/events","assignees_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/assignees{/user}","branches_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/branches{/branch}","tags_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/tags","blobs_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/git/refs{/sha}","trees_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/statuses/{sha}","languages_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/languages","stargazers_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/stargazers","contributors_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/contributors","subscribers_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/subscribers","subscription_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/subscription","commits_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/commits{/sha}","git_commits_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/git/commits{/sha}","comments_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/comments{/number}","issue_comment_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/issues/comments{/number}","contents_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/contents/{+path}","compare_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/merges","archive_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/downloads","issues_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/issues{/number}","pulls_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/pulls{/number}","milestones_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/milestones{/number}","notifications_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/labels{/name}","releases_url":"https://api.github.com/repos/nuclearsandwich/repository-sync/releases{/id}","created_at":"2015-03-31T14:57:56Z","updated_at":"2015-03-31T14:57:56Z","pushed_at":"2015-03-31T15:51:42Z","git_url":"git://github.com/nuclearsandwich/repository-sync.git","ssh_url":"git@github.com:nuclearsandwich/repository-sync.git","clone_url":"https://github.com/nuclearsandwich/repository-sync.git","svn_url":"https://github.com/nuclearsandwich/repository-sync","homepage":null,"size":166,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"gjtorikian:master","ref":"master","sha":"a9b2730833c46552c5012bded8cbb678e2aae807","user":{"login":"gjtorikian","id":64050,"avatar_url":"https://avatars.githubusercontent.com/u/64050?v=3","gravatar_id":"","url":"https://api.github.com/users/gjtorikian","html_url":"https://github.com/gjtorikian","followers_url":"https://api.github.com/users/gjtorikian/followers","following_url":"https://api.github.com/users/gjtorikian/following{/other_user}","gists_url":"https://api.github.com/users/gjtorikian/gists{/gist_id}","starred_url":"https://api.github.com/users/gjtorikian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjtorikian/subscriptions","organizations_url":"https://api.github.com/users/gjtorikian/orgs","repos_url":"https://api.github.com/users/gjtorikian/repos","events_url":"https://api.github.com/users/gjtorikian/events{/privacy}","received_events_url":"https://api.github.com/users/gjtorikian/received_events","type":"User","site_admin":true},"repo":{"id":17987352,"name":"repository-sync","full_name":"gjtorikian/repository-sync","owner":{"login":"gjtorikian","id":64050,"avatar_url":"https://avatars.githubusercontent.com/u/64050?v=3","gravatar_id":"","url":"https://api.github.com/users/gjtorikian","html_url":"https://github.com/gjtorikian","followers_url":"https://api.github.com/users/gjtorikian/followers","following_url":"https://api.github.com/users/gjtorikian/following{/other_user}","gists_url":"https://api.github.com/users/gjtorikian/gists{/gist_id}","starred_url":"https://api.github.com/users/gjtorikian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjtorikian/subscriptions","organizations_url":"https://api.github.com/users/gjtorikian/orgs","repos_url":"https://api.github.com/users/gjtorikian/repos","events_url":"https://api.github.com/users/gjtorikian/events{/privacy}","received_events_url":"https://api.github.com/users/gjtorikian/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/gjtorikian/repository-sync","description":"Simple Sinatra server to keep two repositories in sync (not like the band)","fork":false,"url":"https://api.github.com/repos/gjtorikian/repository-sync","forks_url":"https://api.github.com/repos/gjtorikian/repository-sync/forks","keys_url":"https://api.github.com/repos/gjtorikian/repository-sync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gjtorikian/repository-sync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gjtorikian/repository-sync/teams","hooks_url":"https://api.github.com/repos/gjtorikian/repository-sync/hooks","issue_events_url":"https://api.github.com/repos/gjtorikian/repository-sync/issues/events{/number}","events_url":"https://api.github.com/repos/gjtorikian/repository-sync/events","assignees_url":"https://api.github.com/repos/gjtorikian/repository-sync/assignees{/user}","branches_url":"https://api.github.com/repos/gjtorikian/repository-sync/branches{/branch}","tags_url":"https://api.github.com/repos/gjtorikian/repository-sync/tags","blobs_url":"https://api.github.com/repos/gjtorikian/repository-sync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gjtorikian/repository-sync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gjtorikian/repository-sync/git/refs{/sha}","trees_url":"https://api.github.com/repos/gjtorikian/repository-sync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gjtorikian/repository-sync/statuses/{sha}","languages_url":"https://api.github.com/repos/gjtorikian/repository-sync/languages","stargazers_url":"https://api.github.com/repos/gjtorikian/repository-sync/stargazers","contributors_url":"https://api.github.com/repos/gjtorikian/repository-sync/contributors","subscribers_url":"https://api.github.com/repos/gjtorikian/repository-sync/subscribers","subscription_url":"https://api.github.com/repos/gjtorikian/repository-sync/subscription","commits_url":"https://api.github.com/repos/gjtorikian/repository-sync/commits{/sha}","git_commits_url":"https://api.github.com/repos/gjtorikian/repository-sync/git/commits{/sha}","comments_url":"https://api.github.com/repos/gjtorikian/repository-sync/comments{/number}","issue_comment_url":"https://api.github.com/repos/gjtorikian/repository-sync/issues/comments{/number}","contents_url":"https://api.github.com/repos/gjtorikian/repository-sync/contents/{+path}","compare_url":"https://api.github.com/repos/gjtorikian/repository-sync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gjtorikian/repository-sync/merges","archive_url":"https://api.github.com/repos/gjtorikian/repository-sync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gjtorikian/repository-sync/downloads","issues_url":"https://api.github.com/repos/gjtorikian/repository-sync/issues{/number}","pulls_url":"https://api.github.com/repos/gjtorikian/repository-sync/pulls{/number}","milestones_url":"https://api.github.com/repos/gjtorikian/repository-sync/milestones{/number}","notifications_url":"https://api.github.com/repos/gjtorikian/repository-sync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gjtorikian/repository-sync/labels{/name}","releases_url":"https://api.github.com/repos/gjtorikian/repository-sync/releases{/id}","created_at":"2014-03-21T17:03:37Z","updated_at":"2015-03-25T23:27:33Z","pushed_at":"2015-02-12T01:11:24Z","git_url":"git://github.com/gjtorikian/repository-sync.git","ssh_url":"git@github.com:gjtorikian/repository-sync.git","clone_url":"https://github.com/gjtorikian/repository-sync.git","svn_url":"https://github.com/gjtorikian/repository-sync","homepage":null,"size":589,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/18"},"html":{"href":"https://github.com/gjtorikian/repository-sync/pull/18"},"issue":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/issues/18"},"comments":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/gjtorikian/repository-sync/statuses/8e89d9783a662cc56e3bc696a90d6bf8522fb5dd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}