{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-tools/pulls/comments/92740355","pull_request_review_id":13261366,"id":92740355,"diff_hunk":"@@ -12,7 +12,7 @@\n \n from gitbits import GitBit\n \n-\n+manifest_sample = \"manifest.json\"","path":"manifest-build-tools/lib/manifest.py","position":5,"original_position":5,"commit_id":"3d5def081953509b0dd2bf53c201e6fc8e38804d","original_commit_id":"3d5def081953509b0dd2bf53c201e6fc8e38804d","user":{"login":"panpan0000","id":14049268,"avatar_url":"https://avatars.githubusercontent.com/u/14049268?v=3","gravatar_id":"","url":"https://api.github.com/users/panpan0000","html_url":"https://github.com/panpan0000","followers_url":"https://api.github.com/users/panpan0000/followers","following_url":"https://api.github.com/users/panpan0000/following{/other_user}","gists_url":"https://api.github.com/users/panpan0000/gists{/gist_id}","starred_url":"https://api.github.com/users/panpan0000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panpan0000/subscriptions","organizations_url":"https://api.github.com/users/panpan0000/orgs","repos_url":"https://api.github.com/users/panpan0000/repos","events_url":"https://api.github.com/users/panpan0000/events{/privacy}","received_events_url":"https://api.github.com/users/panpan0000/received_events","type":"User","site_admin":false},"body":"still perfer it with better naming :-)   like manifest.json.sample or manifest.json.template","created_at":"2016-12-16T02:17:35Z","updated_at":"2016-12-16T02:17:35Z","html_url":"https://github.com/RackHD/on-tools/pull/37#discussion_r92740355","pull_request_url":"https://api.github.com/repos/RackHD/on-tools/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tools/pulls/comments/92740355"},"html":{"href":"https://github.com/RackHD/on-tools/pull/37#discussion_r92740355"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-tools/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-tools/pulls/37","id":93514187,"html_url":"https://github.com/RackHD/on-tools/pull/37","diff_url":"https://github.com/RackHD/on-tools/pull/37.diff","patch_url":"https://github.com/RackHD/on-tools/pull/37.patch","issue_url":"https://api.github.com/repos/RackHD/on-tools/issues/37","number":37,"state":"open","locked":false,"title":"Add a script to generate a new manifest","user":{"login":"PengTian0","id":19203416,"avatar_url":"https://avatars.githubusercontent.com/u/19203416?v=3","gravatar_id":"","url":"https://api.github.com/users/PengTian0","html_url":"https://github.com/PengTian0","followers_url":"https://api.github.com/users/PengTian0/followers","following_url":"https://api.github.com/users/PengTian0/following{/other_user}","gists_url":"https://api.github.com/users/PengTian0/gists{/gist_id}","starred_url":"https://api.github.com/users/PengTian0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PengTian0/subscriptions","organizations_url":"https://api.github.com/users/PengTian0/orgs","repos_url":"https://api.github.com/users/PengTian0/repos","events_url":"https://api.github.com/users/PengTian0/events{/privacy}","received_events_url":"https://api.github.com/users/PengTian0/received_events","type":"User","site_admin":false},"body":"**Background**\r\nJenkins will try to build debian packages, vagrant box, ova, docker every night.\r\nAll the packages should use the same source code of rackhd.\r\nIn order to make all the packages building with the same source code of rackhd, we create a job \"CreateManifest\" to generate a manifest file and upload it to bintray.\r\nThe jobs which build packages will download the manifest file from bintray ,  check out repositories according to the manifest, and build packages.\r\n\r\n**Implementation**\r\n1. update the  manifest sample with parameter \"branch\"\r\n2. checkout all the on-xxx repositories according to the updated manifest.\r\n3. get the last commit of each repository before yesterday 23:59:59 \r\n4. update the manifest with the commit.\r\n5. write the manifest to a file which naming with \"branch name\"-\"date of yesterday\" \r\n\r\n**Test Job**\r\nhttp://rackhdci.lss.emc.com/job/Maglev-BRI-Test/job/CreateManifest/\r\n","created_at":"2016-11-14T06:29:16Z","updated_at":"2016-12-16T02:23:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23a4f761b0f8e69ad46c4a2f641b8bc2931b43a4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-tools/pulls/37/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-tools/pulls/37/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-tools/issues/37/comments","statuses_url":"https://api.github.com/repos/RackHD/on-tools/statuses/3d5def081953509b0dd2bf53c201e6fc8e38804d","head":{"label":"PengTian0:feature/manifest-generator","ref":"feature/manifest-generator","sha":"3d5def081953509b0dd2bf53c201e6fc8e38804d","user":{"login":"PengTian0","id":19203416,"avatar_url":"https://avatars.githubusercontent.com/u/19203416?v=3","gravatar_id":"","url":"https://api.github.com/users/PengTian0","html_url":"https://github.com/PengTian0","followers_url":"https://api.github.com/users/PengTian0/followers","following_url":"https://api.github.com/users/PengTian0/following{/other_user}","gists_url":"https://api.github.com/users/PengTian0/gists{/gist_id}","starred_url":"https://api.github.com/users/PengTian0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PengTian0/subscriptions","organizations_url":"https://api.github.com/users/PengTian0/orgs","repos_url":"https://api.github.com/users/PengTian0/repos","events_url":"https://api.github.com/users/PengTian0/events{/privacy}","received_events_url":"https://api.github.com/users/PengTian0/received_events","type":"User","site_admin":false},"repo":{"id":58620365,"name":"on-tools","full_name":"PengTian0/on-tools","owner":{"login":"PengTian0","id":19203416,"avatar_url":"https://avatars.githubusercontent.com/u/19203416?v=3","gravatar_id":"","url":"https://api.github.com/users/PengTian0","html_url":"https://github.com/PengTian0","followers_url":"https://api.github.com/users/PengTian0/followers","following_url":"https://api.github.com/users/PengTian0/following{/other_user}","gists_url":"https://api.github.com/users/PengTian0/gists{/gist_id}","starred_url":"https://api.github.com/users/PengTian0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PengTian0/subscriptions","organizations_url":"https://api.github.com/users/PengTian0/orgs","repos_url":"https://api.github.com/users/PengTian0/repos","events_url":"https://api.github.com/users/PengTian0/events{/privacy}","received_events_url":"https://api.github.com/users/PengTian0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PengTian0/on-tools","description":null,"fork":true,"url":"https://api.github.com/repos/PengTian0/on-tools","forks_url":"https://api.github.com/repos/PengTian0/on-tools/forks","keys_url":"https://api.github.com/repos/PengTian0/on-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PengTian0/on-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PengTian0/on-tools/teams","hooks_url":"https://api.github.com/repos/PengTian0/on-tools/hooks","issue_events_url":"https://api.github.com/repos/PengTian0/on-tools/issues/events{/number}","events_url":"https://api.github.com/repos/PengTian0/on-tools/events","assignees_url":"https://api.github.com/repos/PengTian0/on-tools/assignees{/user}","branches_url":"https://api.github.com/repos/PengTian0/on-tools/branches{/branch}","tags_url":"https://api.github.com/repos/PengTian0/on-tools/tags","blobs_url":"https://api.github.com/repos/PengTian0/on-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PengTian0/on-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PengTian0/on-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/PengTian0/on-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PengTian0/on-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/PengTian0/on-tools/languages","stargazers_url":"https://api.github.com/repos/PengTian0/on-tools/stargazers","contributors_url":"https://api.github.com/repos/PengTian0/on-tools/contributors","subscribers_url":"https://api.github.com/repos/PengTian0/on-tools/subscribers","subscription_url":"https://api.github.com/repos/PengTian0/on-tools/subscription","commits_url":"https://api.github.com/repos/PengTian0/on-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/PengTian0/on-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/PengTian0/on-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/PengTian0/on-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/PengTian0/on-tools/contents/{+path}","compare_url":"https://api.github.com/repos/PengTian0/on-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PengTian0/on-tools/merges","archive_url":"https://api.github.com/repos/PengTian0/on-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PengTian0/on-tools/downloads","issues_url":"https://api.github.com/repos/PengTian0/on-tools/issues{/number}","pulls_url":"https://api.github.com/repos/PengTian0/on-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/PengTian0/on-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/PengTian0/on-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PengTian0/on-tools/labels{/name}","releases_url":"https://api.github.com/repos/PengTian0/on-tools/releases{/id}","deployments_url":"https://api.github.com/repos/PengTian0/on-tools/deployments","created_at":"2016-05-12T07:54:29Z","updated_at":"2016-11-14T03:55:26Z","pushed_at":"2016-12-16T01:32:21Z","git_url":"git://github.com/PengTian0/on-tools.git","ssh_url":"git@github.com:PengTian0/on-tools.git","clone_url":"https://github.com/PengTian0/on-tools.git","svn_url":"https://github.com/PengTian0/on-tools","homepage":null,"size":325,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"RackHD:master","ref":"master","sha":"cc758a8a5de7c09eac3dfdec29b5643cdd9059a7","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690106,"name":"on-tools","full_name":"RackHD/on-tools","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-tools","description":null,"fork":false,"url":"https://api.github.com/repos/RackHD/on-tools","forks_url":"https://api.github.com/repos/RackHD/on-tools/forks","keys_url":"https://api.github.com/repos/RackHD/on-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-tools/teams","hooks_url":"https://api.github.com/repos/RackHD/on-tools/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-tools/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-tools/events","assignees_url":"https://api.github.com/repos/RackHD/on-tools/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-tools/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-tools/tags","blobs_url":"https://api.github.com/repos/RackHD/on-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-tools/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-tools/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-tools/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-tools/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-tools/subscription","commits_url":"https://api.github.com/repos/RackHD/on-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-tools/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-tools/merges","archive_url":"https://api.github.com/repos/RackHD/on-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-tools/downloads","issues_url":"https://api.github.com/repos/RackHD/on-tools/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-tools/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-tools/releases{/id}","deployments_url":"https://api.github.com/repos/RackHD/on-tools/deployments","created_at":"2015-08-31T17:29:38Z","updated_at":"2016-11-11T07:17:06Z","pushed_at":"2016-12-15T16:33:58Z","git_url":"git://github.com/RackHD/on-tools.git","ssh_url":"git@github.com:RackHD/on-tools.git","clone_url":"https://github.com/RackHD/on-tools.git","svn_url":"https://github.com/RackHD/on-tools","homepage":null,"size":297,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":11,"forks":28,"open_issues":11,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tools/pulls/37"},"html":{"href":"https://github.com/RackHD/on-tools/pull/37"},"issue":{"href":"https://api.github.com/repos/RackHD/on-tools/issues/37"},"comments":{"href":"https://api.github.com/repos/RackHD/on-tools/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-tools/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-tools/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-tools/statuses/3d5def081953509b0dd2bf53c201e6fc8e38804d"}}}}
{"actor":{"display_login":"panpan0000"}}