{"action":"created","comment":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/232238310","pull_request_review_id":173391426,"id":232238310,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjIzODMxMA==","diff_hunk":"@@ -186,15 +186,38 @@ Layer definition for ngeo clients is separate and different from layer\n definition for CGXP clients, see :ref:`administrator_administrate_layers`\n for details.\n To migrate the layer definitions from the CGXP structure to the ngeo\n-structure, you can use the script ``.build/venv/bin/themev1tov2``.\n+structure, you can use the script themev1tov2.\n+\n+In non docker context, run the script from venv:\n+\n+.. prompt:: bash\n+\n+   .build/venv/bin/themev1tov2 -i geoportal/production.ini\n+\n+In docker context, run the script from geoportal service:\n+\n+.. prompt:: bash\n+\n+   docker-compose up -d\n+   docker-compose run --rm geoportal themev1tov2 -i production.ini","path":"doc/integrator/upgrade_application.rst.mako","position":18,"original_position":18,"commit_id":"0598ca8cc4c330400502cd9f1c13a81f61cb299a","original_commit_id":"0598ca8cc4c330400502cd9f1c13a81f61cb299a","user":{"login":"arnaud-morvan","id":6095494,"node_id":"MDQ6VXNlcjYwOTU0OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6095494?v=4","gravatar_id":"","url":"https://api.github.com/users/arnaud-morvan","html_url":"https://github.com/arnaud-morvan","followers_url":"https://api.github.com/users/arnaud-morvan/followers","following_url":"https://api.github.com/users/arnaud-morvan/following{/other_user}","gists_url":"https://api.github.com/users/arnaud-morvan/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaud-morvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaud-morvan/subscriptions","organizations_url":"https://api.github.com/users/arnaud-morvan/orgs","repos_url":"https://api.github.com/users/arnaud-morvan/repos","events_url":"https://api.github.com/users/arnaud-morvan/events{/privacy}","received_events_url":"https://api.github.com/users/arnaud-morvan/received_events","type":"User","site_admin":false},"body":"Note that I got an error for redis, but as I'm not sure db is not in composition is all cases, I've run the entire composition before themev1tov2 in documentation.\r\n\r\nIf I do not mistake, if links were configured in composition we could only do:\r\n```\r\ndocker-compose run --rm geoportal themev1tov2 -i production.ini\r\n```\r\nAs we not not need geoportal web service running.","created_at":"2018-11-09T12:36:09Z","updated_at":"2018-11-09T12:36:09Z","html_url":"https://github.com/camptocamp/c2cgeoportal/pull/4285#discussion_r232238310","pull_request_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments/232238310"},"html":{"href":"https://github.com/camptocamp/c2cgeoportal/pull/4285#discussion_r232238310"},"pull_request":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285"}},"in_reply_to_id":232201278},"pull_request":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285","id":229632619,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NjMyNjE5","html_url":"https://github.com/camptocamp/c2cgeoportal/pull/4285","diff_url":"https://github.com/camptocamp/c2cgeoportal/pull/4285.diff","patch_url":"https://github.com/camptocamp/c2cgeoportal/pull/4285.patch","issue_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/4285","number":4285,"state":"open","locked":false,"title":"Fix scripts themev1tov2 and l10nv1tov2 with docker","user":{"login":"arnaud-morvan","id":6095494,"node_id":"MDQ6VXNlcjYwOTU0OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6095494?v=4","gravatar_id":"","url":"https://api.github.com/users/arnaud-morvan","html_url":"https://github.com/arnaud-morvan","followers_url":"https://api.github.com/users/arnaud-morvan/followers","following_url":"https://api.github.com/users/arnaud-morvan/following{/other_user}","gists_url":"https://api.github.com/users/arnaud-morvan/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaud-morvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaud-morvan/subscriptions","organizations_url":"https://api.github.com/users/arnaud-morvan/orgs","repos_url":"https://api.github.com/users/arnaud-morvan/repos","events_url":"https://api.github.com/users/arnaud-morvan/events{/privacy}","received_events_url":"https://api.github.com/users/arnaud-morvan/received_events","type":"User","site_admin":false},"body":"* Fix themev1tov2 and l10nv1tov2 in docker/python3 context.\r\n* Use production.ini path from docker context by default.\r\n* Update the documentation for docker context.","created_at":"2018-11-09T09:23:09Z","updated_at":"2018-11-09T12:36:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcf2b9b4dabb5abb87baa2b9c47292bf1a622581","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285/commits","review_comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285/comments","review_comment_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/4285/comments","statuses_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/0598ca8cc4c330400502cd9f1c13a81f61cb299a","head":{"label":"camptocamp:themev1tov2_docker","ref":"themev1tov2_docker","sha":"0598ca8cc4c330400502cd9f1c13a81f61cb299a","user":{"login":"camptocamp","id":28109,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/28109?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyOTMyNzcz","name":"c2cgeoportal","full_name":"camptocamp/c2cgeoportal","private":false,"owner":{"login":"camptocamp","id":28109,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/28109?v=4","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},"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":"2018-11-09T09:25:55Z","pushed_at":"2018-11-09T11:54:10Z","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":"http://geomapfish.org","size":332311,"stargazers_count":38,"watchers_count":38,"language":"PLpgSQL","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":33,"open_issues":15,"watchers":38,"default_branch":"master"}},"base":{"label":"camptocamp:2.3","ref":"2.3","sha":"3d13955f350042949115e83856430084c10ee1a0","user":{"login":"camptocamp","id":28109,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/28109?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyOTMyNzcz","name":"c2cgeoportal","full_name":"camptocamp/c2cgeoportal","private":false,"owner":{"login":"camptocamp","id":28109,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/28109?v=4","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},"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":"2018-11-09T09:25:55Z","pushed_at":"2018-11-09T11:54:10Z","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":"http://geomapfish.org","size":332311,"stargazers_count":38,"watchers_count":38,"language":"PLpgSQL","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":33,"open_issues":15,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285"},"html":{"href":"https://github.com/camptocamp/c2cgeoportal/pull/4285"},"issue":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/4285"},"comments":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/4285/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/pulls/4285/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/c2cgeoportal/statuses/0598ca8cc4c330400502cd9f1c13a81f61cb299a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"arnaud-morvan"}}