{"action":"created","comment":{"url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/comments/60945244","id":60945244,"diff_hunk":"@@ -1,6 +1,9 @@\n # This file is *NOT* reloaded automatically when you use 'jekyll serve'.\n # If you change this file, please restart the server process.\n \n+# Options","path":"_config.yml","position":4,"original_position":4,"commit_id":"ada42f2f8757424d75d70918c7b31d5a3ca672cd","original_commit_id":"b431bf9081bcff52bae86f0fd441528519b57764","user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars.githubusercontent.com/u/329236?v=3","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"body":"Right !","created_at":"2016-04-25T16:38:22Z","updated_at":"2016-04-25T16:38:22Z","html_url":"https://github.com/sgmap/beta.gouv.fr/pull/154#discussion_r60945244","pull_request_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154","_links":{"self":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/comments/60945244"},"html":{"href":"https://github.com/sgmap/beta.gouv.fr/pull/154#discussion_r60945244"},"pull_request":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154","id":67372977,"html_url":"https://github.com/sgmap/beta.gouv.fr/pull/154","diff_url":"https://github.com/sgmap/beta.gouv.fr/pull/154.diff","patch_url":"https://github.com/sgmap/beta.gouv.fr/pull/154.patch","issue_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154","number":154,"state":"open","locked":false,"title":"Améliorer la gestion de dépendances","user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars.githubusercontent.com/u/329236?v=3","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"body":"Poor dependency management may lead to several problems, such as [version mismatch](https://github.com/jekyll/jekyll/issues/4441/) of languages binaries and libraries between different environments.\r\n\r\nThis PR provides consistent dependency management across environments, and solves the following problems:\r\n\r\n1. No consistent ruby version shared across environments (test, dev, prod).\r\n2. No consistent github-pages version shared across environments (test, dev, prod).\r\n3. For test env, ruby version is being pulled from github-pages' master branch. There could be a mismatch between the ruby version of a gem's master branch and the ruby version of an actually deployed production environment. So, the correct implementation seems to be to [ask github](https://pages.github.com/versions/) which ruby version it is using in production.\r\n3. Ruby gems are usually installed and run by git tags (versions), and not from branches (revisions).\r\n4. The installation of the github-pages gem does not specify version, which could also lead to mismatch across environments.\r\n5. Use of gem's binaries in test env is done in the global space. It should be scoped.","created_at":"2016-04-21T15:21:58Z","updated_at":"2016-04-25T16:38:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c8c1fbb877eef3472c2aec50c034aa72cc43570","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154/commits","review_comments_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154/comments","review_comment_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154/comments","statuses_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/statuses/ada42f2f8757424d75d70918c7b31d5a3ca672cd","head":{"label":"maukoquiroga:dependencies","ref":"dependencies","sha":"ada42f2f8757424d75d70918c7b31d5a3ca672cd","user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars.githubusercontent.com/u/329236?v=3","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"repo":{"id":56776053,"name":"beta.gouv.fr","full_name":"maukoquiroga/beta.gouv.fr","owner":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars.githubusercontent.com/u/329236?v=3","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maukoquiroga/beta.gouv.fr","description":"Le site public de l'Incubateur de Services Numériques de l'État français.","fork":true,"url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr","forks_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/forks","keys_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/teams","hooks_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/hooks","issue_events_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/issues/events{/number}","events_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/events","assignees_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/assignees{/user}","branches_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/branches{/branch}","tags_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/tags","blobs_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/git/refs{/sha}","trees_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/statuses/{sha}","languages_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/languages","stargazers_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/stargazers","contributors_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/contributors","subscribers_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/subscribers","subscription_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/subscription","commits_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/commits{/sha}","git_commits_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/git/commits{/sha}","comments_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/comments{/number}","issue_comment_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/issues/comments{/number}","contents_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/contents/{+path}","compare_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/merges","archive_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/downloads","issues_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/issues{/number}","pulls_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/pulls{/number}","milestones_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/milestones{/number}","notifications_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/labels{/name}","releases_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/releases{/id}","deployments_url":"https://api.github.com/repos/maukoquiroga/beta.gouv.fr/deployments","created_at":"2016-04-21T13:28:44Z","updated_at":"2016-04-21T13:28:44Z","pushed_at":"2016-04-25T16:36:40Z","git_url":"git://github.com/maukoquiroga/beta.gouv.fr.git","ssh_url":"git@github.com:maukoquiroga/beta.gouv.fr.git","clone_url":"https://github.com/maukoquiroga/beta.gouv.fr.git","svn_url":"https://github.com/maukoquiroga/beta.gouv.fr","homepage":"https://beta.gouv.fr","size":6616,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"sgmap:gh-pages","ref":"gh-pages","sha":"f66ff522b653b1d9df76de1fa6538970b8f2c26b","user":{"login":"sgmap","id":7874148,"avatar_url":"https://avatars.githubusercontent.com/u/7874148?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmap","html_url":"https://github.com/sgmap","followers_url":"https://api.github.com/users/sgmap/followers","following_url":"https://api.github.com/users/sgmap/following{/other_user}","gists_url":"https://api.github.com/users/sgmap/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmap/subscriptions","organizations_url":"https://api.github.com/users/sgmap/orgs","repos_url":"https://api.github.com/users/sgmap/repos","events_url":"https://api.github.com/users/sgmap/events{/privacy}","received_events_url":"https://api.github.com/users/sgmap/received_events","type":"Organization","site_admin":false},"repo":{"id":48237006,"name":"beta.gouv.fr","full_name":"sgmap/beta.gouv.fr","owner":{"login":"sgmap","id":7874148,"avatar_url":"https://avatars.githubusercontent.com/u/7874148?v=3","gravatar_id":"","url":"https://api.github.com/users/sgmap","html_url":"https://github.com/sgmap","followers_url":"https://api.github.com/users/sgmap/followers","following_url":"https://api.github.com/users/sgmap/following{/other_user}","gists_url":"https://api.github.com/users/sgmap/gists{/gist_id}","starred_url":"https://api.github.com/users/sgmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgmap/subscriptions","organizations_url":"https://api.github.com/users/sgmap/orgs","repos_url":"https://api.github.com/users/sgmap/repos","events_url":"https://api.github.com/users/sgmap/events{/privacy}","received_events_url":"https://api.github.com/users/sgmap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sgmap/beta.gouv.fr","description":"Le site public de l'Incubateur de Services Numériques de l'État français.","fork":false,"url":"https://api.github.com/repos/sgmap/beta.gouv.fr","forks_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/forks","keys_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/teams","hooks_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/hooks","issue_events_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/events{/number}","events_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/events","assignees_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/assignees{/user}","branches_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/branches{/branch}","tags_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/tags","blobs_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/git/refs{/sha}","trees_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/statuses/{sha}","languages_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/languages","stargazers_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/stargazers","contributors_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/contributors","subscribers_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/subscribers","subscription_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/subscription","commits_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/commits{/sha}","git_commits_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/git/commits{/sha}","comments_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/comments{/number}","issue_comment_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/comments{/number}","contents_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/contents/{+path}","compare_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/merges","archive_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/downloads","issues_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues{/number}","pulls_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls{/number}","milestones_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/milestones{/number}","notifications_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/labels{/name}","releases_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/releases{/id}","deployments_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/deployments","created_at":"2015-12-18T13:33:48Z","updated_at":"2016-04-21T02:41:48Z","pushed_at":"2016-04-25T16:36:40Z","git_url":"git://github.com/sgmap/beta.gouv.fr.git","ssh_url":"git@github.com:sgmap/beta.gouv.fr.git","clone_url":"https://github.com/sgmap/beta.gouv.fr.git","svn_url":"https://github.com/sgmap/beta.gouv.fr","homepage":"https://beta.gouv.fr","size":7499,"stargazers_count":10,"watchers_count":10,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":17,"forks":14,"open_issues":17,"watchers":10,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154"},"html":{"href":"https://github.com/sgmap/beta.gouv.fr/pull/154"},"issue":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154"},"comments":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/sgmap/beta.gouv.fr/statuses/ada42f2f8757424d75d70918c7b31d5a3ca672cd"}}}}