{"action":"closed","number":3319,"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/3319","id":77907143,"html_url":"https://github.com/qgis/QGIS/pull/3319","diff_url":"https://github.com/qgis/QGIS/pull/3319.diff","patch_url":"https://github.com/qgis/QGIS/pull/3319.patch","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/3319","number":3319,"state":"closed","locked":false,"title":"Make API naming more consistent","user":{"login":"nyalldawson","id":1829991,"avatar_url":"https://avatars.githubusercontent.com/u/1829991?v=3","gravatar_id":"","url":"https://api.github.com/users/nyalldawson","html_url":"https://github.com/nyalldawson","followers_url":"https://api.github.com/users/nyalldawson/followers","following_url":"https://api.github.com/users/nyalldawson/following{/other_user}","gists_url":"https://api.github.com/users/nyalldawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nyalldawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyalldawson/subscriptions","organizations_url":"https://api.github.com/users/nyalldawson/orgs","repos_url":"https://api.github.com/users/nyalldawson/repos","events_url":"https://api.github.com/users/nyalldawson/events{/privacy}","received_events_url":"https://api.github.com/users/nyalldawson/received_events","type":"User","site_admin":false},"body":"This PR makes the API more consistent by standardising some capitalization to the Qt style (only first letter uppercase for abbreviations), and by removing some common abbreviations. Specifically:\r\n\r\n- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id\r\n- rename methods with SRS to Crs\r\n- rename methods with abbreviations like \"dest\" to \"destination\"\r\n- rename methods with abbreviations like \"src\" to \"source\"\r\n\r\nWe're kind of all over the place at the moment. Some methods even mix and match, eg QgsCoordinateTransform has setSourceCrs() and setDestCRS(). Predictability in the API is a good thing!\r\n\r\nSee https://github.com/qgis/qgis3.0_api/issues/55 for more discussion","created_at":"2016-07-19T01:57:02Z","updated_at":"2016-07-21T01:32:58Z","closed_at":"2016-07-21T01:32:58Z","merged_at":"2016-07-21T01:32:58Z","merge_commit_sha":"3c544cd4896bd13156a28d9d20735950101929b3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/qgis/QGIS/pulls/3319/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS/pulls/3319/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/3319/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/2685a90397c4cf3038976b029a143e663a52000b","head":{"label":"nyalldawson:consistency","ref":"consistency","sha":"2685a90397c4cf3038976b029a143e663a52000b","user":{"login":"nyalldawson","id":1829991,"avatar_url":"https://avatars.githubusercontent.com/u/1829991?v=3","gravatar_id":"","url":"https://api.github.com/users/nyalldawson","html_url":"https://github.com/nyalldawson","followers_url":"https://api.github.com/users/nyalldawson/followers","following_url":"https://api.github.com/users/nyalldawson/following{/other_user}","gists_url":"https://api.github.com/users/nyalldawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nyalldawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyalldawson/subscriptions","organizations_url":"https://api.github.com/users/nyalldawson/orgs","repos_url":"https://api.github.com/users/nyalldawson/repos","events_url":"https://api.github.com/users/nyalldawson/events{/privacy}","received_events_url":"https://api.github.com/users/nyalldawson/received_events","type":"User","site_admin":false},"repo":{"id":8490349,"name":"QGIS","full_name":"nyalldawson/QGIS","owner":{"login":"nyalldawson","id":1829991,"avatar_url":"https://avatars.githubusercontent.com/u/1829991?v=3","gravatar_id":"","url":"https://api.github.com/users/nyalldawson","html_url":"https://github.com/nyalldawson","followers_url":"https://api.github.com/users/nyalldawson/followers","following_url":"https://api.github.com/users/nyalldawson/following{/other_user}","gists_url":"https://api.github.com/users/nyalldawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nyalldawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyalldawson/subscriptions","organizations_url":"https://api.github.com/users/nyalldawson/orgs","repos_url":"https://api.github.com/users/nyalldawson/repos","events_url":"https://api.github.com/users/nyalldawson/events{/privacy}","received_events_url":"https://api.github.com/users/nyalldawson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nyalldawson/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":true,"url":"https://api.github.com/repos/nyalldawson/QGIS","forks_url":"https://api.github.com/repos/nyalldawson/QGIS/forks","keys_url":"https://api.github.com/repos/nyalldawson/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyalldawson/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyalldawson/QGIS/teams","hooks_url":"https://api.github.com/repos/nyalldawson/QGIS/hooks","issue_events_url":"https://api.github.com/repos/nyalldawson/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/nyalldawson/QGIS/events","assignees_url":"https://api.github.com/repos/nyalldawson/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/nyalldawson/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/nyalldawson/QGIS/tags","blobs_url":"https://api.github.com/repos/nyalldawson/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyalldawson/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyalldawson/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyalldawson/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyalldawson/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/nyalldawson/QGIS/languages","stargazers_url":"https://api.github.com/repos/nyalldawson/QGIS/stargazers","contributors_url":"https://api.github.com/repos/nyalldawson/QGIS/contributors","subscribers_url":"https://api.github.com/repos/nyalldawson/QGIS/subscribers","subscription_url":"https://api.github.com/repos/nyalldawson/QGIS/subscription","commits_url":"https://api.github.com/repos/nyalldawson/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyalldawson/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyalldawson/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyalldawson/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyalldawson/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/nyalldawson/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyalldawson/QGIS/merges","archive_url":"https://api.github.com/repos/nyalldawson/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyalldawson/QGIS/downloads","issues_url":"https://api.github.com/repos/nyalldawson/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/nyalldawson/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/nyalldawson/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/nyalldawson/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyalldawson/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/nyalldawson/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/nyalldawson/QGIS/deployments","created_at":"2013-02-28T23:20:44Z","updated_at":"2016-07-14T20:28:56Z","pushed_at":"2016-07-20T22:41:22Z","git_url":"git://github.com/nyalldawson/QGIS.git","ssh_url":"git@github.com:nyalldawson/QGIS.git","clone_url":"https://github.com/nyalldawson/QGIS.git","svn_url":"https://github.com/nyalldawson/QGIS","homepage":"http://qgis.org","size":1089184,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"qgis:master","ref":"master","sha":"44c8680b00b8ba298baa9604af8880370c6a3e99","user":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"repo":{"id":1690480,"name":"QGIS","full_name":"qgis/QGIS","owner":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qgis/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":false,"url":"https://api.github.com/repos/qgis/QGIS","forks_url":"https://api.github.com/repos/qgis/QGIS/forks","keys_url":"https://api.github.com/repos/qgis/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qgis/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qgis/QGIS/teams","hooks_url":"https://api.github.com/repos/qgis/QGIS/hooks","issue_events_url":"https://api.github.com/repos/qgis/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/qgis/QGIS/events","assignees_url":"https://api.github.com/repos/qgis/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/qgis/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/qgis/QGIS/tags","blobs_url":"https://api.github.com/repos/qgis/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qgis/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qgis/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/qgis/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/qgis/QGIS/languages","stargazers_url":"https://api.github.com/repos/qgis/QGIS/stargazers","contributors_url":"https://api.github.com/repos/qgis/QGIS/contributors","subscribers_url":"https://api.github.com/repos/qgis/QGIS/subscribers","subscription_url":"https://api.github.com/repos/qgis/QGIS/subscription","commits_url":"https://api.github.com/repos/qgis/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/qgis/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/qgis/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/qgis/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/qgis/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/qgis/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qgis/QGIS/merges","archive_url":"https://api.github.com/repos/qgis/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qgis/QGIS/downloads","issues_url":"https://api.github.com/repos/qgis/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/qgis/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/qgis/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/qgis/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qgis/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/qgis/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/qgis/QGIS/deployments","created_at":"2011-05-02T08:06:26Z","updated_at":"2016-07-21T00:33:16Z","pushed_at":"2016-07-21T01:32:58Z","git_url":"git://github.com/qgis/QGIS.git","ssh_url":"git@github.com:qgis/QGIS.git","clone_url":"https://github.com/qgis/QGIS.git","svn_url":"https://github.com/qgis/QGIS","homepage":"http://qgis.org","size":1252665,"stargazers_count":1035,"watchers_count":1035,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":878,"mirror_url":null,"open_issues_count":57,"forks":878,"open_issues":57,"watchers":1035,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/3319"},"html":{"href":"https://github.com/qgis/QGIS/pull/3319"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS/issues/3319"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS/issues/3319/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/3319/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/3319/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS/statuses/2685a90397c4cf3038976b029a143e663a52000b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nyalldawson","id":1829991,"avatar_url":"https://avatars.githubusercontent.com/u/1829991?v=3","gravatar_id":"","url":"https://api.github.com/users/nyalldawson","html_url":"https://github.com/nyalldawson","followers_url":"https://api.github.com/users/nyalldawson/followers","following_url":"https://api.github.com/users/nyalldawson/following{/other_user}","gists_url":"https://api.github.com/users/nyalldawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nyalldawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyalldawson/subscriptions","organizations_url":"https://api.github.com/users/nyalldawson/orgs","repos_url":"https://api.github.com/users/nyalldawson/repos","events_url":"https://api.github.com/users/nyalldawson/events{/privacy}","received_events_url":"https://api.github.com/users/nyalldawson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"commits":2,"additions":1410,"deletions":1214,"changed_files":414}}
{"actor":{"display_login":"nyalldawson"}}