{"action":"created","issue":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/1498","repository_url":"https://api.github.com/repos/flux-framework/flux-core","labels_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1498/labels{/name}","comments_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1498/comments","events_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1498/events","html_url":"https://github.com/flux-framework/flux-core/pull/1498","id":319348478,"number":1498,"title":"libidset: public lib for numerically sorted, non-negative integer sets","user":{"login":"garlick","id":169947,"avatar_url":"https://avatars1.githubusercontent.com/u/169947?v=4","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-05-01T22:23:51Z","updated_at":"2018-05-02T15:19:38Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/flux-framework/flux-core/pulls/1498","html_url":"https://github.com/flux-framework/flux-core/pull/1498","diff_url":"https://github.com/flux-framework/flux-core/pull/1498.diff","patch_url":"https://github.com/flux-framework/flux-core/pull/1498.patch"},"body":"As discussed in #1496, this adds a new library that contains a minimal subset of the libutil/nodeset class, cleaned up and reworked for public consumption.\r\n\r\n@dongahn, you might give this a try in flux-framework/flux-sched#330, e.g.\r\n```c\r\n#include <flux/idset.h>\r\n\r\nstruct idset *idset = idset_decode (s_in);\r\nif (!idset)\r\n    // handle error\r\nchar *s_out = idset_encode (idset, IDSET_FLAG_RANGE);\r\nif (!s_out)\r\n    // handle error\r\n// do something with s_out, a range-compressed version of s_in\r\nfree (s_out);\r\nidset_destroy (idset);\r\n```"},"comment":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/comments/386015410","html_url":"https://github.com/flux-framework/flux-core/pull/1498#issuecomment-386015410","issue_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1498","id":386015410,"user":{"login":"garlick","id":169947,"avatar_url":"https://avatars1.githubusercontent.com/u/169947?v=4","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},"created_at":"2018-05-02T15:19:38Z","updated_at":"2018-05-02T15:19:38Z","author_association":"OWNER","body":"Actually... please hold off merging this for a bit.  I'd like a last minute chance to review whether I'm using signed vs unsigned ints in all the right places here."}}
{"actor":{"display_login":"garlick"}}