{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/cmsz/ieducar/pulls/3","id":30899154,"html_url":"https://github.com/cmsz/ieducar/pull/3","diff_url":"https://github.com/cmsz/ieducar/pull/3.diff","patch_url":"https://github.com/cmsz/ieducar/pull/3.patch","issue_url":"https://api.github.com/repos/cmsz/ieducar/issues/3","number":3,"state":"open","locked":false,"title":"Corrigido importação educacenso para tratar corretamente os ids inep.","user":{"login":"lucasdavila","id":225011,"avatar_url":"https://avatars.githubusercontent.com/u/225011?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasdavila","html_url":"https://github.com/lucasdavila","followers_url":"https://api.github.com/users/lucasdavila/followers","following_url":"https://api.github.com/users/lucasdavila/following{/other_user}","gists_url":"https://api.github.com/users/lucasdavila/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasdavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasdavila/subscriptions","organizations_url":"https://api.github.com/users/lucasdavila/orgs","repos_url":"https://api.github.com/users/lucasdavila/repos","events_url":"https://api.github.com/users/lucasdavila/events{/privacy}","received_events_url":"https://api.github.com/users/lucasdavila/received_events","type":"User","site_admin":false},"body":"* Em alguns casos os ids fornecidos pelo INEP são maiores que o maximo\r\npara um valor inteiro.\r\n\r\n  Por este motivo não pode-se usar funções como intval, ou o argumento\r\n  %d junto a função sprintf.\r\n\r\n  Pois ids como 124669026568 seriam transformados em 2147483647.\r\n\r\n* A não correção deste erro, faria com que os registros cujo id inep é\r\n  maior que 2147483647 sejam gravados com o mesmo id (2147483647).\r\n\r\n* Isto tambem causaria a duplicação de dados, uma vez que os scripts de\r\n  importação não encontrariam um registro já importando com o id inep\r\n  (uma vez que o id estaria gravado como 2147483647, não batendo com o\r\n  id inep procurado.","created_at":"2015-03-10T22:28:09Z","updated_at":"2015-03-10T22:28:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cmsz/ieducar/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cmsz/ieducar/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cmsz/ieducar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmsz/ieducar/issues/3/comments","statuses_url":"https://api.github.com/repos/cmsz/ieducar/statuses/4629a8fd9878964d003c376882b68750d250c76a","head":{"label":"ieducativa:serpro/corrige-tratamento-ids-inep","ref":"serpro/corrige-tratamento-ids-inep","sha":"4629a8fd9878964d003c376882b68750d250c76a","user":{"login":"ieducativa","id":8229112,"avatar_url":"https://avatars.githubusercontent.com/u/8229112?v=3","gravatar_id":"","url":"https://api.github.com/users/ieducativa","html_url":"https://github.com/ieducativa","followers_url":"https://api.github.com/users/ieducativa/followers","following_url":"https://api.github.com/users/ieducativa/following{/other_user}","gists_url":"https://api.github.com/users/ieducativa/gists{/gist_id}","starred_url":"https://api.github.com/users/ieducativa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ieducativa/subscriptions","organizations_url":"https://api.github.com/users/ieducativa/orgs","repos_url":"https://api.github.com/users/ieducativa/repos","events_url":"https://api.github.com/users/ieducativa/events{/privacy}","received_events_url":"https://api.github.com/users/ieducativa/received_events","type":"Organization","site_admin":false},"repo":{"id":22082949,"name":"ieducar","full_name":"ieducativa/ieducar","owner":{"login":"ieducativa","id":8229112,"avatar_url":"https://avatars.githubusercontent.com/u/8229112?v=3","gravatar_id":"","url":"https://api.github.com/users/ieducativa","html_url":"https://github.com/ieducativa","followers_url":"https://api.github.com/users/ieducativa/followers","following_url":"https://api.github.com/users/ieducativa/following{/other_user}","gists_url":"https://api.github.com/users/ieducativa/gists{/gist_id}","starred_url":"https://api.github.com/users/ieducativa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ieducativa/subscriptions","organizations_url":"https://api.github.com/users/ieducativa/orgs","repos_url":"https://api.github.com/users/ieducativa/repos","events_url":"https://api.github.com/users/ieducativa/events{/privacy}","received_events_url":"https://api.github.com/users/ieducativa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ieducativa/ieducar","description":"Software livre de gestão escolar","fork":true,"url":"https://api.github.com/repos/ieducativa/ieducar","forks_url":"https://api.github.com/repos/ieducativa/ieducar/forks","keys_url":"https://api.github.com/repos/ieducativa/ieducar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ieducativa/ieducar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ieducativa/ieducar/teams","hooks_url":"https://api.github.com/repos/ieducativa/ieducar/hooks","issue_events_url":"https://api.github.com/repos/ieducativa/ieducar/issues/events{/number}","events_url":"https://api.github.com/repos/ieducativa/ieducar/events","assignees_url":"https://api.github.com/repos/ieducativa/ieducar/assignees{/user}","branches_url":"https://api.github.com/repos/ieducativa/ieducar/branches{/branch}","tags_url":"https://api.github.com/repos/ieducativa/ieducar/tags","blobs_url":"https://api.github.com/repos/ieducativa/ieducar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ieducativa/ieducar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ieducativa/ieducar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ieducativa/ieducar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ieducativa/ieducar/statuses/{sha}","languages_url":"https://api.github.com/repos/ieducativa/ieducar/languages","stargazers_url":"https://api.github.com/repos/ieducativa/ieducar/stargazers","contributors_url":"https://api.github.com/repos/ieducativa/ieducar/contributors","subscribers_url":"https://api.github.com/repos/ieducativa/ieducar/subscribers","subscription_url":"https://api.github.com/repos/ieducativa/ieducar/subscription","commits_url":"https://api.github.com/repos/ieducativa/ieducar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ieducativa/ieducar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ieducativa/ieducar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ieducativa/ieducar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ieducativa/ieducar/contents/{+path}","compare_url":"https://api.github.com/repos/ieducativa/ieducar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ieducativa/ieducar/merges","archive_url":"https://api.github.com/repos/ieducativa/ieducar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ieducativa/ieducar/downloads","issues_url":"https://api.github.com/repos/ieducativa/ieducar/issues{/number}","pulls_url":"https://api.github.com/repos/ieducativa/ieducar/pulls{/number}","milestones_url":"https://api.github.com/repos/ieducativa/ieducar/milestones{/number}","notifications_url":"https://api.github.com/repos/ieducativa/ieducar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ieducativa/ieducar/labels{/name}","releases_url":"https://api.github.com/repos/ieducativa/ieducar/releases{/id}","created_at":"2014-07-21T22:44:58Z","updated_at":"2015-01-07T16:13:10Z","pushed_at":"2015-03-10T22:27:41Z","git_url":"git://github.com/ieducativa/ieducar.git","ssh_url":"git@github.com:ieducativa/ieducar.git","clone_url":"https://github.com/ieducativa/ieducar.git","svn_url":"https://github.com/ieducativa/ieducar","homepage":"http://www.softwarepublico.gov.br/dotlrn/clubs/ieducar","size":12167,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"ieducativa"}},"base":{"label":"cmsz:master","ref":"master","sha":"5bca95c499cc75e6757bd065bf998c50f1da4753","user":{"login":"cmsz","id":1659284,"avatar_url":"https://avatars.githubusercontent.com/u/1659284?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsz","html_url":"https://github.com/cmsz","followers_url":"https://api.github.com/users/cmsz/followers","following_url":"https://api.github.com/users/cmsz/following{/other_user}","gists_url":"https://api.github.com/users/cmsz/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsz/subscriptions","organizations_url":"https://api.github.com/users/cmsz/orgs","repos_url":"https://api.github.com/users/cmsz/repos","events_url":"https://api.github.com/users/cmsz/events{/privacy}","received_events_url":"https://api.github.com/users/cmsz/received_events","type":"User","site_admin":false},"repo":{"id":14691822,"name":"ieducar","full_name":"cmsz/ieducar","owner":{"login":"cmsz","id":1659284,"avatar_url":"https://avatars.githubusercontent.com/u/1659284?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsz","html_url":"https://github.com/cmsz","followers_url":"https://api.github.com/users/cmsz/followers","following_url":"https://api.github.com/users/cmsz/following{/other_user}","gists_url":"https://api.github.com/users/cmsz/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsz/subscriptions","organizations_url":"https://api.github.com/users/cmsz/orgs","repos_url":"https://api.github.com/users/cmsz/repos","events_url":"https://api.github.com/users/cmsz/events{/privacy}","received_events_url":"https://api.github.com/users/cmsz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmsz/ieducar","description":"Sistema de gestão escolar","fork":true,"url":"https://api.github.com/repos/cmsz/ieducar","forks_url":"https://api.github.com/repos/cmsz/ieducar/forks","keys_url":"https://api.github.com/repos/cmsz/ieducar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmsz/ieducar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmsz/ieducar/teams","hooks_url":"https://api.github.com/repos/cmsz/ieducar/hooks","issue_events_url":"https://api.github.com/repos/cmsz/ieducar/issues/events{/number}","events_url":"https://api.github.com/repos/cmsz/ieducar/events","assignees_url":"https://api.github.com/repos/cmsz/ieducar/assignees{/user}","branches_url":"https://api.github.com/repos/cmsz/ieducar/branches{/branch}","tags_url":"https://api.github.com/repos/cmsz/ieducar/tags","blobs_url":"https://api.github.com/repos/cmsz/ieducar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmsz/ieducar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmsz/ieducar/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmsz/ieducar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmsz/ieducar/statuses/{sha}","languages_url":"https://api.github.com/repos/cmsz/ieducar/languages","stargazers_url":"https://api.github.com/repos/cmsz/ieducar/stargazers","contributors_url":"https://api.github.com/repos/cmsz/ieducar/contributors","subscribers_url":"https://api.github.com/repos/cmsz/ieducar/subscribers","subscription_url":"https://api.github.com/repos/cmsz/ieducar/subscription","commits_url":"https://api.github.com/repos/cmsz/ieducar/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmsz/ieducar/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmsz/ieducar/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmsz/ieducar/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmsz/ieducar/contents/{+path}","compare_url":"https://api.github.com/repos/cmsz/ieducar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmsz/ieducar/merges","archive_url":"https://api.github.com/repos/cmsz/ieducar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmsz/ieducar/downloads","issues_url":"https://api.github.com/repos/cmsz/ieducar/issues{/number}","pulls_url":"https://api.github.com/repos/cmsz/ieducar/pulls{/number}","milestones_url":"https://api.github.com/repos/cmsz/ieducar/milestones{/number}","notifications_url":"https://api.github.com/repos/cmsz/ieducar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmsz/ieducar/labels{/name}","releases_url":"https://api.github.com/repos/cmsz/ieducar/releases{/id}","created_at":"2013-11-25T16:59:32Z","updated_at":"2015-02-24T20:12:29Z","pushed_at":"2015-02-24T20:12:23Z","git_url":"git://github.com/cmsz/ieducar.git","ssh_url":"git@github.com:cmsz/ieducar.git","clone_url":"https://github.com/cmsz/ieducar.git","svn_url":"https://github.com/cmsz/ieducar","homepage":"http://www.softwarepublico.gov.br/dotlrn/clubs/ieducar","size":13585,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmsz/ieducar/pulls/3"},"html":{"href":"https://github.com/cmsz/ieducar/pull/3"},"issue":{"href":"https://api.github.com/repos/cmsz/ieducar/issues/3"},"comments":{"href":"https://api.github.com/repos/cmsz/ieducar/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cmsz/ieducar/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cmsz/ieducar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmsz/ieducar/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cmsz/ieducar/statuses/4629a8fd9878964d003c376882b68750d250c76a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":53,"deletions":53,"changed_files":6}}