{"action":"created","comment":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/89778447","pull_request_review_id":10310284,"id":89778447,"diff_hunk":"@@ -0,0 +1,79 @@\n+.. _integrator_legacy_print:\n+\n+Print version 2.x\n+=================\n+\n+The print version 2 cannot be used in the ngeo application be he steel can be used in the ngeo application.\n+\n+The print version 3.x and the version 2.x cannot be used together.\n+\n+To use it you should::\n+\n+  * Keep the print war in your repository.\n+  * Add ``PRINT_VERSION ?= 2`` in your project makefile.\n+  * Add in the ``vars`` of your project vars file: ``print_url: http://localhost:8080/print-{instanceid}/pdf``.\n+  * Desable the print v3 checker and enable the print v2 one, edit your project vars file:\n+\n+  .. code::yaml::\n+\n+     vars:\n+         ...\n+         checker:\n+             defaults:\n+                 ...\n+                 routes_disable: [printproxy_capabilities]\n+                 routes:\n+                 - name: printproxy_info\n+                 print_template: 1 A4 portrait\n+                 print_center_lon: 600000\n+                 print_center_lat: 200000\n+                 print_scale: 10000\n+\n+         check_collector:\n+             # Verify that in the `.build/config.yaml` `checker_pdf3` is present, and not `checker_pdf`.\n+             disabled: [checker_pdf3]\n+\n+     update_paths:\n+     - checker.routes\n+\n+Back to the print version 3.x::\n+\n+  * Remove your war file ``git rm print/print-servlet.war``.\n+  * Remove the ``PRINT_VERSION`` from your project makefile (default is 3).\n+  * In your project vars file remove the following keys::\n+\n+    * ``vars/print_url``\n+    * ``vars/checker/defaults/print_template``\n+    * ``vars/checker/defaults/print_center_lon``\n+    * ``vars/checker/defaults/print_center_lat``\n+    * ``vars/checker/defaults/print_scale``\n+\n+  * Do not have ``printproxy_capabilities`` in ``vars/checker/defaults/routes_disable``.\n+  * Do not have a route named ``printproxy_info`` in ``vars/checker/defaults/routes``.\n+  * Do not have ``checker_pdf3`` in ``vars/check_collector/disabled``.\n+  * Have ``checker_pdf`` in ``vars/check_collector/disabled`` (it's possible that you can completely remove it).\n+  * Be sure that you tahe thin in your project vars file::","path":"doc/integrator/legacy_print.rst","position":55,"original_position":55,"commit_id":"c201d09c328da6dce566eb1e6e86b6d4ed2831bf","original_commit_id":"35ba042ff4de9d6f0b3c4f9f19fc544965e136cd","user":{"login":"ger-benjamin","id":1792111,"avatar_url":"https://avatars.githubusercontent.com/u/1792111?v=3","gravatar_id":"","url":"https://api.github.com/users/ger-benjamin","html_url":"https://github.com/ger-benjamin","followers_url":"https://api.github.com/users/ger-benjamin/followers","following_url":"https://api.github.com/users/ger-benjamin/following{/other_user}","gists_url":"https://api.github.com/users/ger-benjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/ger-benjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ger-benjamin/subscriptions","organizations_url":"https://api.github.com/users/ger-benjamin/orgs","repos_url":"https://api.github.com/users/ger-benjamin/repos","events_url":"https://api.github.com/users/ger-benjamin/events{/privacy}","received_events_url":"https://api.github.com/users/ger-benjamin/received_events","type":"User","site_admin":false},"body":"you tahe thin -> you do this thing ?","created_at":"2016-11-28T13:17:14Z","updated_at":"2016-11-28T13:26:31Z","html_url":"https://github.com/camptocamp/c2cgeoportal/pull/2678#discussion_r89778447","pull_request_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678","_links":{"self":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/89778447"},"html":{"href":"https://github.com/camptocamp/c2cgeoportal/pull/2678#discussion_r89778447"},"pull_request":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678"}}},"pull_request":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678","id":95175095,"html_url":"https://github.com/camptocamp/c2cgeoportal/pull/2678","diff_url":"https://github.com/camptocamp/c2cgeoportal/pull/2678.diff","patch_url":"https://github.com/camptocamp/c2cgeoportal/pull/2678.patch","issue_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/2678","number":2678,"state":"open","locked":false,"title":"Add a legacy features page, simplify the configuration","user":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"body":"fix #2666, #2665","created_at":"2016-11-24T13:03:55Z","updated_at":"2016-11-28T13:26:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f97c717a4dd3af7c5a1857f154f60f5da8127b6e","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/36","html_url":"https://github.com/camptocamp/c2cgeoportal/milestones/2.1","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/36/labels","id":1330997,"number":36,"title":"2.1","description":"","creator":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":371,"state":"open","created_at":"2015-09-30T12:23:30Z","updated_at":"2016-11-28T11:09:13Z","due_on":"2016-05-24T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678/commits","review_comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678/comments","review_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/2678/comments","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/c201d09c328da6dce566eb1e6e86b6d4ed2831bf","head":{"label":"camptocamp:doc","ref":"doc","sha":"c201d09c328da6dce566eb1e6e86b6d4ed2831bf","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":2932773,"name":"c2cgeoportal","full_name":"camptocamp/c2cgeoportal","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/c2cgeoportal","description":"c2cgeoportal application","fork":false,"url":"https://api.github.com/repos/camptocamp/c2cgeoportal","forks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/forks","keys_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/teams","hooks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/events","assignees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/tags","blobs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/languages","stargazers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscription","commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/merges","archive_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/downloads","issues_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/releases{/id}","deployments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/deployments","created_at":"2011-12-07T13:42:59Z","updated_at":"2016-11-17T21:39:41Z","pushed_at":"2016-11-28T12:40:38Z","git_url":"git://github.com/camptocamp/c2cgeoportal.git","ssh_url":"git@github.com:camptocamp/c2cgeoportal.git","clone_url":"https://github.com/camptocamp/c2cgeoportal.git","svn_url":"https://github.com/camptocamp/c2cgeoportal","homepage":"","size":358917,"stargazers_count":25,"watchers_count":25,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":27,"mirror_url":null,"open_issues_count":97,"forks":27,"open_issues":97,"watchers":25,"default_branch":"master"}},"base":{"label":"camptocamp:master","ref":"master","sha":"67680a379ba0d1f634d9a5f2ac568112b470617d","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":2932773,"name":"c2cgeoportal","full_name":"camptocamp/c2cgeoportal","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/c2cgeoportal","description":"c2cgeoportal application","fork":false,"url":"https://api.github.com/repos/camptocamp/c2cgeoportal","forks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/forks","keys_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/teams","hooks_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/events","assignees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/tags","blobs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/languages","stargazers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/subscription","commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/merges","archive_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/downloads","issues_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/releases{/id}","deployments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/deployments","created_at":"2011-12-07T13:42:59Z","updated_at":"2016-11-17T21:39:41Z","pushed_at":"2016-11-28T12:40:38Z","git_url":"git://github.com/camptocamp/c2cgeoportal.git","ssh_url":"git@github.com:camptocamp/c2cgeoportal.git","clone_url":"https://github.com/camptocamp/c2cgeoportal.git","svn_url":"https://github.com/camptocamp/c2cgeoportal","homepage":"","size":358917,"stargazers_count":25,"watchers_count":25,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":27,"mirror_url":null,"open_issues_count":97,"forks":27,"open_issues":97,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678"},"html":{"href":"https://github.com/camptocamp/c2cgeoportal/pull/2678"},"issue":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/2678"},"comments":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/2678/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/2678/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/c201d09c328da6dce566eb1e6e86b6d4ed2831bf"}}}}
{"actor":{"display_login":"ger-benjamin"}}