payload: {"action":"closed","number":820,"pull_request":{"url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/820","id":317722356,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE3NzIyMzU2","html_url":"https://github.com/crossroads/api.goodcity/pull/820","diff_url":"https://github.com/crossroads/api.goodcity/pull/820.diff","patch_url":"https://github.com/crossroads/api.goodcity/pull/820.patch","issue_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/820","number":820,"state":"closed","locked":false,"title":"GCW-2802 create rake task for updating wgt and pcs","user":{"login":"abhinav098","id":26408955,"node_id":"MDQ6VXNlcjI2NDA4OTU1","avatar_url":"https://avatars3.githubusercontent.com/u/26408955?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinav098","html_url":"https://github.com/abhinav098","followers_url":"https://api.github.com/users/abhinav098/followers","following_url":"https://api.github.com/users/abhinav098/following{/other_user}","gists_url":"https://api.github.com/users/abhinav098/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav098/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav098/subscriptions","organizations_url":"https://api.github.com/users/abhinav098/orgs","repos_url":"https://api.github.com/users/abhinav098/repos","events_url":"https://api.github.com/users/abhinav098/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav098/received_events","type":"User","site_admin":false},"body":"### Ticket Link: \r\n\r\nhttps://jira.crossroads.org.hk/browse/GCW-2802\r\n\r\n### What does this PR do?\r\n\r\nFeature: Adds rake task for fetching historical package weight and pieces and store them to GC\r\n\r\n### Screenshots\r\n\r\n![Screen Shot 2019-09-16 at 10 56 42 AM](https://user-images.githubusercontent.com/26408955/64935957-46aa9800-d871-11e9-8751-f2efe4be2755.png)\r\n\r\n\r\n### Linked PR's:\r\n\r\nhttps://bitbucket.org/crfdevs/stockit/commits/aa0ccb1fb865eaeae34b4d0867c5e07ec329c69c?at=master\r\n","created_at":"2019-09-16T05:32:34Z","updated_at":"2019-11-11T05:24:09Z","closed_at":"2019-11-11T05:24:09Z","merged_at":null,"merge_commit_sha":"f1a2a21c6dc1d9c4e5d3b503f3b1a9f3d9132e9c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"steveyken","id":149198,"node_id":"MDQ6VXNlcjE0OTE5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/149198?v=4","gravatar_id":"","url":"https://api.github.com/users/steveyken","html_url":"https://github.com/steveyken","followers_url":"https://api.github.com/users/steveyken/followers","following_url":"https://api.github.com/users/steveyken/following{/other_user}","gists_url":"https://api.github.com/users/steveyken/gists{/gist_id}","starred_url":"https://api.github.com/users/steveyken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveyken/subscriptions","organizations_url":"https://api.github.com/users/steveyken/orgs","repos_url":"https://api.github.com/users/steveyken/repos","events_url":"https://api.github.com/users/steveyken/events{/privacy}","received_events_url":"https://api.github.com/users/steveyken/received_events","type":"User","site_admin":false},{"login":"patrixr","id":1822532,"node_id":"MDQ6VXNlcjE4MjI1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1822532?v=4","gravatar_id":"","url":"https://api.github.com/users/patrixr","html_url":"https://github.com/patrixr","followers_url":"https://api.github.com/users/patrixr/followers","following_url":"https://api.github.com/users/patrixr/following{/other_user}","gists_url":"https://api.github.com/users/patrixr/gists{/gist_id}","starred_url":"https://api.github.com/users/patrixr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrixr/subscriptions","organizations_url":"https://api.github.com/users/patrixr/orgs","repos_url":"https://api.github.com/users/patrixr/repos","events_url":"https://api.github.com/users/patrixr/events{/privacy}","received_events_url":"https://api.github.com/users/patrixr/received_events","type":"User","site_admin":false},{"login":"namrataukirde","id":8424592,"node_id":"MDQ6VXNlcjg0MjQ1OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/8424592?v=4","gravatar_id":"","url":"https://api.github.com/users/namrataukirde","html_url":"https://github.com/namrataukirde","followers_url":"https://api.github.com/users/namrataukirde/followers","following_url":"https://api.github.com/users/namrataukirde/following{/other_user}","gists_url":"https://api.github.com/users/namrataukirde/gists{/gist_id}","starred_url":"https://api.github.com/users/namrataukirde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namrataukirde/subscriptions","organizations_url":"https://api.github.com/users/namrataukirde/orgs","repos_url":"https://api.github.com/users/namrataukirde/repos","events_url":"https://api.github.com/users/namrataukirde/events{/privacy}","received_events_url":"https://api.github.com/users/namrataukirde/received_events","type":"User","site_admin":false},{"login":"Darshan-Chauhan","id":18572215,"node_id":"MDQ6VXNlcjE4NTcyMjE1","avatar_url":"https://avatars2.githubusercontent.com/u/18572215?v=4","gravatar_id":"","url":"https://api.github.com/users/Darshan-Chauhan","html_url":"https://github.com/Darshan-Chauhan","followers_url":"https://api.github.com/users/Darshan-Chauhan/followers","following_url":"https://api.github.com/users/Darshan-Chauhan/following{/other_user}","gists_url":"https://api.github.com/users/Darshan-Chauhan/gists{/gist_id}","starred_url":"https://api.github.com/users/Darshan-Chauhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darshan-Chauhan/subscriptions","organizations_url":"https://api.github.com/users/Darshan-Chauhan/orgs","repos_url":"https://api.github.com/users/Darshan-Chauhan/repos","events_url":"https://api.github.com/users/Darshan-Chauhan/events{/privacy}","received_events_url":"https://api.github.com/users/Darshan-Chauhan/received_events","type":"User","site_admin":false},{"login":"abulsayyad123","id":37627094,"node_id":"MDQ6VXNlcjM3NjI3MDk0","avatar_url":"https://avatars3.githubusercontent.com/u/37627094?v=4","gravatar_id":"","url":"https://api.github.com/users/abulsayyad123","html_url":"https://github.com/abulsayyad123","followers_url":"https://api.github.com/users/abulsayyad123/followers","following_url":"https://api.github.com/users/abulsayyad123/following{/other_user}","gists_url":"https://api.github.com/users/abulsayyad123/gists{/gist_id}","starred_url":"https://api.github.com/users/abulsayyad123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abulsayyad123/subscriptions","organizations_url":"https://api.github.com/users/abulsayyad123/orgs","repos_url":"https://api.github.com/users/abulsayyad123/repos","events_url":"https://api.github.com/users/abulsayyad123/events{/privacy}","received_events_url":"https://api.github.com/users/abulsayyad123/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/820/commits","review_comments_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/820/comments","review_comment_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/820/comments","statuses_url":"https://api.github.com/repos/crossroads/api.goodcity/statuses/46ac858dcc4d611a5c8cea5c055c0318707e1c1e","head":{"label":"crossroads:GCW-2802-create-rake-task-for-updating-wgt-and-pcs","ref":"GCW-2802-create-rake-task-for-updating-wgt-and-pcs","sha":"46ac858dcc4d611a5c8cea5c055c0318707e1c1e","user":{"login":"crossroads","id":141971,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTk3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/141971?v=4","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"repo":{"id":21196107,"node_id":"MDEwOlJlcG9zaXRvcnkyMTE5NjEwNw==","name":"api.goodcity","full_name":"crossroads/api.goodcity","private":false,"owner":{"login":"crossroads","id":141971,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTk3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/141971?v=4","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/crossroads/api.goodcity","description":"GoodCity API server","fork":false,"url":"https://api.github.com/repos/crossroads/api.goodcity","forks_url":"https://api.github.com/repos/crossroads/api.goodcity/forks","keys_url":"https://api.github.com/repos/crossroads/api.goodcity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crossroads/api.goodcity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crossroads/api.goodcity/teams","hooks_url":"https://api.github.com/repos/crossroads/api.goodcity/hooks","issue_events_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/events{/number}","events_url":"https://api.github.com/repos/crossroads/api.goodcity/events","assignees_url":"https://api.github.com/repos/crossroads/api.goodcity/assignees{/user}","branches_url":"https://api.github.com/repos/crossroads/api.goodcity/branches{/branch}","tags_url":"https://api.github.com/repos/crossroads/api.goodcity/tags","blobs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crossroads/api.goodcity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/refs{/sha}","trees_url":"https://api.github.com/repos/crossroads/api.goodcity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crossroads/api.goodcity/statuses/{sha}","languages_url":"https://api.github.com/repos/crossroads/api.goodcity/languages","stargazers_url":"https://api.github.com/repos/crossroads/api.goodcity/stargazers","contributors_url":"https://api.github.com/repos/crossroads/api.goodcity/contributors","subscribers_url":"https://api.github.com/repos/crossroads/api.goodcity/subscribers","subscription_url":"https://api.github.com/repos/crossroads/api.goodcity/subscription","commits_url":"https://api.github.com/repos/crossroads/api.goodcity/commits{/sha}","git_commits_url":"https://api.github.com/repos/crossroads/api.goodcity/git/commits{/sha}","comments_url":"https://api.github.com/repos/crossroads/api.goodcity/comments{/number}","issue_comment_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/comments{/number}","contents_url":"https://api.github.com/repos/crossroads/api.goodcity/contents/{+path}","compare_url":"https://api.github.com/repos/crossroads/api.goodcity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crossroads/api.goodcity/merges","archive_url":"https://api.github.com/repos/crossroads/api.goodcity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crossroads/api.goodcity/downloads","issues_url":"https://api.github.com/repos/crossroads/api.goodcity/issues{/number}","pulls_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls{/number}","milestones_url":"https://api.github.com/repos/crossroads/api.goodcity/milestones{/number}","notifications_url":"https://api.github.com/repos/crossroads/api.goodcity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crossroads/api.goodcity/labels{/name}","releases_url":"https://api.github.com/repos/crossroads/api.goodcity/releases{/id}","deployments_url":"https://api.github.com/repos/crossroads/api.goodcity/deployments","created_at":"2014-06-25T08:40:40Z","updated_at":"2019-11-07T04:54:04Z","pushed_at":"2019-11-11T04:17:22Z","git_url":"git://github.com/crossroads/api.goodcity.git","ssh_url":"git@github.com:crossroads/api.goodcity.git","clone_url":"https://github.com/crossroads/api.goodcity.git","svn_url":"https://github.com/crossroads/api.goodcity","homepage":"https://api.goodcity.hk","size":8297,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":46,"license":null,"forks":6,"open_issues":46,"watchers":7,"default_branch":"master"}},"base":{"label":"crossroads:GCW-2780-add-weight-piece-to-package","ref":"GCW-2780-add-weight-piece-to-package","sha":"9eb3d8baac34559607c985da28b98dbbf4d80aa2","user":{"login":"crossroads","id":141971,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTk3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/141971?v=4","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"repo":{"id":21196107,"node_id":"MDEwOlJlcG9zaXRvcnkyMTE5NjEwNw==","name":"api.goodcity","full_name":"crossroads/api.goodcity","private":false,"owner":{"login":"crossroads","id":141971,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTk3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/141971?v=4","gravatar_id":"","url":"https://api.github.com/users/crossroads","html_url":"https://github.com/crossroads","followers_url":"https://api.github.com/users/crossroads/followers","following_url":"https://api.github.com/users/crossroads/following{/other_user}","gists_url":"https://api.github.com/users/crossroads/gists{/gist_id}","starred_url":"https://api.github.com/users/crossroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossroads/subscriptions","organizations_url":"https://api.github.com/users/crossroads/orgs","repos_url":"https://api.github.com/users/crossroads/repos","events_url":"https://api.github.com/users/crossroads/events{/privacy}","received_events_url":"https://api.github.com/users/crossroads/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/crossroads/api.goodcity","description":"GoodCity API server","fork":false,"url":"https://api.github.com/repos/crossroads/api.goodcity","forks_url":"https://api.github.com/repos/crossroads/api.goodcity/forks","keys_url":"https://api.github.com/repos/crossroads/api.goodcity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crossroads/api.goodcity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crossroads/api.goodcity/teams","hooks_url":"https://api.github.com/repos/crossroads/api.goodcity/hooks","issue_events_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/events{/number}","events_url":"https://api.github.com/repos/crossroads/api.goodcity/events","assignees_url":"https://api.github.com/repos/crossroads/api.goodcity/assignees{/user}","branches_url":"https://api.github.com/repos/crossroads/api.goodcity/branches{/branch}","tags_url":"https://api.github.com/repos/crossroads/api.goodcity/tags","blobs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crossroads/api.goodcity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crossroads/api.goodcity/git/refs{/sha}","trees_url":"https://api.github.com/repos/crossroads/api.goodcity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crossroads/api.goodcity/statuses/{sha}","languages_url":"https://api.github.com/repos/crossroads/api.goodcity/languages","stargazers_url":"https://api.github.com/repos/crossroads/api.goodcity/stargazers","contributors_url":"https://api.github.com/repos/crossroads/api.goodcity/contributors","subscribers_url":"https://api.github.com/repos/crossroads/api.goodcity/subscribers","subscription_url":"https://api.github.com/repos/crossroads/api.goodcity/subscription","commits_url":"https://api.github.com/repos/crossroads/api.goodcity/commits{/sha}","git_commits_url":"https://api.github.com/repos/crossroads/api.goodcity/git/commits{/sha}","comments_url":"https://api.github.com/repos/crossroads/api.goodcity/comments{/number}","issue_comment_url":"https://api.github.com/repos/crossroads/api.goodcity/issues/comments{/number}","contents_url":"https://api.github.com/repos/crossroads/api.goodcity/contents/{+path}","compare_url":"https://api.github.com/repos/crossroads/api.goodcity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crossroads/api.goodcity/merges","archive_url":"https://api.github.com/repos/crossroads/api.goodcity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crossroads/api.goodcity/downloads","issues_url":"https://api.github.com/repos/crossroads/api.goodcity/issues{/number}","pulls_url":"https://api.github.com/repos/crossroads/api.goodcity/pulls{/number}","milestones_url":"https://api.github.com/repos/crossroads/api.goodcity/milestones{/number}","notifications_url":"https://api.github.com/repos/crossroads/api.goodcity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crossroads/api.goodcity/labels{/name}","releases_url":"https://api.github.com/repos/crossroads/api.goodcity/releases{/id}","deployments_url":"https://api.github.com/repos/crossroads/api.goodcity/deployments","created_at":"2014-06-25T08:40:40Z","updated_at":"2019-11-07T04:54:04Z","pushed_at":"2019-11-11T04:17:22Z","git_url":"git://github.com/crossroads/api.goodcity.git","ssh_url":"git@github.com:crossroads/api.goodcity.git","clone_url":"https://github.com/crossroads/api.goodcity.git","svn_url":"https://github.com/crossroads/api.goodcity","homepage":"https://api.goodcity.hk","size":8297,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":46,"license":null,"forks":6,"open_issues":46,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/820"},"html":{"href":"https://github.com/crossroads/api.goodcity/pull/820"},"issue":{"href":"https://api.github.com/repos/crossroads/api.goodcity/issues/820"},"comments":{"href":"https://api.github.com/repos/crossroads/api.goodcity/issues/820/comments"},"review_comments":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/820/comments"},"review_comment":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crossroads/api.goodcity/pulls/820/commits"},"statuses":{"href":"https://api.github.com/repos/crossroads/api.goodcity/statuses/46ac858dcc4d611a5c8cea5c055c0318707e1c1e"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":6,"maintainer_can_modify":false,"commits":4,"additions":22,"deletions":0,"changed_files":2}}
other: {"actor":{"display_login":"abhinav098"}}