{"action":"created","comment":{"url":"https://api.github.com/repos/xiachufang/skyline/pulls/comments/58662602","id":58662602,"diff_hunk":"@@ -0,0 +1,7 @@\n+# SKYLINE\n+monitor project of xiachufang LTD.\n+# 使用方法\n+1. 拷贝线上的 /etc/skyline 到目标机器的 /etc/skyline\n+2. 设置环境变量 export PYTHONPATH=$PYTHONPATH:.:/etc/skyline","path":"README.md","position":5,"original_position":5,"commit_id":"d305bdd15a8adccab56b1de6b7e923dc25456cbb","original_commit_id":"d305bdd15a8adccab56b1de6b7e923dc25456cbb","user":{"login":"NetWilliam","id":3966971,"avatar_url":"https://avatars.githubusercontent.com/u/3966971?v=3","gravatar_id":"","url":"https://api.github.com/users/NetWilliam","html_url":"https://github.com/NetWilliam","followers_url":"https://api.github.com/users/NetWilliam/followers","following_url":"https://api.github.com/users/NetWilliam/following{/other_user}","gists_url":"https://api.github.com/users/NetWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/NetWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetWilliam/subscriptions","organizations_url":"https://api.github.com/users/NetWilliam/orgs","repos_url":"https://api.github.com/users/NetWilliam/repos","events_url":"https://api.github.com/users/NetWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/NetWilliam/received_events","type":"User","site_admin":false},"body":"你想要做成什么样子?  一个 json, 然后读取这个 json, 然后把键值暴露到包里面, 这样?\r\n{\"a\": \"123\"} => my_dict = eval(a.json) => globals()[\"a\"] = \"123\"","created_at":"2016-04-06T07:34:46Z","updated_at":"2016-04-06T07:34:46Z","html_url":"https://github.com/xiachufang/skyline/pull/2#discussion_r58662602","pull_request_url":"https://api.github.com/repos/xiachufang/skyline/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/xiachufang/skyline/pulls/comments/58662602"},"html":{"href":"https://github.com/xiachufang/skyline/pull/2#discussion_r58662602"},"pull_request":{"href":"https://api.github.com/repos/xiachufang/skyline/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/xiachufang/skyline/pulls/2","id":64889380,"html_url":"https://github.com/xiachufang/skyline/pull/2","diff_url":"https://github.com/xiachufang/skyline/pull/2.diff","patch_url":"https://github.com/xiachufang/skyline/pull/2.patch","issue_url":"https://api.github.com/repos/xiachufang/skyline/issues/2","number":2,"state":"open","locked":false,"title":"合并代码","user":{"login":"NetWilliam","id":3966971,"avatar_url":"https://avatars.githubusercontent.com/u/3966971?v=3","gravatar_id":"","url":"https://api.github.com/users/NetWilliam","html_url":"https://github.com/NetWilliam","followers_url":"https://api.github.com/users/NetWilliam/followers","following_url":"https://api.github.com/users/NetWilliam/following{/other_user}","gists_url":"https://api.github.com/users/NetWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/NetWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetWilliam/subscriptions","organizations_url":"https://api.github.com/users/NetWilliam/orgs","repos_url":"https://api.github.com/users/NetWilliam/repos","events_url":"https://api.github.com/users/NetWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/NetWilliam/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-01T02:57:22Z","updated_at":"2016-04-06T07:34:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4162fd8417fe276be1c828703551a2e936ac0a61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xiachufang/skyline/pulls/2/commits","review_comments_url":"https://api.github.com/repos/xiachufang/skyline/pulls/2/comments","review_comment_url":"https://api.github.com/repos/xiachufang/skyline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xiachufang/skyline/issues/2/comments","statuses_url":"https://api.github.com/repos/xiachufang/skyline/statuses/d305bdd15a8adccab56b1de6b7e923dc25456cbb","head":{"label":"NetWilliam:master","ref":"master","sha":"d305bdd15a8adccab56b1de6b7e923dc25456cbb","user":{"login":"NetWilliam","id":3966971,"avatar_url":"https://avatars.githubusercontent.com/u/3966971?v=3","gravatar_id":"","url":"https://api.github.com/users/NetWilliam","html_url":"https://github.com/NetWilliam","followers_url":"https://api.github.com/users/NetWilliam/followers","following_url":"https://api.github.com/users/NetWilliam/following{/other_user}","gists_url":"https://api.github.com/users/NetWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/NetWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetWilliam/subscriptions","organizations_url":"https://api.github.com/users/NetWilliam/orgs","repos_url":"https://api.github.com/users/NetWilliam/repos","events_url":"https://api.github.com/users/NetWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/NetWilliam/received_events","type":"User","site_admin":false},"repo":{"id":55199123,"name":"skyline","full_name":"NetWilliam/skyline","owner":{"login":"NetWilliam","id":3966971,"avatar_url":"https://avatars.githubusercontent.com/u/3966971?v=3","gravatar_id":"","url":"https://api.github.com/users/NetWilliam","html_url":"https://github.com/NetWilliam","followers_url":"https://api.github.com/users/NetWilliam/followers","following_url":"https://api.github.com/users/NetWilliam/following{/other_user}","gists_url":"https://api.github.com/users/NetWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/NetWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetWilliam/subscriptions","organizations_url":"https://api.github.com/users/NetWilliam/orgs","repos_url":"https://api.github.com/users/NetWilliam/repos","events_url":"https://api.github.com/users/NetWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/NetWilliam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NetWilliam/skyline","description":"","fork":true,"url":"https://api.github.com/repos/NetWilliam/skyline","forks_url":"https://api.github.com/repos/NetWilliam/skyline/forks","keys_url":"https://api.github.com/repos/NetWilliam/skyline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetWilliam/skyline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetWilliam/skyline/teams","hooks_url":"https://api.github.com/repos/NetWilliam/skyline/hooks","issue_events_url":"https://api.github.com/repos/NetWilliam/skyline/issues/events{/number}","events_url":"https://api.github.com/repos/NetWilliam/skyline/events","assignees_url":"https://api.github.com/repos/NetWilliam/skyline/assignees{/user}","branches_url":"https://api.github.com/repos/NetWilliam/skyline/branches{/branch}","tags_url":"https://api.github.com/repos/NetWilliam/skyline/tags","blobs_url":"https://api.github.com/repos/NetWilliam/skyline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetWilliam/skyline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetWilliam/skyline/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetWilliam/skyline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetWilliam/skyline/statuses/{sha}","languages_url":"https://api.github.com/repos/NetWilliam/skyline/languages","stargazers_url":"https://api.github.com/repos/NetWilliam/skyline/stargazers","contributors_url":"https://api.github.com/repos/NetWilliam/skyline/contributors","subscribers_url":"https://api.github.com/repos/NetWilliam/skyline/subscribers","subscription_url":"https://api.github.com/repos/NetWilliam/skyline/subscription","commits_url":"https://api.github.com/repos/NetWilliam/skyline/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetWilliam/skyline/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetWilliam/skyline/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetWilliam/skyline/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetWilliam/skyline/contents/{+path}","compare_url":"https://api.github.com/repos/NetWilliam/skyline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetWilliam/skyline/merges","archive_url":"https://api.github.com/repos/NetWilliam/skyline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetWilliam/skyline/downloads","issues_url":"https://api.github.com/repos/NetWilliam/skyline/issues{/number}","pulls_url":"https://api.github.com/repos/NetWilliam/skyline/pulls{/number}","milestones_url":"https://api.github.com/repos/NetWilliam/skyline/milestones{/number}","notifications_url":"https://api.github.com/repos/NetWilliam/skyline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetWilliam/skyline/labels{/name}","releases_url":"https://api.github.com/repos/NetWilliam/skyline/releases{/id}","deployments_url":"https://api.github.com/repos/NetWilliam/skyline/deployments","created_at":"2016-04-01T02:55:53Z","updated_at":"2016-04-01T02:56:51Z","pushed_at":"2016-04-06T03:08:07Z","git_url":"git://github.com/NetWilliam/skyline.git","ssh_url":"git@github.com:NetWilliam/skyline.git","clone_url":"https://github.com/NetWilliam/skyline.git","svn_url":"https://github.com/NetWilliam/skyline","homepage":null,"size":63,"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":"xiachufang:master","ref":"master","sha":"89e3f576365cf0ba91c3209a8fcdd8b338dc17c4","user":{"login":"xiachufang","id":990080,"avatar_url":"https://avatars.githubusercontent.com/u/990080?v=3","gravatar_id":"","url":"https://api.github.com/users/xiachufang","html_url":"https://github.com/xiachufang","followers_url":"https://api.github.com/users/xiachufang/followers","following_url":"https://api.github.com/users/xiachufang/following{/other_user}","gists_url":"https://api.github.com/users/xiachufang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiachufang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiachufang/subscriptions","organizations_url":"https://api.github.com/users/xiachufang/orgs","repos_url":"https://api.github.com/users/xiachufang/repos","events_url":"https://api.github.com/users/xiachufang/events{/privacy}","received_events_url":"https://api.github.com/users/xiachufang/received_events","type":"Organization","site_admin":false},"repo":{"id":53302377,"name":"skyline","full_name":"xiachufang/skyline","owner":{"login":"xiachufang","id":990080,"avatar_url":"https://avatars.githubusercontent.com/u/990080?v=3","gravatar_id":"","url":"https://api.github.com/users/xiachufang","html_url":"https://github.com/xiachufang","followers_url":"https://api.github.com/users/xiachufang/followers","following_url":"https://api.github.com/users/xiachufang/following{/other_user}","gists_url":"https://api.github.com/users/xiachufang/gists{/gist_id}","starred_url":"https://api.github.com/users/xiachufang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiachufang/subscriptions","organizations_url":"https://api.github.com/users/xiachufang/orgs","repos_url":"https://api.github.com/users/xiachufang/repos","events_url":"https://api.github.com/users/xiachufang/events{/privacy}","received_events_url":"https://api.github.com/users/xiachufang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xiachufang/skyline","description":"","fork":false,"url":"https://api.github.com/repos/xiachufang/skyline","forks_url":"https://api.github.com/repos/xiachufang/skyline/forks","keys_url":"https://api.github.com/repos/xiachufang/skyline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xiachufang/skyline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xiachufang/skyline/teams","hooks_url":"https://api.github.com/repos/xiachufang/skyline/hooks","issue_events_url":"https://api.github.com/repos/xiachufang/skyline/issues/events{/number}","events_url":"https://api.github.com/repos/xiachufang/skyline/events","assignees_url":"https://api.github.com/repos/xiachufang/skyline/assignees{/user}","branches_url":"https://api.github.com/repos/xiachufang/skyline/branches{/branch}","tags_url":"https://api.github.com/repos/xiachufang/skyline/tags","blobs_url":"https://api.github.com/repos/xiachufang/skyline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xiachufang/skyline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xiachufang/skyline/git/refs{/sha}","trees_url":"https://api.github.com/repos/xiachufang/skyline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xiachufang/skyline/statuses/{sha}","languages_url":"https://api.github.com/repos/xiachufang/skyline/languages","stargazers_url":"https://api.github.com/repos/xiachufang/skyline/stargazers","contributors_url":"https://api.github.com/repos/xiachufang/skyline/contributors","subscribers_url":"https://api.github.com/repos/xiachufang/skyline/subscribers","subscription_url":"https://api.github.com/repos/xiachufang/skyline/subscription","commits_url":"https://api.github.com/repos/xiachufang/skyline/commits{/sha}","git_commits_url":"https://api.github.com/repos/xiachufang/skyline/git/commits{/sha}","comments_url":"https://api.github.com/repos/xiachufang/skyline/comments{/number}","issue_comment_url":"https://api.github.com/repos/xiachufang/skyline/issues/comments{/number}","contents_url":"https://api.github.com/repos/xiachufang/skyline/contents/{+path}","compare_url":"https://api.github.com/repos/xiachufang/skyline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xiachufang/skyline/merges","archive_url":"https://api.github.com/repos/xiachufang/skyline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xiachufang/skyline/downloads","issues_url":"https://api.github.com/repos/xiachufang/skyline/issues{/number}","pulls_url":"https://api.github.com/repos/xiachufang/skyline/pulls{/number}","milestones_url":"https://api.github.com/repos/xiachufang/skyline/milestones{/number}","notifications_url":"https://api.github.com/repos/xiachufang/skyline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xiachufang/skyline/labels{/name}","releases_url":"https://api.github.com/repos/xiachufang/skyline/releases{/id}","deployments_url":"https://api.github.com/repos/xiachufang/skyline/deployments","created_at":"2016-03-07T06:48:28Z","updated_at":"2016-03-31T09:52:44Z","pushed_at":"2016-04-06T03:08:07Z","git_url":"git://github.com/xiachufang/skyline.git","ssh_url":"git@github.com:xiachufang/skyline.git","clone_url":"https://github.com/xiachufang/skyline.git","svn_url":"https://github.com/xiachufang/skyline","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xiachufang/skyline/pulls/2"},"html":{"href":"https://github.com/xiachufang/skyline/pull/2"},"issue":{"href":"https://api.github.com/repos/xiachufang/skyline/issues/2"},"comments":{"href":"https://api.github.com/repos/xiachufang/skyline/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/xiachufang/skyline/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/xiachufang/skyline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xiachufang/skyline/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/xiachufang/skyline/statuses/d305bdd15a8adccab56b1de6b7e923dc25456cbb"}}}}