{"action":"created","comment":{"url":"https://api.github.com/repos/gammapy/gammapy/pulls/comments/47482396","id":47482396,"diff_hunk":"@@ -0,0 +1,16 @@\n+# Licensed under a 3-clause BSD style license - see LICENSE.rst\n+from __future__ import absolute_import, division, print_function, unicode_literals\n+\n+from gammapy.utils.scripts import recursive_merge_dicts\n+\n+\n+def test_recursive_update_dict():","path":"gammapy/utils/tests/test_scripts.py","position":7,"original_position":7,"commit_id":"5a156f6f4a21d4cc57722c8b9c4e1e49076eb463","original_commit_id":"5a156f6f4a21d4cc57722c8b9c4e1e49076eb463","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"body":"test_recursive_update_dict  -> test_recursive_merge_dicts","created_at":"2015-12-14T10:39:35Z","updated_at":"2015-12-14T10:39:35Z","html_url":"https://github.com/gammapy/gammapy/pull/402#discussion_r47482396","pull_request_url":"https://api.github.com/repos/gammapy/gammapy/pulls/402","_links":{"self":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/comments/47482396"},"html":{"href":"https://github.com/gammapy/gammapy/pull/402#discussion_r47482396"},"pull_request":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/402"}}},"pull_request":{"url":"https://api.github.com/repos/gammapy/gammapy/pulls/402","id":53547278,"html_url":"https://github.com/gammapy/gammapy/pull/402","diff_url":"https://github.com/gammapy/gammapy/pull/402.diff","patch_url":"https://github.com/gammapy/gammapy/pull/402.patch","issue_url":"https://api.github.com/repos/gammapy/gammapy/issues/402","number":402,"state":"open","locked":false,"title":"Add recursive_merge_dicts function","user":{"login":"joleroi","id":11678435,"avatar_url":"https://avatars.githubusercontent.com/u/11678435?v=3","gravatar_id":"","url":"https://api.github.com/users/joleroi","html_url":"https://github.com/joleroi","followers_url":"https://api.github.com/users/joleroi/followers","following_url":"https://api.github.com/users/joleroi/following{/other_user}","gists_url":"https://api.github.com/users/joleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/joleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joleroi/subscriptions","organizations_url":"https://api.github.com/users/joleroi/orgs","repos_url":"https://api.github.com/users/joleroi/repos","events_url":"https://api.github.com/users/joleroi/events{/privacy}","received_events_url":"https://api.github.com/users/joleroi/received_events","type":"User","site_admin":false},"body":"This PR fixes the functions recursive_merge_dicts. This could be the starting point of a proper config handling class.\r\n\r\nsee also\r\nhttps://github.com/gammapy/gammapy/pull/396\r\nhttps://github.com/gammapy/gammapy/issues/401","created_at":"2015-12-14T10:32:54Z","updated_at":"2015-12-14T10:39:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2eb9312ce449f2137dbe336b77056e207b41850","assignee":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gammapy/gammapy/milestones/5","html_url":"https://github.com/gammapy/gammapy/milestones/0.4","labels_url":"https://api.github.com/repos/gammapy/gammapy/milestones/5/labels","id":1058090,"number":5,"title":"0.4","description":"","creator":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":39,"state":"open","created_at":"2015-04-08T11:51:53Z","updated_at":"2015-12-14T10:33:25Z","due_on":"2015-12-20T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/gammapy/gammapy/pulls/402/commits","review_comments_url":"https://api.github.com/repos/gammapy/gammapy/pulls/402/comments","review_comment_url":"https://api.github.com/repos/gammapy/gammapy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gammapy/gammapy/issues/402/comments","statuses_url":"https://api.github.com/repos/gammapy/gammapy/statuses/5a156f6f4a21d4cc57722c8b9c4e1e49076eb463","head":{"label":"joleroi:merge_dicts","ref":"merge_dicts","sha":"5a156f6f4a21d4cc57722c8b9c4e1e49076eb463","user":{"login":"joleroi","id":11678435,"avatar_url":"https://avatars.githubusercontent.com/u/11678435?v=3","gravatar_id":"","url":"https://api.github.com/users/joleroi","html_url":"https://github.com/joleroi","followers_url":"https://api.github.com/users/joleroi/followers","following_url":"https://api.github.com/users/joleroi/following{/other_user}","gists_url":"https://api.github.com/users/joleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/joleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joleroi/subscriptions","organizations_url":"https://api.github.com/users/joleroi/orgs","repos_url":"https://api.github.com/users/joleroi/repos","events_url":"https://api.github.com/users/joleroi/events{/privacy}","received_events_url":"https://api.github.com/users/joleroi/received_events","type":"User","site_admin":false},"repo":{"id":34865384,"name":"gammapy","full_name":"joleroi/gammapy","owner":{"login":"joleroi","id":11678435,"avatar_url":"https://avatars.githubusercontent.com/u/11678435?v=3","gravatar_id":"","url":"https://api.github.com/users/joleroi","html_url":"https://github.com/joleroi","followers_url":"https://api.github.com/users/joleroi/followers","following_url":"https://api.github.com/users/joleroi/following{/other_user}","gists_url":"https://api.github.com/users/joleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/joleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joleroi/subscriptions","organizations_url":"https://api.github.com/users/joleroi/orgs","repos_url":"https://api.github.com/users/joleroi/repos","events_url":"https://api.github.com/users/joleroi/events{/privacy}","received_events_url":"https://api.github.com/users/joleroi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joleroi/gammapy","description":"A Python package for gamma-ray astronomy","fork":true,"url":"https://api.github.com/repos/joleroi/gammapy","forks_url":"https://api.github.com/repos/joleroi/gammapy/forks","keys_url":"https://api.github.com/repos/joleroi/gammapy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joleroi/gammapy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joleroi/gammapy/teams","hooks_url":"https://api.github.com/repos/joleroi/gammapy/hooks","issue_events_url":"https://api.github.com/repos/joleroi/gammapy/issues/events{/number}","events_url":"https://api.github.com/repos/joleroi/gammapy/events","assignees_url":"https://api.github.com/repos/joleroi/gammapy/assignees{/user}","branches_url":"https://api.github.com/repos/joleroi/gammapy/branches{/branch}","tags_url":"https://api.github.com/repos/joleroi/gammapy/tags","blobs_url":"https://api.github.com/repos/joleroi/gammapy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joleroi/gammapy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joleroi/gammapy/git/refs{/sha}","trees_url":"https://api.github.com/repos/joleroi/gammapy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joleroi/gammapy/statuses/{sha}","languages_url":"https://api.github.com/repos/joleroi/gammapy/languages","stargazers_url":"https://api.github.com/repos/joleroi/gammapy/stargazers","contributors_url":"https://api.github.com/repos/joleroi/gammapy/contributors","subscribers_url":"https://api.github.com/repos/joleroi/gammapy/subscribers","subscription_url":"https://api.github.com/repos/joleroi/gammapy/subscription","commits_url":"https://api.github.com/repos/joleroi/gammapy/commits{/sha}","git_commits_url":"https://api.github.com/repos/joleroi/gammapy/git/commits{/sha}","comments_url":"https://api.github.com/repos/joleroi/gammapy/comments{/number}","issue_comment_url":"https://api.github.com/repos/joleroi/gammapy/issues/comments{/number}","contents_url":"https://api.github.com/repos/joleroi/gammapy/contents/{+path}","compare_url":"https://api.github.com/repos/joleroi/gammapy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joleroi/gammapy/merges","archive_url":"https://api.github.com/repos/joleroi/gammapy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joleroi/gammapy/downloads","issues_url":"https://api.github.com/repos/joleroi/gammapy/issues{/number}","pulls_url":"https://api.github.com/repos/joleroi/gammapy/pulls{/number}","milestones_url":"https://api.github.com/repos/joleroi/gammapy/milestones{/number}","notifications_url":"https://api.github.com/repos/joleroi/gammapy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joleroi/gammapy/labels{/name}","releases_url":"https://api.github.com/repos/joleroi/gammapy/releases{/id}","created_at":"2015-04-30T16:42:10Z","updated_at":"2015-04-30T16:42:10Z","pushed_at":"2015-12-14T10:31:52Z","git_url":"git://github.com/joleroi/gammapy.git","ssh_url":"git@github.com:joleroi/gammapy.git","clone_url":"https://github.com/joleroi/gammapy.git","svn_url":"https://github.com/joleroi/gammapy","homepage":"https://gammapy.readthedocs.org/","size":4507,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gammapy:master","ref":"master","sha":"f5b95a62243178098025033b656b6259a3ed0f94","user":{"login":"gammapy","id":852764,"avatar_url":"https://avatars.githubusercontent.com/u/852764?v=3","gravatar_id":"","url":"https://api.github.com/users/gammapy","html_url":"https://github.com/gammapy","followers_url":"https://api.github.com/users/gammapy/followers","following_url":"https://api.github.com/users/gammapy/following{/other_user}","gists_url":"https://api.github.com/users/gammapy/gists{/gist_id}","starred_url":"https://api.github.com/users/gammapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammapy/subscriptions","organizations_url":"https://api.github.com/users/gammapy/orgs","repos_url":"https://api.github.com/users/gammapy/repos","events_url":"https://api.github.com/users/gammapy/events{/privacy}","received_events_url":"https://api.github.com/users/gammapy/received_events","type":"Organization","site_admin":false},"repo":{"id":10073640,"name":"gammapy","full_name":"gammapy/gammapy","owner":{"login":"gammapy","id":852764,"avatar_url":"https://avatars.githubusercontent.com/u/852764?v=3","gravatar_id":"","url":"https://api.github.com/users/gammapy","html_url":"https://github.com/gammapy","followers_url":"https://api.github.com/users/gammapy/followers","following_url":"https://api.github.com/users/gammapy/following{/other_user}","gists_url":"https://api.github.com/users/gammapy/gists{/gist_id}","starred_url":"https://api.github.com/users/gammapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammapy/subscriptions","organizations_url":"https://api.github.com/users/gammapy/orgs","repos_url":"https://api.github.com/users/gammapy/repos","events_url":"https://api.github.com/users/gammapy/events{/privacy}","received_events_url":"https://api.github.com/users/gammapy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gammapy/gammapy","description":"A Python package for gamma-ray astronomy","fork":false,"url":"https://api.github.com/repos/gammapy/gammapy","forks_url":"https://api.github.com/repos/gammapy/gammapy/forks","keys_url":"https://api.github.com/repos/gammapy/gammapy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gammapy/gammapy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gammapy/gammapy/teams","hooks_url":"https://api.github.com/repos/gammapy/gammapy/hooks","issue_events_url":"https://api.github.com/repos/gammapy/gammapy/issues/events{/number}","events_url":"https://api.github.com/repos/gammapy/gammapy/events","assignees_url":"https://api.github.com/repos/gammapy/gammapy/assignees{/user}","branches_url":"https://api.github.com/repos/gammapy/gammapy/branches{/branch}","tags_url":"https://api.github.com/repos/gammapy/gammapy/tags","blobs_url":"https://api.github.com/repos/gammapy/gammapy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gammapy/gammapy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gammapy/gammapy/git/refs{/sha}","trees_url":"https://api.github.com/repos/gammapy/gammapy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gammapy/gammapy/statuses/{sha}","languages_url":"https://api.github.com/repos/gammapy/gammapy/languages","stargazers_url":"https://api.github.com/repos/gammapy/gammapy/stargazers","contributors_url":"https://api.github.com/repos/gammapy/gammapy/contributors","subscribers_url":"https://api.github.com/repos/gammapy/gammapy/subscribers","subscription_url":"https://api.github.com/repos/gammapy/gammapy/subscription","commits_url":"https://api.github.com/repos/gammapy/gammapy/commits{/sha}","git_commits_url":"https://api.github.com/repos/gammapy/gammapy/git/commits{/sha}","comments_url":"https://api.github.com/repos/gammapy/gammapy/comments{/number}","issue_comment_url":"https://api.github.com/repos/gammapy/gammapy/issues/comments{/number}","contents_url":"https://api.github.com/repos/gammapy/gammapy/contents/{+path}","compare_url":"https://api.github.com/repos/gammapy/gammapy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gammapy/gammapy/merges","archive_url":"https://api.github.com/repos/gammapy/gammapy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gammapy/gammapy/downloads","issues_url":"https://api.github.com/repos/gammapy/gammapy/issues{/number}","pulls_url":"https://api.github.com/repos/gammapy/gammapy/pulls{/number}","milestones_url":"https://api.github.com/repos/gammapy/gammapy/milestones{/number}","notifications_url":"https://api.github.com/repos/gammapy/gammapy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gammapy/gammapy/labels{/name}","releases_url":"https://api.github.com/repos/gammapy/gammapy/releases{/id}","created_at":"2013-05-15T07:50:40Z","updated_at":"2015-10-07T23:38:31Z","pushed_at":"2015-12-14T10:32:54Z","git_url":"git://github.com/gammapy/gammapy.git","ssh_url":"git@github.com:gammapy/gammapy.git","clone_url":"https://github.com/gammapy/gammapy.git","svn_url":"https://github.com/gammapy/gammapy","homepage":"https://gammapy.readthedocs.org/","size":4961,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":128,"forks":28,"open_issues":128,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/402"},"html":{"href":"https://github.com/gammapy/gammapy/pull/402"},"issue":{"href":"https://api.github.com/repos/gammapy/gammapy/issues/402"},"comments":{"href":"https://api.github.com/repos/gammapy/gammapy/issues/402/comments"},"review_comments":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/402/comments"},"review_comment":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/402/commits"},"statuses":{"href":"https://api.github.com/repos/gammapy/gammapy/statuses/5a156f6f4a21d4cc57722c8b9c4e1e49076eb463"}}}}