{"action":"closed","number":2500,"pull_request":{"url":"https://api.github.com/repos/nitlang/nit/pulls/2500","id":125909132,"html_url":"https://github.com/nitlang/nit/pull/2500","diff_url":"https://github.com/nitlang/nit/pull/2500.diff","patch_url":"https://github.com/nitlang/nit/pull/2500.patch","issue_url":"https://api.github.com/repos/nitlang/nit/issues/2500","number":2500,"state":"closed","locked":false,"title":"poset: add lookup services in Map to search using keys in hierarchies.","user":{"login":"privat","id":135828,"avatar_url":"https://avatars2.githubusercontent.com/u/135828?v=3","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"body":"3 main methods:\r\n\r\n* `Map::lookup_all_values` collect all values of the greaters of an element\r\n* `Map::lookup_values` collect only the values of the most specific greaters of an element\r\n* `MultiHashMap::lookup_joined_values` collect and join the values of the most specific greaters of an element\r\n\r\nSince many models entities in nitc are in some poset, these services could be used\r\nto add and retrieve metadata while automatically taking in account inheritance or importation.\r\n\r\nSigned-off-by: Jean Privat <jean@pryen.org>","created_at":"2017-06-15T20:48:50Z","updated_at":"2017-07-12T00:57:02Z","closed_at":"2017-07-12T00:57:02Z","merged_at":"2017-07-12T00:57:02Z","merge_commit_sha":"e430c56ed1b7cd369a7a0fefe1f99608f993dd36","assignee":null,"assignees":[],"requested_reviewers":[{"login":"xymus","id":208057,"avatar_url":"https://avatars3.githubusercontent.com/u/208057?v=3","gravatar_id":"","url":"https://api.github.com/users/xymus","html_url":"https://github.com/xymus","followers_url":"https://api.github.com/users/xymus/followers","following_url":"https://api.github.com/users/xymus/following{/other_user}","gists_url":"https://api.github.com/users/xymus/gists{/gist_id}","starred_url":"https://api.github.com/users/xymus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xymus/subscriptions","organizations_url":"https://api.github.com/users/xymus/orgs","repos_url":"https://api.github.com/users/xymus/repos","events_url":"https://api.github.com/users/xymus/events{/privacy}","received_events_url":"https://api.github.com/users/xymus/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nitlang/nit/pulls/2500/commits","review_comments_url":"https://api.github.com/repos/nitlang/nit/pulls/2500/comments","review_comment_url":"https://api.github.com/repos/nitlang/nit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nitlang/nit/issues/2500/comments","statuses_url":"https://api.github.com/repos/nitlang/nit/statuses/e430c56ed1b7cd369a7a0fefe1f99608f993dd36","head":{"label":"privat:poset_lookup","ref":"poset_lookup","sha":"e430c56ed1b7cd369a7a0fefe1f99608f993dd36","user":{"login":"privat","id":135828,"avatar_url":"https://avatars2.githubusercontent.com/u/135828?v=3","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"repo":{"id":41187555,"name":"mynit","full_name":"privat/mynit","owner":{"login":"privat","id":135828,"avatar_url":"https://avatars2.githubusercontent.com/u/135828?v=3","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/privat/mynit","description":"Nit language","fork":true,"url":"https://api.github.com/repos/privat/mynit","forks_url":"https://api.github.com/repos/privat/mynit/forks","keys_url":"https://api.github.com/repos/privat/mynit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/privat/mynit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/privat/mynit/teams","hooks_url":"https://api.github.com/repos/privat/mynit/hooks","issue_events_url":"https://api.github.com/repos/privat/mynit/issues/events{/number}","events_url":"https://api.github.com/repos/privat/mynit/events","assignees_url":"https://api.github.com/repos/privat/mynit/assignees{/user}","branches_url":"https://api.github.com/repos/privat/mynit/branches{/branch}","tags_url":"https://api.github.com/repos/privat/mynit/tags","blobs_url":"https://api.github.com/repos/privat/mynit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/privat/mynit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/privat/mynit/git/refs{/sha}","trees_url":"https://api.github.com/repos/privat/mynit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/privat/mynit/statuses/{sha}","languages_url":"https://api.github.com/repos/privat/mynit/languages","stargazers_url":"https://api.github.com/repos/privat/mynit/stargazers","contributors_url":"https://api.github.com/repos/privat/mynit/contributors","subscribers_url":"https://api.github.com/repos/privat/mynit/subscribers","subscription_url":"https://api.github.com/repos/privat/mynit/subscription","commits_url":"https://api.github.com/repos/privat/mynit/commits{/sha}","git_commits_url":"https://api.github.com/repos/privat/mynit/git/commits{/sha}","comments_url":"https://api.github.com/repos/privat/mynit/comments{/number}","issue_comment_url":"https://api.github.com/repos/privat/mynit/issues/comments{/number}","contents_url":"https://api.github.com/repos/privat/mynit/contents/{+path}","compare_url":"https://api.github.com/repos/privat/mynit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/privat/mynit/merges","archive_url":"https://api.github.com/repos/privat/mynit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/privat/mynit/downloads","issues_url":"https://api.github.com/repos/privat/mynit/issues{/number}","pulls_url":"https://api.github.com/repos/privat/mynit/pulls{/number}","milestones_url":"https://api.github.com/repos/privat/mynit/milestones{/number}","notifications_url":"https://api.github.com/repos/privat/mynit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/privat/mynit/labels{/name}","releases_url":"https://api.github.com/repos/privat/mynit/releases{/id}","deployments_url":"https://api.github.com/repos/privat/mynit/deployments","created_at":"2015-08-22T03:08:04Z","updated_at":"2016-01-29T12:07:28Z","pushed_at":"2017-06-28T19:14:39Z","git_url":"git://github.com/privat/mynit.git","ssh_url":"git@github.com:privat/mynit.git","clone_url":"https://github.com/privat/mynit.git","svn_url":"https://github.com/privat/mynit","homepage":"http://nitlanguage.org","size":120974,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"nitlang:master","ref":"master","sha":"d4c7ad0ed508066e50f367530cd416309a60d15a","user":{"login":"nitlang","id":5420298,"avatar_url":"https://avatars2.githubusercontent.com/u/5420298?v=3","gravatar_id":"","url":"https://api.github.com/users/nitlang","html_url":"https://github.com/nitlang","followers_url":"https://api.github.com/users/nitlang/followers","following_url":"https://api.github.com/users/nitlang/following{/other_user}","gists_url":"https://api.github.com/users/nitlang/gists{/gist_id}","starred_url":"https://api.github.com/users/nitlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitlang/subscriptions","organizations_url":"https://api.github.com/users/nitlang/orgs","repos_url":"https://api.github.com/users/nitlang/repos","events_url":"https://api.github.com/users/nitlang/events{/privacy}","received_events_url":"https://api.github.com/users/nitlang/received_events","type":"Organization","site_admin":false},"repo":{"id":328597,"name":"nit","full_name":"nitlang/nit","owner":{"login":"nitlang","id":5420298,"avatar_url":"https://avatars2.githubusercontent.com/u/5420298?v=3","gravatar_id":"","url":"https://api.github.com/users/nitlang","html_url":"https://github.com/nitlang","followers_url":"https://api.github.com/users/nitlang/followers","following_url":"https://api.github.com/users/nitlang/following{/other_user}","gists_url":"https://api.github.com/users/nitlang/gists{/gist_id}","starred_url":"https://api.github.com/users/nitlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitlang/subscriptions","organizations_url":"https://api.github.com/users/nitlang/orgs","repos_url":"https://api.github.com/users/nitlang/repos","events_url":"https://api.github.com/users/nitlang/events{/privacy}","received_events_url":"https://api.github.com/users/nitlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nitlang/nit","description":"Nit language","fork":false,"url":"https://api.github.com/repos/nitlang/nit","forks_url":"https://api.github.com/repos/nitlang/nit/forks","keys_url":"https://api.github.com/repos/nitlang/nit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitlang/nit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitlang/nit/teams","hooks_url":"https://api.github.com/repos/nitlang/nit/hooks","issue_events_url":"https://api.github.com/repos/nitlang/nit/issues/events{/number}","events_url":"https://api.github.com/repos/nitlang/nit/events","assignees_url":"https://api.github.com/repos/nitlang/nit/assignees{/user}","branches_url":"https://api.github.com/repos/nitlang/nit/branches{/branch}","tags_url":"https://api.github.com/repos/nitlang/nit/tags","blobs_url":"https://api.github.com/repos/nitlang/nit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitlang/nit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitlang/nit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitlang/nit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitlang/nit/statuses/{sha}","languages_url":"https://api.github.com/repos/nitlang/nit/languages","stargazers_url":"https://api.github.com/repos/nitlang/nit/stargazers","contributors_url":"https://api.github.com/repos/nitlang/nit/contributors","subscribers_url":"https://api.github.com/repos/nitlang/nit/subscribers","subscription_url":"https://api.github.com/repos/nitlang/nit/subscription","commits_url":"https://api.github.com/repos/nitlang/nit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitlang/nit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitlang/nit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitlang/nit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitlang/nit/contents/{+path}","compare_url":"https://api.github.com/repos/nitlang/nit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitlang/nit/merges","archive_url":"https://api.github.com/repos/nitlang/nit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitlang/nit/downloads","issues_url":"https://api.github.com/repos/nitlang/nit/issues{/number}","pulls_url":"https://api.github.com/repos/nitlang/nit/pulls{/number}","milestones_url":"https://api.github.com/repos/nitlang/nit/milestones{/number}","notifications_url":"https://api.github.com/repos/nitlang/nit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitlang/nit/labels{/name}","releases_url":"https://api.github.com/repos/nitlang/nit/releases{/id}","deployments_url":"https://api.github.com/repos/nitlang/nit/deployments","created_at":"2009-10-06T15:03:00Z","updated_at":"2017-06-19T01:27:53Z","pushed_at":"2017-07-12T00:56:59Z","git_url":"git://github.com/nitlang/nit.git","ssh_url":"git@github.com:nitlang/nit.git","clone_url":"https://github.com/nitlang/nit.git","svn_url":"https://github.com/nitlang/nit","homepage":"http://nitlanguage.org","size":121175,"stargazers_count":158,"watchers_count":158,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":170,"forks":56,"open_issues":170,"watchers":158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nitlang/nit/pulls/2500"},"html":{"href":"https://github.com/nitlang/nit/pull/2500"},"issue":{"href":"https://api.github.com/repos/nitlang/nit/issues/2500"},"comments":{"href":"https://api.github.com/repos/nitlang/nit/issues/2500/comments"},"review_comments":{"href":"https://api.github.com/repos/nitlang/nit/pulls/2500/comments"},"review_comment":{"href":"https://api.github.com/repos/nitlang/nit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nitlang/nit/pulls/2500/commits"},"statuses":{"href":"https://api.github.com/repos/nitlang/nit/statuses/e430c56ed1b7cd369a7a0fefe1f99608f993dd36"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"privat","id":135828,"avatar_url":"https://avatars2.githubusercontent.com/u/135828?v=3","gravatar_id":"","url":"https://api.github.com/users/privat","html_url":"https://github.com/privat","followers_url":"https://api.github.com/users/privat/followers","following_url":"https://api.github.com/users/privat/following{/other_user}","gists_url":"https://api.github.com/users/privat/gists{/gist_id}","starred_url":"https://api.github.com/users/privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privat/subscriptions","organizations_url":"https://api.github.com/users/privat/orgs","repos_url":"https://api.github.com/users/privat/repos","events_url":"https://api.github.com/users/privat/events{/privacy}","received_events_url":"https://api.github.com/users/privat/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":111,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"privat"}}