{"action":"opened","number":14921,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/14921","id":40720319,"html_url":"https://github.com/docker/docker/pull/14921","diff_url":"https://github.com/docker/docker/pull/14921.diff","patch_url":"https://github.com/docker/docker/pull/14921.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/14921","number":14921,"state":"open","locked":false,"title":"Fix uses of \"int\" where \"int64\" should be used instead","user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"body":"Some structures use int for sizes and UNIX timestamps. On some\r\nplatforms, int is 32 bits, so this can lead to the year 2038 issues and\r\noverflows when dealing with large containers or layers.\r\n\r\nConsistently use int64 to store sizes and UNIX timestamps in\r\napi/types/types.go. Update related to code accordingly (i.e.\r\nstrconv.FormatInt instead of strconv.Itoa).\r\n\r\nUse int64 in progressreader package to avoid integer overflow when\r\ndealing with large quantities. Update related code accordingly.\r\n\r\nSigned-off-by: Aaron Lehmann <aaron.lehmann@docker.com>","created_at":"2015-07-23T21:26:28Z","updated_at":"2015-07-23T21:26:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/14921/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/14921/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/14921/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/0f0e1f8ebf968b9b3e53cfb2a4357c1817e1331d","head":{"label":"aaronlehmann:int64","ref":"int64","sha":"0f0e1f8ebf968b9b3e53cfb2a4357c1817e1331d","user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"repo":{"id":39463499,"name":"docker","full_name":"aaronlehmann/docker","owner":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaronlehmann/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/aaronlehmann/docker","forks_url":"https://api.github.com/repos/aaronlehmann/docker/forks","keys_url":"https://api.github.com/repos/aaronlehmann/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaronlehmann/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaronlehmann/docker/teams","hooks_url":"https://api.github.com/repos/aaronlehmann/docker/hooks","issue_events_url":"https://api.github.com/repos/aaronlehmann/docker/issues/events{/number}","events_url":"https://api.github.com/repos/aaronlehmann/docker/events","assignees_url":"https://api.github.com/repos/aaronlehmann/docker/assignees{/user}","branches_url":"https://api.github.com/repos/aaronlehmann/docker/branches{/branch}","tags_url":"https://api.github.com/repos/aaronlehmann/docker/tags","blobs_url":"https://api.github.com/repos/aaronlehmann/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaronlehmann/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaronlehmann/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaronlehmann/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaronlehmann/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/aaronlehmann/docker/languages","stargazers_url":"https://api.github.com/repos/aaronlehmann/docker/stargazers","contributors_url":"https://api.github.com/repos/aaronlehmann/docker/contributors","subscribers_url":"https://api.github.com/repos/aaronlehmann/docker/subscribers","subscription_url":"https://api.github.com/repos/aaronlehmann/docker/subscription","commits_url":"https://api.github.com/repos/aaronlehmann/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaronlehmann/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaronlehmann/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaronlehmann/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaronlehmann/docker/contents/{+path}","compare_url":"https://api.github.com/repos/aaronlehmann/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaronlehmann/docker/merges","archive_url":"https://api.github.com/repos/aaronlehmann/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaronlehmann/docker/downloads","issues_url":"https://api.github.com/repos/aaronlehmann/docker/issues{/number}","pulls_url":"https://api.github.com/repos/aaronlehmann/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/aaronlehmann/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/aaronlehmann/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaronlehmann/docker/labels{/name}","releases_url":"https://api.github.com/repos/aaronlehmann/docker/releases{/id}","created_at":"2015-07-21T18:44:59Z","updated_at":"2015-07-21T18:45:07Z","pushed_at":"2015-07-23T21:24:59Z","git_url":"git://github.com/aaronlehmann/docker.git","ssh_url":"git@github.com:aaronlehmann/docker.git","clone_url":"https://github.com/aaronlehmann/docker.git","svn_url":"https://github.com/aaronlehmann/docker","homepage":"http://www.docker.com","size":62457,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"docker:master","ref":"master","sha":"c6f4c192fe33bd04fb2b624c115d176f17de7a06","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-07-23T21:09:14Z","pushed_at":"2015-07-23T21:18:03Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":230073,"stargazers_count":23490,"watchers_count":23490,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5873,"mirror_url":null,"open_issues_count":1030,"forks":5873,"open_issues":1030,"watchers":23490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/14921"},"html":{"href":"https://github.com/docker/docker/pull/14921"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/14921"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/14921/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/14921/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/14921/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/0f0e1f8ebf968b9b3e53cfb2a4357c1817e1331d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":55,"deletions":55,"changed_files":20}}