{"action":"opened","number":420,"pull_request":{"url":"https://api.github.com/repos/flux-framework/flux-core/pulls/420","id":46066512,"html_url":"https://github.com/flux-framework/flux-core/pull/420","diff_url":"https://github.com/flux-framework/flux-core/pull/420.diff","patch_url":"https://github.com/flux-framework/flux-core/pull/420.patch","issue_url":"https://api.github.com/repos/flux-framework/flux-core/issues/420","number":420,"state":"open","locked":false,"title":"refactor integer array code in env.c and add test coverage","user":{"login":"garlick","id":169947,"avatar_url":"https://avatars.githubusercontent.com/u/169947?v=3","gravatar_id":"","url":"https://api.github.com/users/garlick","html_url":"https://github.com/garlick","followers_url":"https://api.github.com/users/garlick/followers","following_url":"https://api.github.com/users/garlick/following{/other_user}","gists_url":"https://api.github.com/users/garlick/gists{/gist_id}","starred_url":"https://api.github.com/users/garlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garlick/subscriptions","organizations_url":"https://api.github.com/users/garlick/orgs","repos_url":"https://api.github.com/users/garlick/repos","events_url":"https://api.github.com/users/garlick/events{/privacy}","received_events_url":"https://api.github.com/users/garlick/received_events","type":"User","site_admin":false},"body":"I wrote this a while back when @trws proposed 0d8521af44234ae3e2e484993052d53096b1c4bc to fix to `libutil/env.c::env_getints()` and I noted the implementation was sloppy and had no test coverage.  However I shelved the rewrite and test thinking I was going to be able to get rid of the whole thing when reworking PMI.  That hasn't happened yet so may as well get this in.","created_at":"2015-09-25T22:56:11Z","updated_at":"2015-09-25T22:56:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35ef3e57563ebade08030cb345592714159ae951","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flux-framework/flux-core/pulls/420/commits","review_comments_url":"https://api.github.com/repos/flux-framework/flux-core/pulls/420/comments","review_comment_url":"https://api.github.com/repos/flux-framework/flux-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flux-framework/flux-core/issues/420/comments","statuses_url":"https://api.github.com/repos/flux-framework/flux-core/statuses/19fe65da3a1711a15ee2b99032a7ae6c1b45eef8","head":{"label":"garlick:intarray","ref":"intarray","sha":"19fe65da3a1711a15ee2b99032a7ae6c1b45eef8","user":{"login":"garlick","id":169947,"avatar_url":"https://avatars.githubusercontent.com/u/169947?v=3","gravatar_id":"","url":"https://api.github.com/users/garlick","html_url":"https://github.com/garlick","followers_url":"https://api.github.com/users/garlick/followers","following_url":"https://api.github.com/users/garlick/following{/other_user}","gists_url":"https://api.github.com/users/garlick/gists{/gist_id}","starred_url":"https://api.github.com/users/garlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garlick/subscriptions","organizations_url":"https://api.github.com/users/garlick/orgs","repos_url":"https://api.github.com/users/garlick/repos","events_url":"https://api.github.com/users/garlick/events{/privacy}","received_events_url":"https://api.github.com/users/garlick/received_events","type":"User","site_admin":false},"repo":{"id":24518180,"name":"flux-core","full_name":"garlick/flux-core","owner":{"login":"garlick","id":169947,"avatar_url":"https://avatars.githubusercontent.com/u/169947?v=3","gravatar_id":"","url":"https://api.github.com/users/garlick","html_url":"https://github.com/garlick","followers_url":"https://api.github.com/users/garlick/followers","following_url":"https://api.github.com/users/garlick/following{/other_user}","gists_url":"https://api.github.com/users/garlick/gists{/gist_id}","starred_url":"https://api.github.com/users/garlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garlick/subscriptions","organizations_url":"https://api.github.com/users/garlick/orgs","repos_url":"https://api.github.com/users/garlick/repos","events_url":"https://api.github.com/users/garlick/events{/privacy}","received_events_url":"https://api.github.com/users/garlick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garlick/flux-core","description":"core  services for the Flux resource management framework","fork":true,"url":"https://api.github.com/repos/garlick/flux-core","forks_url":"https://api.github.com/repos/garlick/flux-core/forks","keys_url":"https://api.github.com/repos/garlick/flux-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garlick/flux-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garlick/flux-core/teams","hooks_url":"https://api.github.com/repos/garlick/flux-core/hooks","issue_events_url":"https://api.github.com/repos/garlick/flux-core/issues/events{/number}","events_url":"https://api.github.com/repos/garlick/flux-core/events","assignees_url":"https://api.github.com/repos/garlick/flux-core/assignees{/user}","branches_url":"https://api.github.com/repos/garlick/flux-core/branches{/branch}","tags_url":"https://api.github.com/repos/garlick/flux-core/tags","blobs_url":"https://api.github.com/repos/garlick/flux-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garlick/flux-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garlick/flux-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/garlick/flux-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garlick/flux-core/statuses/{sha}","languages_url":"https://api.github.com/repos/garlick/flux-core/languages","stargazers_url":"https://api.github.com/repos/garlick/flux-core/stargazers","contributors_url":"https://api.github.com/repos/garlick/flux-core/contributors","subscribers_url":"https://api.github.com/repos/garlick/flux-core/subscribers","subscription_url":"https://api.github.com/repos/garlick/flux-core/subscription","commits_url":"https://api.github.com/repos/garlick/flux-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/garlick/flux-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/garlick/flux-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/garlick/flux-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/garlick/flux-core/contents/{+path}","compare_url":"https://api.github.com/repos/garlick/flux-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garlick/flux-core/merges","archive_url":"https://api.github.com/repos/garlick/flux-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garlick/flux-core/downloads","issues_url":"https://api.github.com/repos/garlick/flux-core/issues{/number}","pulls_url":"https://api.github.com/repos/garlick/flux-core/pulls{/number}","milestones_url":"https://api.github.com/repos/garlick/flux-core/milestones{/number}","notifications_url":"https://api.github.com/repos/garlick/flux-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garlick/flux-core/labels{/name}","releases_url":"https://api.github.com/repos/garlick/flux-core/releases{/id}","created_at":"2014-09-26T23:15:54Z","updated_at":"2015-05-07T21:37:12Z","pushed_at":"2015-09-25T22:55:08Z","git_url":"git://github.com/garlick/flux-core.git","ssh_url":"git@github.com:garlick/flux-core.git","clone_url":"https://github.com/garlick/flux-core.git","svn_url":"https://github.com/garlick/flux-core","homepage":"","size":22717,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flux-framework:master","ref":"master","sha":"cda1c45a69adbf181bf9ee43f628f8aec8881487","user":{"login":"flux-framework","id":7545483,"avatar_url":"https://avatars.githubusercontent.com/u/7545483?v=3","gravatar_id":"","url":"https://api.github.com/users/flux-framework","html_url":"https://github.com/flux-framework","followers_url":"https://api.github.com/users/flux-framework/followers","following_url":"https://api.github.com/users/flux-framework/following{/other_user}","gists_url":"https://api.github.com/users/flux-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/flux-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flux-framework/subscriptions","organizations_url":"https://api.github.com/users/flux-framework/orgs","repos_url":"https://api.github.com/users/flux-framework/repos","events_url":"https://api.github.com/users/flux-framework/events{/privacy}","received_events_url":"https://api.github.com/users/flux-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":24517284,"name":"flux-core","full_name":"flux-framework/flux-core","owner":{"login":"flux-framework","id":7545483,"avatar_url":"https://avatars.githubusercontent.com/u/7545483?v=3","gravatar_id":"","url":"https://api.github.com/users/flux-framework","html_url":"https://github.com/flux-framework","followers_url":"https://api.github.com/users/flux-framework/followers","following_url":"https://api.github.com/users/flux-framework/following{/other_user}","gists_url":"https://api.github.com/users/flux-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/flux-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flux-framework/subscriptions","organizations_url":"https://api.github.com/users/flux-framework/orgs","repos_url":"https://api.github.com/users/flux-framework/repos","events_url":"https://api.github.com/users/flux-framework/events{/privacy}","received_events_url":"https://api.github.com/users/flux-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flux-framework/flux-core","description":"core  services for the Flux resource management framework","fork":false,"url":"https://api.github.com/repos/flux-framework/flux-core","forks_url":"https://api.github.com/repos/flux-framework/flux-core/forks","keys_url":"https://api.github.com/repos/flux-framework/flux-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flux-framework/flux-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flux-framework/flux-core/teams","hooks_url":"https://api.github.com/repos/flux-framework/flux-core/hooks","issue_events_url":"https://api.github.com/repos/flux-framework/flux-core/issues/events{/number}","events_url":"https://api.github.com/repos/flux-framework/flux-core/events","assignees_url":"https://api.github.com/repos/flux-framework/flux-core/assignees{/user}","branches_url":"https://api.github.com/repos/flux-framework/flux-core/branches{/branch}","tags_url":"https://api.github.com/repos/flux-framework/flux-core/tags","blobs_url":"https://api.github.com/repos/flux-framework/flux-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flux-framework/flux-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flux-framework/flux-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/flux-framework/flux-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flux-framework/flux-core/statuses/{sha}","languages_url":"https://api.github.com/repos/flux-framework/flux-core/languages","stargazers_url":"https://api.github.com/repos/flux-framework/flux-core/stargazers","contributors_url":"https://api.github.com/repos/flux-framework/flux-core/contributors","subscribers_url":"https://api.github.com/repos/flux-framework/flux-core/subscribers","subscription_url":"https://api.github.com/repos/flux-framework/flux-core/subscription","commits_url":"https://api.github.com/repos/flux-framework/flux-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/flux-framework/flux-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/flux-framework/flux-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/flux-framework/flux-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/flux-framework/flux-core/contents/{+path}","compare_url":"https://api.github.com/repos/flux-framework/flux-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flux-framework/flux-core/merges","archive_url":"https://api.github.com/repos/flux-framework/flux-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flux-framework/flux-core/downloads","issues_url":"https://api.github.com/repos/flux-framework/flux-core/issues{/number}","pulls_url":"https://api.github.com/repos/flux-framework/flux-core/pulls{/number}","milestones_url":"https://api.github.com/repos/flux-framework/flux-core/milestones{/number}","notifications_url":"https://api.github.com/repos/flux-framework/flux-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flux-framework/flux-core/labels{/name}","releases_url":"https://api.github.com/repos/flux-framework/flux-core/releases{/id}","created_at":"2014-09-26T22:27:19Z","updated_at":"2015-09-25T09:16:55Z","pushed_at":"2015-09-25T22:56:12Z","git_url":"git://github.com/flux-framework/flux-core.git","ssh_url":"git@github.com:flux-framework/flux-core.git","clone_url":"https://github.com/flux-framework/flux-core.git","svn_url":"https://github.com/flux-framework/flux-core","homepage":"","size":23059,"stargazers_count":19,"watchers_count":19,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":92,"forks":8,"open_issues":92,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flux-framework/flux-core/pulls/420"},"html":{"href":"https://github.com/flux-framework/flux-core/pull/420"},"issue":{"href":"https://api.github.com/repos/flux-framework/flux-core/issues/420"},"comments":{"href":"https://api.github.com/repos/flux-framework/flux-core/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/flux-framework/flux-core/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/flux-framework/flux-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flux-framework/flux-core/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/flux-framework/flux-core/statuses/19fe65da3a1711a15ee2b99032a7ae6c1b45eef8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":175,"deletions":42,"changed_files":5}}