{"action":"created","comment":{"url":"https://api.github.com/repos/hasgeek/funnel/pulls/comments/42225700","id":42225700,"diff_hunk":"@@ -0,0 +1,23 @@\n+\"\"\"add title index to event and ticket type\n+\n+Revision ID: 416a2f958279\n+Revises: 2d55f804a4ed\n+Create Date: 2015-10-15 21:05:30.649687\n+\n+\"\"\"\n+\n+# revision identifiers, used by Alembic.\n+revision = '416a2f958279'\n+down_revision = '2d55f804a4ed'\n+\n+from alembic import op\n+\n+\n+def upgrade():\n+    op.create_unique_constraint(u'event_proposal_id_title_key', 'event', ['proposal_space_id', 'title'])","path":"alembic/versions/416a2f958279_add_title_index_to_event_and_ticket_type.py","position":17,"original_position":17,"commit_id":"62ec6435142400f37c63b99da49945c59060263f","original_commit_id":"62ec6435142400f37c63b99da49945c59060263f","user":{"login":"jace","id":26695,"avatar_url":"https://avatars.githubusercontent.com/u/26695?v=3","gravatar_id":"","url":"https://api.github.com/users/jace","html_url":"https://github.com/jace","followers_url":"https://api.github.com/users/jace/followers","following_url":"https://api.github.com/users/jace/following{/other_user}","gists_url":"https://api.github.com/users/jace/gists{/gist_id}","starred_url":"https://api.github.com/users/jace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jace/subscriptions","organizations_url":"https://api.github.com/users/jace/orgs","repos_url":"https://api.github.com/users/jace/repos","events_url":"https://api.github.com/users/jace/events{/privacy}","received_events_url":"https://api.github.com/users/jace/received_events","type":"User","site_admin":false},"body":"Constraint should be named `event_proposal_space_id_title_key`","created_at":"2015-10-16T09:47:21Z","updated_at":"2015-10-16T09:47:21Z","html_url":"https://github.com/hasgeek/funnel/pull/143#discussion_r42225700","pull_request_url":"https://api.github.com/repos/hasgeek/funnel/pulls/143","_links":{"self":{"href":"https://api.github.com/repos/hasgeek/funnel/pulls/comments/42225700"},"html":{"href":"https://github.com/hasgeek/funnel/pull/143#discussion_r42225700"},"pull_request":{"href":"https://api.github.com/repos/hasgeek/funnel/pulls/143"}}},"pull_request":{"url":"https://api.github.com/repos/hasgeek/funnel/pulls/143","id":47403448,"html_url":"https://github.com/hasgeek/funnel/pull/143","diff_url":"https://github.com/hasgeek/funnel/pull/143.diff","patch_url":"https://github.com/hasgeek/funnel/pull/143.patch","issue_url":"https://api.github.com/repos/hasgeek/funnel/issues/143","number":143,"state":"open","locked":false,"title":"Import tickets","user":{"login":"shreyas-satish","id":380688,"avatar_url":"https://avatars.githubusercontent.com/u/380688?v=3","gravatar_id":"","url":"https://api.github.com/users/shreyas-satish","html_url":"https://github.com/shreyas-satish","followers_url":"https://api.github.com/users/shreyas-satish/followers","following_url":"https://api.github.com/users/shreyas-satish/following{/other_user}","gists_url":"https://api.github.com/users/shreyas-satish/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyas-satish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyas-satish/subscriptions","organizations_url":"https://api.github.com/users/shreyas-satish/orgs","repos_url":"https://api.github.com/users/shreyas-satish/repos","events_url":"https://api.github.com/users/shreyas-satish/events{/privacy}","received_events_url":"https://api.github.com/users/shreyas-satish/received_events","type":"User","site_admin":false},"body":"1. Added `get` and `upsert` in `Participant` and `SyncTicket`, and a few other helper methods to enable import.\r\n2. Added an interface that imports and massages data from Explara's API.\r\n3. Added `import_from_list` in `TicketClient` to import tickets. Tests in `tests/test_event_models.py`.","created_at":"2015-10-12T10:14:16Z","updated_at":"2015-10-16T09:47:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"589b3e67fa378382d4c0c96b9849e2e5f828bf85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hasgeek/funnel/pulls/143/commits","review_comments_url":"https://api.github.com/repos/hasgeek/funnel/pulls/143/comments","review_comment_url":"https://api.github.com/repos/hasgeek/funnel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hasgeek/funnel/issues/143/comments","statuses_url":"https://api.github.com/repos/hasgeek/funnel/statuses/62ec6435142400f37c63b99da49945c59060263f","head":{"label":"hasgeek:import_tickets","ref":"import_tickets","sha":"62ec6435142400f37c63b99da49945c59060263f","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":1838760,"name":"funnel","full_name":"hasgeek/funnel","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/funnel","description":"HasGeek Talkfunnel","fork":false,"url":"https://api.github.com/repos/hasgeek/funnel","forks_url":"https://api.github.com/repos/hasgeek/funnel/forks","keys_url":"https://api.github.com/repos/hasgeek/funnel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/funnel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/funnel/teams","hooks_url":"https://api.github.com/repos/hasgeek/funnel/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/funnel/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/funnel/events","assignees_url":"https://api.github.com/repos/hasgeek/funnel/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/funnel/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/funnel/tags","blobs_url":"https://api.github.com/repos/hasgeek/funnel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/funnel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/funnel/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/funnel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/funnel/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/funnel/languages","stargazers_url":"https://api.github.com/repos/hasgeek/funnel/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/funnel/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/funnel/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/funnel/subscription","commits_url":"https://api.github.com/repos/hasgeek/funnel/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/funnel/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/funnel/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/funnel/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/funnel/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/funnel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/funnel/merges","archive_url":"https://api.github.com/repos/hasgeek/funnel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/funnel/downloads","issues_url":"https://api.github.com/repos/hasgeek/funnel/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/funnel/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/funnel/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/funnel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/funnel/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/funnel/releases{/id}","created_at":"2011-06-02T18:48:00Z","updated_at":"2015-10-14T18:14:03Z","pushed_at":"2015-10-16T08:35:31Z","git_url":"git://github.com/hasgeek/funnel.git","ssh_url":"git@github.com:hasgeek/funnel.git","clone_url":"https://github.com/hasgeek/funnel.git","svn_url":"https://github.com/hasgeek/funnel","homepage":"https://talkfunnel.com/","size":3741,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":49,"forks":35,"open_issues":49,"watchers":26,"default_branch":"master"}},"base":{"label":"hasgeek:master","ref":"master","sha":"91bf9d1d4e0b20171de00abb1c46a70c2dbf46e2","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":1838760,"name":"funnel","full_name":"hasgeek/funnel","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/funnel","description":"HasGeek Talkfunnel","fork":false,"url":"https://api.github.com/repos/hasgeek/funnel","forks_url":"https://api.github.com/repos/hasgeek/funnel/forks","keys_url":"https://api.github.com/repos/hasgeek/funnel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/funnel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/funnel/teams","hooks_url":"https://api.github.com/repos/hasgeek/funnel/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/funnel/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/funnel/events","assignees_url":"https://api.github.com/repos/hasgeek/funnel/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/funnel/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/funnel/tags","blobs_url":"https://api.github.com/repos/hasgeek/funnel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/funnel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/funnel/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/funnel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/funnel/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/funnel/languages","stargazers_url":"https://api.github.com/repos/hasgeek/funnel/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/funnel/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/funnel/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/funnel/subscription","commits_url":"https://api.github.com/repos/hasgeek/funnel/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/funnel/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/funnel/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/funnel/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/funnel/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/funnel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/funnel/merges","archive_url":"https://api.github.com/repos/hasgeek/funnel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/funnel/downloads","issues_url":"https://api.github.com/repos/hasgeek/funnel/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/funnel/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/funnel/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/funnel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/funnel/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/funnel/releases{/id}","created_at":"2011-06-02T18:48:00Z","updated_at":"2015-10-14T18:14:03Z","pushed_at":"2015-10-16T08:35:31Z","git_url":"git://github.com/hasgeek/funnel.git","ssh_url":"git@github.com:hasgeek/funnel.git","clone_url":"https://github.com/hasgeek/funnel.git","svn_url":"https://github.com/hasgeek/funnel","homepage":"https://talkfunnel.com/","size":3741,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":49,"forks":35,"open_issues":49,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hasgeek/funnel/pulls/143"},"html":{"href":"https://github.com/hasgeek/funnel/pull/143"},"issue":{"href":"https://api.github.com/repos/hasgeek/funnel/issues/143"},"comments":{"href":"https://api.github.com/repos/hasgeek/funnel/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/hasgeek/funnel/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/hasgeek/funnel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hasgeek/funnel/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/hasgeek/funnel/statuses/62ec6435142400f37c63b99da49945c59060263f"}}}}