{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/chronhq/backend/pulls/6","id":232111064,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTExMDY0","html_url":"https://github.com/chronhq/backend/pull/6","diff_url":"https://github.com/chronhq/backend/pull/6.diff","patch_url":"https://github.com/chronhq/backend/pull/6.patch","issue_url":"https://api.github.com/repos/chronhq/backend/issues/6","number":6,"state":"closed","locked":false,"title":"Political Entity and Relation Models","user":{"login":"whirish","id":6278600,"node_id":"MDQ6VXNlcjYyNzg2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6278600?v=4","gravatar_id":"","url":"https://api.github.com/users/whirish","html_url":"https://github.com/whirish","followers_url":"https://api.github.com/users/whirish/followers","following_url":"https://api.github.com/users/whirish/following{/other_user}","gists_url":"https://api.github.com/users/whirish/gists{/gist_id}","starred_url":"https://api.github.com/users/whirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirish/subscriptions","organizations_url":"https://api.github.com/users/whirish/orgs","repos_url":"https://api.github.com/users/whirish/repos","events_url":"https://api.github.com/users/whirish/events{/privacy}","received_events_url":"https://api.github.com/users/whirish/received_events","type":"User","site_admin":false},"body":"Models:\r\n- [x] Political Entity\r\n- [x] Political Relation [abstract]\r\n   - [x] Direct Political Relation (with `ltree` hierarchy)\r\n   - [x] Indirect Political Relation (with `ltree` hierarchy)\r\n- [x] Group Relation\r\n- [x] Unit tests\r\n\r\nMisc:\r\n- [x] VScode remote `black` integration\r\n- [x] VScode remote `pylint` integration\r\n    * ~~working alone but breaks with the `pylint-django` plugin~~ fixed\r\n\r\nI was hoping I could get a review on the Political Relation models (and most importantly their [ltree implementation](https://github.com/chronhq/backend/tree/wh-models/project/api/sql)) before continuing. Making changes to the SQL constraints requires rebuilding the migrations and significantly more difficult when done in conjunction with migrations for other models.","created_at":"2018-11-19T21:03:58Z","updated_at":"2018-11-30T13:32:58Z","closed_at":"2018-11-30T13:32:58Z","merged_at":"2018-11-30T13:32:58Z","merge_commit_sha":"96f985a443cfb8400b9f0602d187771548d6cad6","assignee":{"login":"whirish","id":6278600,"node_id":"MDQ6VXNlcjYyNzg2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6278600?v=4","gravatar_id":"","url":"https://api.github.com/users/whirish","html_url":"https://github.com/whirish","followers_url":"https://api.github.com/users/whirish/followers","following_url":"https://api.github.com/users/whirish/following{/other_user}","gists_url":"https://api.github.com/users/whirish/gists{/gist_id}","starred_url":"https://api.github.com/users/whirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirish/subscriptions","organizations_url":"https://api.github.com/users/whirish/orgs","repos_url":"https://api.github.com/users/whirish/repos","events_url":"https://api.github.com/users/whirish/events{/privacy}","received_events_url":"https://api.github.com/users/whirish/received_events","type":"User","site_admin":false},"assignees":[{"login":"whirish","id":6278600,"node_id":"MDQ6VXNlcjYyNzg2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6278600?v=4","gravatar_id":"","url":"https://api.github.com/users/whirish","html_url":"https://github.com/whirish","followers_url":"https://api.github.com/users/whirish/followers","following_url":"https://api.github.com/users/whirish/following{/other_user}","gists_url":"https://api.github.com/users/whirish/gists{/gist_id}","starred_url":"https://api.github.com/users/whirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirish/subscriptions","organizations_url":"https://api.github.com/users/whirish/orgs","repos_url":"https://api.github.com/users/whirish/repos","events_url":"https://api.github.com/users/whirish/events{/privacy}","received_events_url":"https://api.github.com/users/whirish/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"MiklerGM","id":61106,"node_id":"MDQ6VXNlcjYxMTA2","avatar_url":"https://avatars2.githubusercontent.com/u/61106?v=4","gravatar_id":"","url":"https://api.github.com/users/MiklerGM","html_url":"https://github.com/MiklerGM","followers_url":"https://api.github.com/users/MiklerGM/followers","following_url":"https://api.github.com/users/MiklerGM/following{/other_user}","gists_url":"https://api.github.com/users/MiklerGM/gists{/gist_id}","starred_url":"https://api.github.com/users/MiklerGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiklerGM/subscriptions","organizations_url":"https://api.github.com/users/MiklerGM/orgs","repos_url":"https://api.github.com/users/MiklerGM/repos","events_url":"https://api.github.com/users/MiklerGM/events{/privacy}","received_events_url":"https://api.github.com/users/MiklerGM/received_events","type":"User","site_admin":false},{"login":"ataalik","id":5862754,"node_id":"MDQ6VXNlcjU4NjI3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5862754?v=4","gravatar_id":"","url":"https://api.github.com/users/ataalik","html_url":"https://github.com/ataalik","followers_url":"https://api.github.com/users/ataalik/followers","following_url":"https://api.github.com/users/ataalik/following{/other_user}","gists_url":"https://api.github.com/users/ataalik/gists{/gist_id}","starred_url":"https://api.github.com/users/ataalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataalik/subscriptions","organizations_url":"https://api.github.com/users/ataalik/orgs","repos_url":"https://api.github.com/users/ataalik/repos","events_url":"https://api.github.com/users/ataalik/events{/privacy}","received_events_url":"https://api.github.com/users/ataalik/received_events","type":"User","site_admin":false},{"login":"v1kun","id":16381832,"node_id":"MDQ6VXNlcjE2MzgxODMy","avatar_url":"https://avatars0.githubusercontent.com/u/16381832?v=4","gravatar_id":"","url":"https://api.github.com/users/v1kun","html_url":"https://github.com/v1kun","followers_url":"https://api.github.com/users/v1kun/followers","following_url":"https://api.github.com/users/v1kun/following{/other_user}","gists_url":"https://api.github.com/users/v1kun/gists{/gist_id}","starred_url":"https://api.github.com/users/v1kun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1kun/subscriptions","organizations_url":"https://api.github.com/users/v1kun/orgs","repos_url":"https://api.github.com/users/v1kun/repos","events_url":"https://api.github.com/users/v1kun/events{/privacy}","received_events_url":"https://api.github.com/users/v1kun/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1127602162,"node_id":"MDU6TGFiZWwxMTI3NjAyMTYy","url":"https://api.github.com/repos/chronhq/backend/labels/A8-looksgood","name":"A8-looksgood","color":"C0E7CC","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/chronhq/backend/pulls/6/commits","review_comments_url":"https://api.github.com/repos/chronhq/backend/pulls/6/comments","review_comment_url":"https://api.github.com/repos/chronhq/backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chronhq/backend/issues/6/comments","statuses_url":"https://api.github.com/repos/chronhq/backend/statuses/1db89b1ef8005b10e23a027855000e42dccb2a41","head":{"label":"chronhq:wh-models","ref":"wh-models","sha":"1db89b1ef8005b10e23a027855000e42dccb2a41","user":{"login":"chronhq","id":44415833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/44415833?v=4","gravatar_id":"","url":"https://api.github.com/users/chronhq","html_url":"https://github.com/chronhq","followers_url":"https://api.github.com/users/chronhq/followers","following_url":"https://api.github.com/users/chronhq/following{/other_user}","gists_url":"https://api.github.com/users/chronhq/gists{/gist_id}","starred_url":"https://api.github.com/users/chronhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronhq/subscriptions","organizations_url":"https://api.github.com/users/chronhq/orgs","repos_url":"https://api.github.com/users/chronhq/repos","events_url":"https://api.github.com/users/chronhq/events{/privacy}","received_events_url":"https://api.github.com/users/chronhq/received_events","type":"Organization","site_admin":false},"repo":{"id":154736827,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MzY4Mjc=","name":"backend","full_name":"chronhq/backend","private":false,"owner":{"login":"chronhq","id":44415833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/44415833?v=4","gravatar_id":"","url":"https://api.github.com/users/chronhq","html_url":"https://github.com/chronhq","followers_url":"https://api.github.com/users/chronhq/followers","following_url":"https://api.github.com/users/chronhq/following{/other_user}","gists_url":"https://api.github.com/users/chronhq/gists{/gist_id}","starred_url":"https://api.github.com/users/chronhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronhq/subscriptions","organizations_url":"https://api.github.com/users/chronhq/orgs","repos_url":"https://api.github.com/users/chronhq/repos","events_url":"https://api.github.com/users/chronhq/events{/privacy}","received_events_url":"https://api.github.com/users/chronhq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/chronhq/backend","description":null,"fork":false,"url":"https://api.github.com/repos/chronhq/backend","forks_url":"https://api.github.com/repos/chronhq/backend/forks","keys_url":"https://api.github.com/repos/chronhq/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chronhq/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chronhq/backend/teams","hooks_url":"https://api.github.com/repos/chronhq/backend/hooks","issue_events_url":"https://api.github.com/repos/chronhq/backend/issues/events{/number}","events_url":"https://api.github.com/repos/chronhq/backend/events","assignees_url":"https://api.github.com/repos/chronhq/backend/assignees{/user}","branches_url":"https://api.github.com/repos/chronhq/backend/branches{/branch}","tags_url":"https://api.github.com/repos/chronhq/backend/tags","blobs_url":"https://api.github.com/repos/chronhq/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chronhq/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chronhq/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/chronhq/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chronhq/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/chronhq/backend/languages","stargazers_url":"https://api.github.com/repos/chronhq/backend/stargazers","contributors_url":"https://api.github.com/repos/chronhq/backend/contributors","subscribers_url":"https://api.github.com/repos/chronhq/backend/subscribers","subscription_url":"https://api.github.com/repos/chronhq/backend/subscription","commits_url":"https://api.github.com/repos/chronhq/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/chronhq/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/chronhq/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/chronhq/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/chronhq/backend/contents/{+path}","compare_url":"https://api.github.com/repos/chronhq/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chronhq/backend/merges","archive_url":"https://api.github.com/repos/chronhq/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chronhq/backend/downloads","issues_url":"https://api.github.com/repos/chronhq/backend/issues{/number}","pulls_url":"https://api.github.com/repos/chronhq/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/chronhq/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/chronhq/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chronhq/backend/labels{/name}","releases_url":"https://api.github.com/repos/chronhq/backend/releases{/id}","deployments_url":"https://api.github.com/repos/chronhq/backend/deployments","created_at":"2018-10-25T20:59:14Z","updated_at":"2018-11-17T20:17:08Z","pushed_at":"2018-11-30T13:32:58Z","git_url":"git://github.com/chronhq/backend.git","ssh_url":"git@github.com:chronhq/backend.git","clone_url":"https://github.com/chronhq/backend.git","svn_url":"https://github.com/chronhq/backend","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"chronhq:master","ref":"master","sha":"b8e5a02ab00eab27812ca5f5088c72fa2603bd13","user":{"login":"chronhq","id":44415833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/44415833?v=4","gravatar_id":"","url":"https://api.github.com/users/chronhq","html_url":"https://github.com/chronhq","followers_url":"https://api.github.com/users/chronhq/followers","following_url":"https://api.github.com/users/chronhq/following{/other_user}","gists_url":"https://api.github.com/users/chronhq/gists{/gist_id}","starred_url":"https://api.github.com/users/chronhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronhq/subscriptions","organizations_url":"https://api.github.com/users/chronhq/orgs","repos_url":"https://api.github.com/users/chronhq/repos","events_url":"https://api.github.com/users/chronhq/events{/privacy}","received_events_url":"https://api.github.com/users/chronhq/received_events","type":"Organization","site_admin":false},"repo":{"id":154736827,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MzY4Mjc=","name":"backend","full_name":"chronhq/backend","private":false,"owner":{"login":"chronhq","id":44415833,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE1ODMz","avatar_url":"https://avatars1.githubusercontent.com/u/44415833?v=4","gravatar_id":"","url":"https://api.github.com/users/chronhq","html_url":"https://github.com/chronhq","followers_url":"https://api.github.com/users/chronhq/followers","following_url":"https://api.github.com/users/chronhq/following{/other_user}","gists_url":"https://api.github.com/users/chronhq/gists{/gist_id}","starred_url":"https://api.github.com/users/chronhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronhq/subscriptions","organizations_url":"https://api.github.com/users/chronhq/orgs","repos_url":"https://api.github.com/users/chronhq/repos","events_url":"https://api.github.com/users/chronhq/events{/privacy}","received_events_url":"https://api.github.com/users/chronhq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/chronhq/backend","description":null,"fork":false,"url":"https://api.github.com/repos/chronhq/backend","forks_url":"https://api.github.com/repos/chronhq/backend/forks","keys_url":"https://api.github.com/repos/chronhq/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chronhq/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chronhq/backend/teams","hooks_url":"https://api.github.com/repos/chronhq/backend/hooks","issue_events_url":"https://api.github.com/repos/chronhq/backend/issues/events{/number}","events_url":"https://api.github.com/repos/chronhq/backend/events","assignees_url":"https://api.github.com/repos/chronhq/backend/assignees{/user}","branches_url":"https://api.github.com/repos/chronhq/backend/branches{/branch}","tags_url":"https://api.github.com/repos/chronhq/backend/tags","blobs_url":"https://api.github.com/repos/chronhq/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chronhq/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chronhq/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/chronhq/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chronhq/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/chronhq/backend/languages","stargazers_url":"https://api.github.com/repos/chronhq/backend/stargazers","contributors_url":"https://api.github.com/repos/chronhq/backend/contributors","subscribers_url":"https://api.github.com/repos/chronhq/backend/subscribers","subscription_url":"https://api.github.com/repos/chronhq/backend/subscription","commits_url":"https://api.github.com/repos/chronhq/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/chronhq/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/chronhq/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/chronhq/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/chronhq/backend/contents/{+path}","compare_url":"https://api.github.com/repos/chronhq/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chronhq/backend/merges","archive_url":"https://api.github.com/repos/chronhq/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chronhq/backend/downloads","issues_url":"https://api.github.com/repos/chronhq/backend/issues{/number}","pulls_url":"https://api.github.com/repos/chronhq/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/chronhq/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/chronhq/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chronhq/backend/labels{/name}","releases_url":"https://api.github.com/repos/chronhq/backend/releases{/id}","deployments_url":"https://api.github.com/repos/chronhq/backend/deployments","created_at":"2018-10-25T20:59:14Z","updated_at":"2018-11-17T20:17:08Z","pushed_at":"2018-11-30T13:32:58Z","git_url":"git://github.com/chronhq/backend.git","ssh_url":"git@github.com:chronhq/backend.git","clone_url":"https://github.com/chronhq/backend.git","svn_url":"https://github.com/chronhq/backend","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chronhq/backend/pulls/6"},"html":{"href":"https://github.com/chronhq/backend/pull/6"},"issue":{"href":"https://api.github.com/repos/chronhq/backend/issues/6"},"comments":{"href":"https://api.github.com/repos/chronhq/backend/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/chronhq/backend/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/chronhq/backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chronhq/backend/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/chronhq/backend/statuses/1db89b1ef8005b10e23a027855000e42dccb2a41"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"amaurymartiny","id":1293565,"node_id":"MDQ6VXNlcjEyOTM1NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1293565?v=4","gravatar_id":"","url":"https://api.github.com/users/amaurymartiny","html_url":"https://github.com/amaurymartiny","followers_url":"https://api.github.com/users/amaurymartiny/followers","following_url":"https://api.github.com/users/amaurymartiny/following{/other_user}","gists_url":"https://api.github.com/users/amaurymartiny/gists{/gist_id}","starred_url":"https://api.github.com/users/amaurymartiny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaurymartiny/subscriptions","organizations_url":"https://api.github.com/users/amaurymartiny/orgs","repos_url":"https://api.github.com/users/amaurymartiny/repos","events_url":"https://api.github.com/users/amaurymartiny/events{/privacy}","received_events_url":"https://api.github.com/users/amaurymartiny/received_events","type":"User","site_admin":false},"comments":4,"review_comments":36,"maintainer_can_modify":false,"commits":25,"additions":1103,"deletions":23,"changed_files":20}}
{"actor":{"display_login":"amaurymartiny"}}