{"action":"created","comment":{"url":"https://api.github.com/repos/datamade/django-councilmatic/pulls/comments/177791185","pull_request_review_id":107729445,"id":177791185,"diff_hunk":"@@ -974,7 +974,8 @@ def insert_raw_bills(self, delete=False):\n             else:\n                 raise Exception(bill_info['classification'])\n \n-            slug = slugify(bill_info['identifier'])","path":"councilmatic_core/management/commands/import_data.py","position":4,"original_position":4,"commit_id":"ef80a48caac349ad3f007e21488923bd81d259ee","original_commit_id":"ef80a48caac349ad3f007e21488923bd81d259ee","user":{"login":"fgregg","id":536941,"avatar_url":"https://avatars0.githubusercontent.com/u/536941?v=4","gravatar_id":"","url":"https://api.github.com/users/fgregg","html_url":"https://github.com/fgregg","followers_url":"https://api.github.com/users/fgregg/followers","following_url":"https://api.github.com/users/fgregg/following{/other_user}","gists_url":"https://api.github.com/users/fgregg/gists{/gist_id}","starred_url":"https://api.github.com/users/fgregg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgregg/subscriptions","organizations_url":"https://api.github.com/users/fgregg/orgs","repos_url":"https://api.github.com/users/fgregg/repos","events_url":"https://api.github.com/users/fgregg/events{/privacy}","received_events_url":"https://api.github.com/users/fgregg/received_events","type":"User","site_admin":false},"body":"This seems like a pretty disruptive change to all the other councilmatics. Why can't we have this be something that we can set in settings.py file?","created_at":"2018-03-28T15:29:03Z","updated_at":"2018-03-28T15:29:08Z","html_url":"https://github.com/datamade/django-councilmatic/pull/194#discussion_r177791185","pull_request_url":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/datamade/django-councilmatic/pulls/comments/177791185"},"html":{"href":"https://github.com/datamade/django-councilmatic/pull/194#discussion_r177791185"},"pull_request":{"href":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194","id":178039840,"html_url":"https://github.com/datamade/django-councilmatic/pull/194","diff_url":"https://github.com/datamade/django-councilmatic/pull/194.diff","patch_url":"https://github.com/datamade/django-councilmatic/pull/194.patch","issue_url":"https://api.github.com/repos/datamade/django-councilmatic/issues/194","number":194,"state":"open","locked":false,"title":"Append jurisdiction name to bill slugs","user":{"login":"evz","id":551491,"avatar_url":"https://avatars1.githubusercontent.com/u/551491?v=4","gravatar_id":"","url":"https://api.github.com/users/evz","html_url":"https://github.com/evz","followers_url":"https://api.github.com/users/evz/followers","following_url":"https://api.github.com/users/evz/following{/other_user}","gists_url":"https://api.github.com/users/evz/gists{/gist_id}","starred_url":"https://api.github.com/users/evz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evz/subscriptions","organizations_url":"https://api.github.com/users/evz/orgs","repos_url":"https://api.github.com/users/evz/repos","events_url":"https://api.github.com/users/evz/events{/privacy}","received_events_url":"https://api.github.com/users/evz/received_events","type":"User","site_admin":false},"body":"It turns out that when you have more than one jurisdiction, that doesn't necessarily mean that the bill identifiers are globally unique. This PR appends a slugified version of the jurisdiction name that is extracted from the OCD division identifier for the jurisdiction and adds it into the slug so that the bill identifiers only need to be unique within a given jurisdiction in order for the slugs to be unique.  ","created_at":"2018-03-28T13:32:26Z","updated_at":"2018-03-28T15:29:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfc62224211a7d2d23ef0f5b295182a2739569a6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194/commits","review_comments_url":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194/comments","review_comment_url":"https://api.github.com/repos/datamade/django-councilmatic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datamade/django-councilmatic/issues/194/comments","statuses_url":"https://api.github.com/repos/datamade/django-councilmatic/statuses/ef80a48caac349ad3f007e21488923bd81d259ee","head":{"label":"datamade:unique-slugs","ref":"unique-slugs","sha":"ef80a48caac349ad3f007e21488923bd81d259ee","user":{"login":"datamade","id":3723931,"avatar_url":"https://avatars3.githubusercontent.com/u/3723931?v=4","gravatar_id":"","url":"https://api.github.com/users/datamade","html_url":"https://github.com/datamade","followers_url":"https://api.github.com/users/datamade/followers","following_url":"https://api.github.com/users/datamade/following{/other_user}","gists_url":"https://api.github.com/users/datamade/gists{/gist_id}","starred_url":"https://api.github.com/users/datamade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamade/subscriptions","organizations_url":"https://api.github.com/users/datamade/orgs","repos_url":"https://api.github.com/users/datamade/repos","events_url":"https://api.github.com/users/datamade/events{/privacy}","received_events_url":"https://api.github.com/users/datamade/received_events","type":"Organization","site_admin":false},"repo":{"id":43980639,"name":"django-councilmatic","full_name":"datamade/django-councilmatic","owner":{"login":"datamade","id":3723931,"avatar_url":"https://avatars3.githubusercontent.com/u/3723931?v=4","gravatar_id":"","url":"https://api.github.com/users/datamade","html_url":"https://github.com/datamade","followers_url":"https://api.github.com/users/datamade/followers","following_url":"https://api.github.com/users/datamade/following{/other_user}","gists_url":"https://api.github.com/users/datamade/gists{/gist_id}","starred_url":"https://api.github.com/users/datamade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamade/subscriptions","organizations_url":"https://api.github.com/users/datamade/orgs","repos_url":"https://api.github.com/users/datamade/repos","events_url":"https://api.github.com/users/datamade/events{/privacy}","received_events_url":"https://api.github.com/users/datamade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datamade/django-councilmatic","description":":heartpulse: Django app providing core functions for *.councilmatic.org","fork":false,"url":"https://api.github.com/repos/datamade/django-councilmatic","forks_url":"https://api.github.com/repos/datamade/django-councilmatic/forks","keys_url":"https://api.github.com/repos/datamade/django-councilmatic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datamade/django-councilmatic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datamade/django-councilmatic/teams","hooks_url":"https://api.github.com/repos/datamade/django-councilmatic/hooks","issue_events_url":"https://api.github.com/repos/datamade/django-councilmatic/issues/events{/number}","events_url":"https://api.github.com/repos/datamade/django-councilmatic/events","assignees_url":"https://api.github.com/repos/datamade/django-councilmatic/assignees{/user}","branches_url":"https://api.github.com/repos/datamade/django-councilmatic/branches{/branch}","tags_url":"https://api.github.com/repos/datamade/django-councilmatic/tags","blobs_url":"https://api.github.com/repos/datamade/django-councilmatic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datamade/django-councilmatic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datamade/django-councilmatic/git/refs{/sha}","trees_url":"https://api.github.com/repos/datamade/django-councilmatic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datamade/django-councilmatic/statuses/{sha}","languages_url":"https://api.github.com/repos/datamade/django-councilmatic/languages","stargazers_url":"https://api.github.com/repos/datamade/django-councilmatic/stargazers","contributors_url":"https://api.github.com/repos/datamade/django-councilmatic/contributors","subscribers_url":"https://api.github.com/repos/datamade/django-councilmatic/subscribers","subscription_url":"https://api.github.com/repos/datamade/django-councilmatic/subscription","commits_url":"https://api.github.com/repos/datamade/django-councilmatic/commits{/sha}","git_commits_url":"https://api.github.com/repos/datamade/django-councilmatic/git/commits{/sha}","comments_url":"https://api.github.com/repos/datamade/django-councilmatic/comments{/number}","issue_comment_url":"https://api.github.com/repos/datamade/django-councilmatic/issues/comments{/number}","contents_url":"https://api.github.com/repos/datamade/django-councilmatic/contents/{+path}","compare_url":"https://api.github.com/repos/datamade/django-councilmatic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datamade/django-councilmatic/merges","archive_url":"https://api.github.com/repos/datamade/django-councilmatic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datamade/django-councilmatic/downloads","issues_url":"https://api.github.com/repos/datamade/django-councilmatic/issues{/number}","pulls_url":"https://api.github.com/repos/datamade/django-councilmatic/pulls{/number}","milestones_url":"https://api.github.com/repos/datamade/django-councilmatic/milestones{/number}","notifications_url":"https://api.github.com/repos/datamade/django-councilmatic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datamade/django-councilmatic/labels{/name}","releases_url":"https://api.github.com/repos/datamade/django-councilmatic/releases{/id}","deployments_url":"https://api.github.com/repos/datamade/django-councilmatic/deployments","created_at":"2015-10-09T21:18:40Z","updated_at":"2018-03-22T15:09:05Z","pushed_at":"2018-03-28T13:36:25Z","git_url":"git://github.com/datamade/django-councilmatic.git","ssh_url":"git@github.com:datamade/django-councilmatic.git","clone_url":"https://github.com/datamade/django-councilmatic.git","svn_url":"https://github.com/datamade/django-councilmatic","homepage":"http://councilmatic.org","size":11684,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":16,"open_issues":40,"watchers":19,"default_branch":"master"}},"base":{"label":"datamade:master","ref":"master","sha":"a5b4da51da22826ea04fd4b8deb3a8a73d13af28","user":{"login":"datamade","id":3723931,"avatar_url":"https://avatars3.githubusercontent.com/u/3723931?v=4","gravatar_id":"","url":"https://api.github.com/users/datamade","html_url":"https://github.com/datamade","followers_url":"https://api.github.com/users/datamade/followers","following_url":"https://api.github.com/users/datamade/following{/other_user}","gists_url":"https://api.github.com/users/datamade/gists{/gist_id}","starred_url":"https://api.github.com/users/datamade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamade/subscriptions","organizations_url":"https://api.github.com/users/datamade/orgs","repos_url":"https://api.github.com/users/datamade/repos","events_url":"https://api.github.com/users/datamade/events{/privacy}","received_events_url":"https://api.github.com/users/datamade/received_events","type":"Organization","site_admin":false},"repo":{"id":43980639,"name":"django-councilmatic","full_name":"datamade/django-councilmatic","owner":{"login":"datamade","id":3723931,"avatar_url":"https://avatars3.githubusercontent.com/u/3723931?v=4","gravatar_id":"","url":"https://api.github.com/users/datamade","html_url":"https://github.com/datamade","followers_url":"https://api.github.com/users/datamade/followers","following_url":"https://api.github.com/users/datamade/following{/other_user}","gists_url":"https://api.github.com/users/datamade/gists{/gist_id}","starred_url":"https://api.github.com/users/datamade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamade/subscriptions","organizations_url":"https://api.github.com/users/datamade/orgs","repos_url":"https://api.github.com/users/datamade/repos","events_url":"https://api.github.com/users/datamade/events{/privacy}","received_events_url":"https://api.github.com/users/datamade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datamade/django-councilmatic","description":":heartpulse: Django app providing core functions for *.councilmatic.org","fork":false,"url":"https://api.github.com/repos/datamade/django-councilmatic","forks_url":"https://api.github.com/repos/datamade/django-councilmatic/forks","keys_url":"https://api.github.com/repos/datamade/django-councilmatic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datamade/django-councilmatic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datamade/django-councilmatic/teams","hooks_url":"https://api.github.com/repos/datamade/django-councilmatic/hooks","issue_events_url":"https://api.github.com/repos/datamade/django-councilmatic/issues/events{/number}","events_url":"https://api.github.com/repos/datamade/django-councilmatic/events","assignees_url":"https://api.github.com/repos/datamade/django-councilmatic/assignees{/user}","branches_url":"https://api.github.com/repos/datamade/django-councilmatic/branches{/branch}","tags_url":"https://api.github.com/repos/datamade/django-councilmatic/tags","blobs_url":"https://api.github.com/repos/datamade/django-councilmatic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datamade/django-councilmatic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datamade/django-councilmatic/git/refs{/sha}","trees_url":"https://api.github.com/repos/datamade/django-councilmatic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datamade/django-councilmatic/statuses/{sha}","languages_url":"https://api.github.com/repos/datamade/django-councilmatic/languages","stargazers_url":"https://api.github.com/repos/datamade/django-councilmatic/stargazers","contributors_url":"https://api.github.com/repos/datamade/django-councilmatic/contributors","subscribers_url":"https://api.github.com/repos/datamade/django-councilmatic/subscribers","subscription_url":"https://api.github.com/repos/datamade/django-councilmatic/subscription","commits_url":"https://api.github.com/repos/datamade/django-councilmatic/commits{/sha}","git_commits_url":"https://api.github.com/repos/datamade/django-councilmatic/git/commits{/sha}","comments_url":"https://api.github.com/repos/datamade/django-councilmatic/comments{/number}","issue_comment_url":"https://api.github.com/repos/datamade/django-councilmatic/issues/comments{/number}","contents_url":"https://api.github.com/repos/datamade/django-councilmatic/contents/{+path}","compare_url":"https://api.github.com/repos/datamade/django-councilmatic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datamade/django-councilmatic/merges","archive_url":"https://api.github.com/repos/datamade/django-councilmatic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datamade/django-councilmatic/downloads","issues_url":"https://api.github.com/repos/datamade/django-councilmatic/issues{/number}","pulls_url":"https://api.github.com/repos/datamade/django-councilmatic/pulls{/number}","milestones_url":"https://api.github.com/repos/datamade/django-councilmatic/milestones{/number}","notifications_url":"https://api.github.com/repos/datamade/django-councilmatic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datamade/django-councilmatic/labels{/name}","releases_url":"https://api.github.com/repos/datamade/django-councilmatic/releases{/id}","deployments_url":"https://api.github.com/repos/datamade/django-councilmatic/deployments","created_at":"2015-10-09T21:18:40Z","updated_at":"2018-03-22T15:09:05Z","pushed_at":"2018-03-28T13:36:25Z","git_url":"git://github.com/datamade/django-councilmatic.git","ssh_url":"git@github.com:datamade/django-councilmatic.git","clone_url":"https://github.com/datamade/django-councilmatic.git","svn_url":"https://github.com/datamade/django-councilmatic","homepage":"http://councilmatic.org","size":11684,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":16,"open_issues":40,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194"},"html":{"href":"https://github.com/datamade/django-councilmatic/pull/194"},"issue":{"href":"https://api.github.com/repos/datamade/django-councilmatic/issues/194"},"comments":{"href":"https://api.github.com/repos/datamade/django-councilmatic/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/datamade/django-councilmatic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datamade/django-councilmatic/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/datamade/django-councilmatic/statuses/ef80a48caac349ad3f007e21488923bd81d259ee"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"fgregg"}}