{"action":"created","comment":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/comments/221114631","pull_request_review_id":159686391,"id":221114631,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTExNDYzMQ==","diff_hunk":"@@ -13061,6 +13062,12 @@ void QgisApp::zoomToBookmarkIndex( const QModelIndex &index )\n   mBookMarksDockWidget->zoomToBookmarkIndex( index );\n }\n \n+void QgisApp::takeAppScreenShots( const QString &saveDirectory, const int categories )\n+{\n+  QgsAppScreenShots ass( saveDirectory );\n+  ass.takeScreenshots( QgsAppScreenShots::Categories( categories ) );","path":"src/app/qgisapp.cpp","position":15,"original_position":15,"commit_id":"a37efb951702333e677c1a9f716a850513d690d5","original_commit_id":"a37efb951702333e677c1a9f716a850513d690d5","user":{"login":"nyalldawson","id":1829991,"node_id":"MDQ6VXNlcjE4Mjk5OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1829991?v=4","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":"Can you rename \"takeScreenshots\" to \"takePicturesOf\" ? ;)","created_at":"2018-09-28T00:28:32Z","updated_at":"2018-09-28T00:28:36Z","html_url":"https://github.com/qgis/QGIS/pull/8041#discussion_r221114631","pull_request_url":"https://api.github.com/repos/qgis/QGIS/pulls/8041","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments/221114631"},"html":{"href":"https://github.com/qgis/QGIS/pull/8041#discussion_r221114631"},"pull_request":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8041"}}},"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/8041","id":218696069,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4Njk2MDY5","html_url":"https://github.com/qgis/QGIS/pull/8041","diff_url":"https://github.com/qgis/QGIS/pull/8041.diff","patch_url":"https://github.com/qgis/QGIS/pull/8041.patch","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/8041","number":8041,"state":"open","locked":false,"title":"Automatic creation of screenshots for user documentation","user":{"login":"3nids","id":127259,"node_id":"MDQ6VXNlcjEyNzI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/127259?v=4","gravatar_id":"","url":"https://api.github.com/users/3nids","html_url":"https://github.com/3nids","followers_url":"https://api.github.com/users/3nids/followers","following_url":"https://api.github.com/users/3nids/following{/other_user}","gists_url":"https://api.github.com/users/3nids/gists{/gist_id}","starred_url":"https://api.github.com/users/3nids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3nids/subscriptions","organizations_url":"https://api.github.com/users/3nids/orgs","repos_url":"https://api.github.com/users/3nids/repos","events_url":"https://api.github.com/users/3nids/events{/privacy}","received_events_url":"https://api.github.com/users/3nids/received_events","type":"User","site_admin":false},"body":"The idea is in the title.\r\nThis a first try, code is not ready yet, but it's open for comments on the structure of the code.\r\n\r\nIt's in app, so anyone who breaks a screenshot will be able to fix it!\r\nThat will make screenshots easily localized and/or OS specific.\r\n\r\nOne can run QGIS with `--take-screenshots __YOUR_PATH__` \r\n","created_at":"2018-09-27T15:28:49Z","updated_at":"2018-09-28T00:28:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f0e11bfb93be4451f0a582d14e78f7de0a4276e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/qgis/QGIS/pulls/8041/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS/pulls/8041/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/8041/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/a37efb951702333e677c1a9f716a850513d690d5","head":{"label":"3nids:user_doc_auto_screenshots","ref":"user_doc_auto_screenshots","sha":"a37efb951702333e677c1a9f716a850513d690d5","user":{"login":"3nids","id":127259,"node_id":"MDQ6VXNlcjEyNzI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/127259?v=4","gravatar_id":"","url":"https://api.github.com/users/3nids","html_url":"https://github.com/3nids","followers_url":"https://api.github.com/users/3nids/followers","following_url":"https://api.github.com/users/3nids/following{/other_user}","gists_url":"https://api.github.com/users/3nids/gists{/gist_id}","starred_url":"https://api.github.com/users/3nids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3nids/subscriptions","organizations_url":"https://api.github.com/users/3nids/orgs","repos_url":"https://api.github.com/users/3nids/repos","events_url":"https://api.github.com/users/3nids/events{/privacy}","received_events_url":"https://api.github.com/users/3nids/received_events","type":"User","site_admin":false},"repo":{"id":7640359,"node_id":"MDEwOlJlcG9zaXRvcnk3NjQwMzU5","name":"QGIS","full_name":"3nids/QGIS","private":false,"owner":{"login":"3nids","id":127259,"node_id":"MDQ6VXNlcjEyNzI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/127259?v=4","gravatar_id":"","url":"https://api.github.com/users/3nids","html_url":"https://github.com/3nids","followers_url":"https://api.github.com/users/3nids/followers","following_url":"https://api.github.com/users/3nids/following{/other_user}","gists_url":"https://api.github.com/users/3nids/gists{/gist_id}","starred_url":"https://api.github.com/users/3nids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3nids/subscriptions","organizations_url":"https://api.github.com/users/3nids/orgs","repos_url":"https://api.github.com/users/3nids/repos","events_url":"https://api.github.com/users/3nids/events{/privacy}","received_events_url":"https://api.github.com/users/3nids/received_events","type":"User","site_admin":false},"html_url":"https://github.com/3nids/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/3nids/QGIS","forks_url":"https://api.github.com/repos/3nids/QGIS/forks","keys_url":"https://api.github.com/repos/3nids/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3nids/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3nids/QGIS/teams","hooks_url":"https://api.github.com/repos/3nids/QGIS/hooks","issue_events_url":"https://api.github.com/repos/3nids/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/3nids/QGIS/events","assignees_url":"https://api.github.com/repos/3nids/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/3nids/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/3nids/QGIS/tags","blobs_url":"https://api.github.com/repos/3nids/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3nids/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3nids/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/3nids/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3nids/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/3nids/QGIS/languages","stargazers_url":"https://api.github.com/repos/3nids/QGIS/stargazers","contributors_url":"https://api.github.com/repos/3nids/QGIS/contributors","subscribers_url":"https://api.github.com/repos/3nids/QGIS/subscribers","subscription_url":"https://api.github.com/repos/3nids/QGIS/subscription","commits_url":"https://api.github.com/repos/3nids/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/3nids/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/3nids/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/3nids/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/3nids/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/3nids/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3nids/QGIS/merges","archive_url":"https://api.github.com/repos/3nids/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3nids/QGIS/downloads","issues_url":"https://api.github.com/repos/3nids/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/3nids/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/3nids/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/3nids/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3nids/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/3nids/QGIS/releases{/id}","deployments_url":"https://api.github.com/repos/3nids/QGIS/deployments","created_at":"2013-01-16T06:16:23Z","updated_at":"2018-09-24T18:55:50Z","pushed_at":"2018-09-27T18:23:58Z","git_url":"git://github.com/3nids/QGIS.git","ssh_url":"git@github.com:3nids/QGIS.git","clone_url":"https://github.com/3nids/QGIS.git","svn_url":"https://github.com/3nids/QGIS","homepage":"http://qgis.org","size":1314971,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"qgis:master","ref":"master","sha":"f6f3174e1e367d9c1d34301c6ad70414f881b305","user":{"login":"qgis","id":483444,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MzQ0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/483444?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxNjkwNDgw","name":"QGIS","full_name":"qgis/QGIS","private":false,"owner":{"login":"qgis","id":483444,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MzQ0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/483444?v=4","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},"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":"2018-09-28T00:20:21Z","pushed_at":"2018-09-28T00:20:13Z","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":1455331,"stargazers_count":2226,"watchers_count":2226,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1316,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1316,"open_issues":27,"watchers":2226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8041"},"html":{"href":"https://github.com/qgis/QGIS/pull/8041"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS/issues/8041"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS/issues/8041/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8041/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/8041/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS/statuses/a37efb951702333e677c1a9f716a850513d690d5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"nyalldawson"}}