{"action":"created","comment":{"url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/comments/221644906","pull_request_review_id":160342660,"id":221644906,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTY0NDkwNg==","diff_hunk":"@@ -9,14 +9,16 @@\n ENV = os.environ.get('ENV', 'development')\n IS_DEV = ENV == 'development'\n IS_STAGING = ENV == 'staging'\n+IS_INTEGRATION = ENV == 'integration'\n+IS_PROD = ENV == 'production'\n LOG_LEVEL = int(os.environ.get('LOG_LEVEL', LOG_LEVEL_INFO))\n \n if IS_DEV:\n     API_URL = 'localhost'\n-elif IS_STAGING:\n-    API_URL = 'https://backend.passculture-staging.beta.gouv.fr'\n+elif IS_PROD:\n+    API_URL = 'https://api.passculture.beta.gouv.fr'\n else:\n-    API_URL = 'https://backend.passculture.beta.gouv.fr'\n+    API_URL = 'https://api.passculture-'+ENV+'.beta.gouv.fr'","path":"utils/config.py","position":24,"original_position":24,"commit_id":"c1a1ddefb4fa97a8f9b355ddeabbb99086242aa0","original_commit_id":"c1a1ddefb4fa97a8f9b355ddeabbb99086242aa0","user":{"login":"sofcalca","id":10255447,"node_id":"MDQ6VXNlcjEwMjU1NDQ3","avatar_url":"https://avatars0.githubusercontent.com/u/10255447?v=4","gravatar_id":"","url":"https://api.github.com/users/sofcalca","html_url":"https://github.com/sofcalca","followers_url":"https://api.github.com/users/sofcalca/followers","following_url":"https://api.github.com/users/sofcalca/following{/other_user}","gists_url":"https://api.github.com/users/sofcalca/gists{/gist_id}","starred_url":"https://api.github.com/users/sofcalca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofcalca/subscriptions","organizations_url":"https://api.github.com/users/sofcalca/orgs","repos_url":"https://api.github.com/users/sofcalca/repos","events_url":"https://api.github.com/users/sofcalca/events{/privacy}","received_events_url":"https://api.github.com/users/sofcalca/received_events","type":"User","site_admin":false},"body":"Pour plus de cohérence avec le reste du code, je mettrais plutôt 'https://api.passculture-{}.beta.gouv.fr'.format(ENV) ou 'https://api.passculture-%s.beta.gouv.fr' % ENV","created_at":"2018-10-01T15:06:41Z","updated_at":"2018-10-01T15:07:12Z","html_url":"https://github.com/betagouv/pass-culture-api/pull/222#discussion_r221644906","pull_request_url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/comments/221644906"},"html":{"href":"https://github.com/betagouv/pass-culture-api/pull/222#discussion_r221644906"},"pull_request":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222","id":219380861,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MzgwODYx","html_url":"https://github.com/betagouv/pass-culture-api/pull/222","diff_url":"https://github.com/betagouv/pass-culture-api/pull/222.diff","patch_url":"https://github.com/betagouv/pass-culture-api/pull/222.patch","issue_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues/222","number":222,"state":"open","locked":false,"title":"Don't check spreadsheet on signup, calculate API_URL","user":{"login":"arnoo","id":185428,"node_id":"MDQ6VXNlcjE4NTQyOA==","avatar_url":"https://avatars0.githubusercontent.com/u/185428?v=4","gravatar_id":"","url":"https://api.github.com/users/arnoo","html_url":"https://github.com/arnoo","followers_url":"https://api.github.com/users/arnoo/followers","following_url":"https://api.github.com/users/arnoo/following{/other_user}","gists_url":"https://api.github.com/users/arnoo/gists{/gist_id}","starred_url":"https://api.github.com/users/arnoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnoo/subscriptions","organizations_url":"https://api.github.com/users/arnoo/orgs","repos_url":"https://api.github.com/users/arnoo/repos","events_url":"https://api.github.com/users/arnoo/events{/privacy}","received_events_url":"https://api.github.com/users/arnoo/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-01T13:43:26Z","updated_at":"2018-10-01T15:07:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f36d59f71f3d193871eb8f697324e44c6992bcc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222/commits","review_comments_url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222/comments","review_comment_url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues/222/comments","statuses_url":"https://api.github.com/repos/betagouv/pass-culture-api/statuses/c1a1ddefb4fa97a8f9b355ddeabbb99086242aa0","head":{"label":"betagouv:689_no_user_spreadsheet_check_on_integ","ref":"689_no_user_spreadsheet_check_on_integ","sha":"c1a1ddefb4fa97a8f9b355ddeabbb99086242aa0","user":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":124255953,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQyNTU5NTM=","name":"pass-culture-api","full_name":"betagouv/pass-culture-api","private":false,"owner":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/betagouv/pass-culture-api","description":"API pour l'application Pass Culture","fork":false,"url":"https://api.github.com/repos/betagouv/pass-culture-api","forks_url":"https://api.github.com/repos/betagouv/pass-culture-api/forks","keys_url":"https://api.github.com/repos/betagouv/pass-culture-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/pass-culture-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/pass-culture-api/teams","hooks_url":"https://api.github.com/repos/betagouv/pass-culture-api/hooks","issue_events_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/pass-culture-api/events","assignees_url":"https://api.github.com/repos/betagouv/pass-culture-api/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/pass-culture-api/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/pass-culture-api/tags","blobs_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/pass-culture-api/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/pass-culture-api/languages","stargazers_url":"https://api.github.com/repos/betagouv/pass-culture-api/stargazers","contributors_url":"https://api.github.com/repos/betagouv/pass-culture-api/contributors","subscribers_url":"https://api.github.com/repos/betagouv/pass-culture-api/subscribers","subscription_url":"https://api.github.com/repos/betagouv/pass-culture-api/subscription","commits_url":"https://api.github.com/repos/betagouv/pass-culture-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/pass-culture-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/pass-culture-api/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/pass-culture-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/pass-culture-api/merges","archive_url":"https://api.github.com/repos/betagouv/pass-culture-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/pass-culture-api/downloads","issues_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/pass-culture-api/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/pass-culture-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/pass-culture-api/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/pass-culture-api/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/pass-culture-api/deployments","created_at":"2018-03-07T15:30:02Z","updated_at":"2018-10-01T12:51:08Z","pushed_at":"2018-10-01T15:04:33Z","git_url":"git://github.com/betagouv/pass-culture-api.git","ssh_url":"git@github.com:betagouv/pass-culture-api.git","clone_url":"https://github.com/betagouv/pass-culture-api.git","svn_url":"https://github.com/betagouv/pass-culture-api","homepage":null,"size":35156,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":1,"open_issues":23,"watchers":1,"default_branch":"master"}},"base":{"label":"betagouv:master","ref":"master","sha":"858a6b6d6d715b31ae3435ed3838d6399f839469","user":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":124255953,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQyNTU5NTM=","name":"pass-culture-api","full_name":"betagouv/pass-culture-api","private":false,"owner":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/betagouv/pass-culture-api","description":"API pour l'application Pass Culture","fork":false,"url":"https://api.github.com/repos/betagouv/pass-culture-api","forks_url":"https://api.github.com/repos/betagouv/pass-culture-api/forks","keys_url":"https://api.github.com/repos/betagouv/pass-culture-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/pass-culture-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/pass-culture-api/teams","hooks_url":"https://api.github.com/repos/betagouv/pass-culture-api/hooks","issue_events_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/pass-culture-api/events","assignees_url":"https://api.github.com/repos/betagouv/pass-culture-api/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/pass-culture-api/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/pass-culture-api/tags","blobs_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/pass-culture-api/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/pass-culture-api/languages","stargazers_url":"https://api.github.com/repos/betagouv/pass-culture-api/stargazers","contributors_url":"https://api.github.com/repos/betagouv/pass-culture-api/contributors","subscribers_url":"https://api.github.com/repos/betagouv/pass-culture-api/subscribers","subscription_url":"https://api.github.com/repos/betagouv/pass-culture-api/subscription","commits_url":"https://api.github.com/repos/betagouv/pass-culture-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/pass-culture-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/pass-culture-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/pass-culture-api/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/pass-culture-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/pass-culture-api/merges","archive_url":"https://api.github.com/repos/betagouv/pass-culture-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/pass-culture-api/downloads","issues_url":"https://api.github.com/repos/betagouv/pass-culture-api/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/pass-culture-api/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/pass-culture-api/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/pass-culture-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/pass-culture-api/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/pass-culture-api/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/pass-culture-api/deployments","created_at":"2018-03-07T15:30:02Z","updated_at":"2018-10-01T12:51:08Z","pushed_at":"2018-10-01T15:04:33Z","git_url":"git://github.com/betagouv/pass-culture-api.git","ssh_url":"git@github.com:betagouv/pass-culture-api.git","clone_url":"https://github.com/betagouv/pass-culture-api.git","svn_url":"https://github.com/betagouv/pass-culture-api","homepage":null,"size":35156,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":23,"license":null,"forks":1,"open_issues":23,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222"},"html":{"href":"https://github.com/betagouv/pass-culture-api/pull/222"},"issue":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/issues/222"},"comments":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/betagouv/pass-culture-api/statuses/c1a1ddefb4fa97a8f9b355ddeabbb99086242aa0"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sofcalca"}}