{"action":"created","comment":{"url":"https://api.github.com/repos/opengisch/projectgenerator/pulls/comments/204448918","pull_request_review_id":139531673,"id":204448918,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDQ0ODkxOA==","diff_hunk":"@@ -48,7 +52,7 @@ def get_first_index_for_layer_type(layer_type, group):\n     return None\n \n \n-def get_suggested_index_for_layer(layer, group):\n+def get_suggested_index_for_layer(layer, group, ignore_node_names=[]):","path":"projectgenerator/utils/qgis_utils.py","position":null,"original_position":25,"commit_id":"5dde4a0c18d900394dadd4fed705d01be6e00a29","original_commit_id":"b7c7c326aa9a91f9df6d9ce40fc5c1b926259d01","user":{"login":"gacarrillor","id":652785,"node_id":"MDQ6VXNlcjY1Mjc4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/652785?v=4","gravatar_id":"","url":"https://api.github.com/users/gacarrillor","html_url":"https://github.com/gacarrillor","followers_url":"https://api.github.com/users/gacarrillor/followers","following_url":"https://api.github.com/users/gacarrillor/following{/other_user}","gists_url":"https://api.github.com/users/gacarrillor/gists{/gist_id}","starred_url":"https://api.github.com/users/gacarrillor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gacarrillor/subscriptions","organizations_url":"https://api.github.com/users/gacarrillor/orgs","repos_url":"https://api.github.com/users/gacarrillor/repos","events_url":"https://api.github.com/users/gacarrillor/events{/privacy}","received_events_url":"https://api.github.com/users/gacarrillor/received_events","type":"User","site_admin":false},"body":"Thanks for the suggestion, should be fixed now.","created_at":"2018-07-23T15:36:00Z","updated_at":"2018-07-23T15:36:00Z","html_url":"https://github.com/opengisch/projectgenerator/pull/226#discussion_r204448918","pull_request_url":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/opengisch/projectgenerator/pulls/comments/204448918"},"html":{"href":"https://github.com/opengisch/projectgenerator/pull/226#discussion_r204448918"},"pull_request":{"href":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226"}},"in_reply_to_id":204436501},"pull_request":{"url":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226","id":202389496,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMzg5NDk2","html_url":"https://github.com/opengisch/projectgenerator/pull/226","diff_url":"https://github.com/opengisch/projectgenerator/pull/226.diff","patch_url":"https://github.com/opengisch/projectgenerator/pull/226.patch","issue_url":"https://api.github.com/repos/opengisch/projectgenerator/issues/226","number":226,"state":"open","locked":false,"title":"Allow ignoring groups (nodes) when ordering new layers ","user":{"login":"gacarrillor","id":652785,"node_id":"MDQ6VXNlcjY1Mjc4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/652785?v=4","gravatar_id":"","url":"https://api.github.com/users/gacarrillor","html_url":"https://github.com/gacarrillor","followers_url":"https://api.github.com/users/gacarrillor/followers","following_url":"https://api.github.com/users/gacarrillor/following{/other_user}","gists_url":"https://api.github.com/users/gacarrillor/gists{/gist_id}","starred_url":"https://api.github.com/users/gacarrillor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gacarrillor/subscriptions","organizations_url":"https://api.github.com/users/gacarrillor/orgs","repos_url":"https://api.github.com/users/gacarrillor/repos","events_url":"https://api.github.com/users/gacarrillor/events{/privacy}","received_events_url":"https://api.github.com/users/gacarrillor/received_events","type":"User","site_admin":false},"body":"This PR makes the ordering of new layers more flexible, e.g., ignoring certain groups that should be always on top, such as a group of topology errors. \r\n\r\nThe introduced parameter is optional, so current users won't see any change in behaviour and also there won't be anything to adjust in other parts of Project Generator.\r\n\r\nFrom the 'Asistente LADM_COL' plugin we pass the group name we would like to ignore when creating the legend and that's all we need.","created_at":"2018-07-18T21:46:35Z","updated_at":"2018-07-23T15:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1c2e6883fa6f1cb24969c438f5af58d2bc86c43","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226/commits","review_comments_url":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226/comments","review_comment_url":"https://api.github.com/repos/opengisch/projectgenerator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opengisch/projectgenerator/issues/226/comments","statuses_url":"https://api.github.com/repos/opengisch/projectgenerator/statuses/5dde4a0c18d900394dadd4fed705d01be6e00a29","head":{"label":"AgenciaImplementacion:ignore_nodes_when_ordering_new_layers","ref":"ignore_nodes_when_ordering_new_layers","sha":"5dde4a0c18d900394dadd4fed705d01be6e00a29","user":{"login":"AgenciaImplementacion","id":26014381,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2MDE0Mzgx","avatar_url":"https://avatars1.githubusercontent.com/u/26014381?v=4","gravatar_id":"","url":"https://api.github.com/users/AgenciaImplementacion","html_url":"https://github.com/AgenciaImplementacion","followers_url":"https://api.github.com/users/AgenciaImplementacion/followers","following_url":"https://api.github.com/users/AgenciaImplementacion/following{/other_user}","gists_url":"https://api.github.com/users/AgenciaImplementacion/gists{/gist_id}","starred_url":"https://api.github.com/users/AgenciaImplementacion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgenciaImplementacion/subscriptions","organizations_url":"https://api.github.com/users/AgenciaImplementacion/orgs","repos_url":"https://api.github.com/users/AgenciaImplementacion/repos","events_url":"https://api.github.com/users/AgenciaImplementacion/events{/privacy}","received_events_url":"https://api.github.com/users/AgenciaImplementacion/received_events","type":"Organization","site_admin":false},"repo":{"id":88545944,"node_id":"MDEwOlJlcG9zaXRvcnk4ODU0NTk0NA==","name":"projectgenerator","full_name":"AgenciaImplementacion/projectgenerator","owner":{"login":"AgenciaImplementacion","id":26014381,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2MDE0Mzgx","avatar_url":"https://avatars1.githubusercontent.com/u/26014381?v=4","gravatar_id":"","url":"https://api.github.com/users/AgenciaImplementacion","html_url":"https://github.com/AgenciaImplementacion","followers_url":"https://api.github.com/users/AgenciaImplementacion/followers","following_url":"https://api.github.com/users/AgenciaImplementacion/following{/other_user}","gists_url":"https://api.github.com/users/AgenciaImplementacion/gists{/gist_id}","starred_url":"https://api.github.com/users/AgenciaImplementacion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgenciaImplementacion/subscriptions","organizations_url":"https://api.github.com/users/AgenciaImplementacion/orgs","repos_url":"https://api.github.com/users/AgenciaImplementacion/repos","events_url":"https://api.github.com/users/AgenciaImplementacion/events{/privacy}","received_events_url":"https://api.github.com/users/AgenciaImplementacion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgenciaImplementacion/projectgenerator","description":null,"fork":true,"url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator","forks_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/forks","keys_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/teams","hooks_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/hooks","issue_events_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/issues/events{/number}","events_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/events","assignees_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/assignees{/user}","branches_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/branches{/branch}","tags_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/tags","blobs_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/languages","stargazers_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/stargazers","contributors_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/contributors","subscribers_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/subscribers","subscription_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/subscription","commits_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/contents/{+path}","compare_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/merges","archive_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/downloads","issues_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/issues{/number}","pulls_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/labels{/name}","releases_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/releases{/id}","deployments_url":"https://api.github.com/repos/AgenciaImplementacion/projectgenerator/deployments","created_at":"2017-04-17T20:05:04Z","updated_at":"2018-07-23T15:23:05Z","pushed_at":"2018-07-23T15:35:18Z","git_url":"git://github.com/AgenciaImplementacion/projectgenerator.git","ssh_url":"git@github.com:AgenciaImplementacion/projectgenerator.git","clone_url":"https://github.com/AgenciaImplementacion/projectgenerator.git","svn_url":"https://github.com/AgenciaImplementacion/projectgenerator","homepage":null,"size":9545,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opengisch:master","ref":"master","sha":"625192051a37772f647aed3d5e1257073927aca3","user":{"login":"opengisch","id":8892251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4OTIyNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/8892251?v=4","gravatar_id":"","url":"https://api.github.com/users/opengisch","html_url":"https://github.com/opengisch","followers_url":"https://api.github.com/users/opengisch/followers","following_url":"https://api.github.com/users/opengisch/following{/other_user}","gists_url":"https://api.github.com/users/opengisch/gists{/gist_id}","starred_url":"https://api.github.com/users/opengisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengisch/subscriptions","organizations_url":"https://api.github.com/users/opengisch/orgs","repos_url":"https://api.github.com/users/opengisch/repos","events_url":"https://api.github.com/users/opengisch/events{/privacy}","received_events_url":"https://api.github.com/users/opengisch/received_events","type":"Organization","site_admin":false},"repo":{"id":77072130,"node_id":"MDEwOlJlcG9zaXRvcnk3NzA3MjEzMA==","name":"projectgenerator","full_name":"opengisch/projectgenerator","owner":{"login":"opengisch","id":8892251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4OTIyNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/8892251?v=4","gravatar_id":"","url":"https://api.github.com/users/opengisch","html_url":"https://github.com/opengisch","followers_url":"https://api.github.com/users/opengisch/followers","following_url":"https://api.github.com/users/opengisch/following{/other_user}","gists_url":"https://api.github.com/users/opengisch/gists{/gist_id}","starred_url":"https://api.github.com/users/opengisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengisch/subscriptions","organizations_url":"https://api.github.com/users/opengisch/orgs","repos_url":"https://api.github.com/users/opengisch/repos","events_url":"https://api.github.com/users/opengisch/events{/privacy}","received_events_url":"https://api.github.com/users/opengisch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opengisch/projectgenerator","description":"Create QGIS projects from database schemas or Interlis models","fork":false,"url":"https://api.github.com/repos/opengisch/projectgenerator","forks_url":"https://api.github.com/repos/opengisch/projectgenerator/forks","keys_url":"https://api.github.com/repos/opengisch/projectgenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opengisch/projectgenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opengisch/projectgenerator/teams","hooks_url":"https://api.github.com/repos/opengisch/projectgenerator/hooks","issue_events_url":"https://api.github.com/repos/opengisch/projectgenerator/issues/events{/number}","events_url":"https://api.github.com/repos/opengisch/projectgenerator/events","assignees_url":"https://api.github.com/repos/opengisch/projectgenerator/assignees{/user}","branches_url":"https://api.github.com/repos/opengisch/projectgenerator/branches{/branch}","tags_url":"https://api.github.com/repos/opengisch/projectgenerator/tags","blobs_url":"https://api.github.com/repos/opengisch/projectgenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opengisch/projectgenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opengisch/projectgenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/opengisch/projectgenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opengisch/projectgenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/opengisch/projectgenerator/languages","stargazers_url":"https://api.github.com/repos/opengisch/projectgenerator/stargazers","contributors_url":"https://api.github.com/repos/opengisch/projectgenerator/contributors","subscribers_url":"https://api.github.com/repos/opengisch/projectgenerator/subscribers","subscription_url":"https://api.github.com/repos/opengisch/projectgenerator/subscription","commits_url":"https://api.github.com/repos/opengisch/projectgenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/opengisch/projectgenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/opengisch/projectgenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/opengisch/projectgenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/opengisch/projectgenerator/contents/{+path}","compare_url":"https://api.github.com/repos/opengisch/projectgenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opengisch/projectgenerator/merges","archive_url":"https://api.github.com/repos/opengisch/projectgenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opengisch/projectgenerator/downloads","issues_url":"https://api.github.com/repos/opengisch/projectgenerator/issues{/number}","pulls_url":"https://api.github.com/repos/opengisch/projectgenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/opengisch/projectgenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/opengisch/projectgenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opengisch/projectgenerator/labels{/name}","releases_url":"https://api.github.com/repos/opengisch/projectgenerator/releases{/id}","deployments_url":"https://api.github.com/repos/opengisch/projectgenerator/deployments","created_at":"2016-12-21T17:23:10Z","updated_at":"2018-07-23T15:23:56Z","pushed_at":"2018-07-23T15:35:19Z","git_url":"git://github.com/opengisch/projectgenerator.git","ssh_url":"git@github.com:opengisch/projectgenerator.git","clone_url":"https://github.com/opengisch/projectgenerator.git","svn_url":"https://github.com/opengisch/projectgenerator","homepage":"","size":11513,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":45,"license":null,"forks":6,"open_issues":45,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226"},"html":{"href":"https://github.com/opengisch/projectgenerator/pull/226"},"issue":{"href":"https://api.github.com/repos/opengisch/projectgenerator/issues/226"},"comments":{"href":"https://api.github.com/repos/opengisch/projectgenerator/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/opengisch/projectgenerator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opengisch/projectgenerator/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/opengisch/projectgenerator/statuses/5dde4a0c18d900394dadd4fed705d01be6e00a29"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gacarrillor"}}