{"action":"closed","number":3028,"pull_request":{"url":"https://api.github.com/repos/cfengine/core/pulls/3028","id":169766373,"html_url":"https://github.com/cfengine/core/pull/3028","diff_url":"https://github.com/cfengine/core/pull/3028.diff","patch_url":"https://github.com/cfengine/core/pull/3028.patch","issue_url":"https://api.github.com/repos/cfengine/core/issues/3028","number":3028,"state":"closed","locked":false,"title":"CFE-2733: New hash_to_int function","user":{"login":"olehermanse","id":4048546,"avatar_url":"https://avatars1.githubusercontent.com/u/4048546?v=4","gravatar_id":"","url":"https://api.github.com/users/olehermanse","html_url":"https://github.com/olehermanse","followers_url":"https://api.github.com/users/olehermanse/followers","following_url":"https://api.github.com/users/olehermanse/following{/other_user}","gists_url":"https://api.github.com/users/olehermanse/gists{/gist_id}","starred_url":"https://api.github.com/users/olehermanse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olehermanse/subscriptions","organizations_url":"https://api.github.com/users/olehermanse/orgs","repos_url":"https://api.github.com/users/olehermanse/repos","events_url":"https://api.github.com/users/olehermanse/events{/privacy}","received_events_url":"https://api.github.com/users/olehermanse/received_events","type":"User","site_admin":false},"body":"Can be used instead of randomint, for deterministic outcome.\r\nThe return value is based on a SHA digest of the input string alone.\r\n\r\nChangelog: Title\r\nTicket: CFE-2733\r\n\r\nhttps://ci.cfengine.com/job/pr-pipeline/140/\r\nhttps://ci.cfengine.com/job/pr-pipeline/143/\r\nhttps://ci.cfengine.com/job/pr-pipeline/145/\r\nhttps://ci.cfengine.com/job/pr-pipeline/149/\r\nhttps://ci.cfengine.com/job/pr-pipeline/166/\r\nhttps://ci.cfengine.com/job/pr-pipeline/177/\r\nhttps://ci.cfengine.com/job/pr-pipeline/180/\r\nhttps://ci.cfengine.com/job/pr-pipeline/181/\r\nhttps://ci.cfengine.com/job/pr-pipeline/182/","created_at":"2018-02-17T03:39:11Z","updated_at":"2018-03-19T10:11:04Z","closed_at":"2018-03-19T10:11:04Z","merged_at":"2018-03-19T10:11:04Z","merge_commit_sha":"10ae934758157b9bce20dbba05a8d34fbe8739db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cfengine/core/pulls/3028/commits","review_comments_url":"https://api.github.com/repos/cfengine/core/pulls/3028/comments","review_comment_url":"https://api.github.com/repos/cfengine/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfengine/core/issues/3028/comments","statuses_url":"https://api.github.com/repos/cfengine/core/statuses/e4fe75dc3807f9ab2932f111e76dcc7301e81eb6","head":{"label":"olehermanse:randomint","ref":"randomint","sha":"e4fe75dc3807f9ab2932f111e76dcc7301e81eb6","user":{"login":"olehermanse","id":4048546,"avatar_url":"https://avatars1.githubusercontent.com/u/4048546?v=4","gravatar_id":"","url":"https://api.github.com/users/olehermanse","html_url":"https://github.com/olehermanse","followers_url":"https://api.github.com/users/olehermanse/followers","following_url":"https://api.github.com/users/olehermanse/following{/other_user}","gists_url":"https://api.github.com/users/olehermanse/gists{/gist_id}","starred_url":"https://api.github.com/users/olehermanse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olehermanse/subscriptions","organizations_url":"https://api.github.com/users/olehermanse/orgs","repos_url":"https://api.github.com/users/olehermanse/repos","events_url":"https://api.github.com/users/olehermanse/events{/privacy}","received_events_url":"https://api.github.com/users/olehermanse/received_events","type":"User","site_admin":false},"repo":{"id":66275830,"name":"core","full_name":"olehermanse/core","owner":{"login":"olehermanse","id":4048546,"avatar_url":"https://avatars1.githubusercontent.com/u/4048546?v=4","gravatar_id":"","url":"https://api.github.com/users/olehermanse","html_url":"https://github.com/olehermanse","followers_url":"https://api.github.com/users/olehermanse/followers","following_url":"https://api.github.com/users/olehermanse/following{/other_user}","gists_url":"https://api.github.com/users/olehermanse/gists{/gist_id}","starred_url":"https://api.github.com/users/olehermanse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olehermanse/subscriptions","organizations_url":"https://api.github.com/users/olehermanse/orgs","repos_url":"https://api.github.com/users/olehermanse/repos","events_url":"https://api.github.com/users/olehermanse/events{/privacy}","received_events_url":"https://api.github.com/users/olehermanse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olehermanse/core","description":"CFEngine Community","fork":true,"url":"https://api.github.com/repos/olehermanse/core","forks_url":"https://api.github.com/repos/olehermanse/core/forks","keys_url":"https://api.github.com/repos/olehermanse/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olehermanse/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olehermanse/core/teams","hooks_url":"https://api.github.com/repos/olehermanse/core/hooks","issue_events_url":"https://api.github.com/repos/olehermanse/core/issues/events{/number}","events_url":"https://api.github.com/repos/olehermanse/core/events","assignees_url":"https://api.github.com/repos/olehermanse/core/assignees{/user}","branches_url":"https://api.github.com/repos/olehermanse/core/branches{/branch}","tags_url":"https://api.github.com/repos/olehermanse/core/tags","blobs_url":"https://api.github.com/repos/olehermanse/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olehermanse/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olehermanse/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/olehermanse/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olehermanse/core/statuses/{sha}","languages_url":"https://api.github.com/repos/olehermanse/core/languages","stargazers_url":"https://api.github.com/repos/olehermanse/core/stargazers","contributors_url":"https://api.github.com/repos/olehermanse/core/contributors","subscribers_url":"https://api.github.com/repos/olehermanse/core/subscribers","subscription_url":"https://api.github.com/repos/olehermanse/core/subscription","commits_url":"https://api.github.com/repos/olehermanse/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/olehermanse/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/olehermanse/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/olehermanse/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/olehermanse/core/contents/{+path}","compare_url":"https://api.github.com/repos/olehermanse/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olehermanse/core/merges","archive_url":"https://api.github.com/repos/olehermanse/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olehermanse/core/downloads","issues_url":"https://api.github.com/repos/olehermanse/core/issues{/number}","pulls_url":"https://api.github.com/repos/olehermanse/core/pulls{/number}","milestones_url":"https://api.github.com/repos/olehermanse/core/milestones{/number}","notifications_url":"https://api.github.com/repos/olehermanse/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olehermanse/core/labels{/name}","releases_url":"https://api.github.com/repos/olehermanse/core/releases{/id}","deployments_url":"https://api.github.com/repos/olehermanse/core/deployments","created_at":"2016-08-22T13:38:09Z","updated_at":"2016-10-26T21:37:48Z","pushed_at":"2018-03-18T14:46:16Z","git_url":"git://github.com/olehermanse/core.git","ssh_url":"git@github.com:olehermanse/core.git","clone_url":"https://github.com/olehermanse/core.git","svn_url":"https://github.com/olehermanse/core","homepage":"https://cfengine.com/community/","size":55350,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"cfengine:master","ref":"master","sha":"5c77ad9105037759ba3c915427531b49481a7f8e","user":{"login":"cfengine","id":1239823,"avatar_url":"https://avatars0.githubusercontent.com/u/1239823?v=4","gravatar_id":"","url":"https://api.github.com/users/cfengine","html_url":"https://github.com/cfengine","followers_url":"https://api.github.com/users/cfengine/followers","following_url":"https://api.github.com/users/cfengine/following{/other_user}","gists_url":"https://api.github.com/users/cfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/cfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfengine/subscriptions","organizations_url":"https://api.github.com/users/cfengine/orgs","repos_url":"https://api.github.com/users/cfengine/repos","events_url":"https://api.github.com/users/cfengine/events{/privacy}","received_events_url":"https://api.github.com/users/cfengine/received_events","type":"Organization","site_admin":false},"repo":{"id":3543548,"name":"core","full_name":"cfengine/core","owner":{"login":"cfengine","id":1239823,"avatar_url":"https://avatars0.githubusercontent.com/u/1239823?v=4","gravatar_id":"","url":"https://api.github.com/users/cfengine","html_url":"https://github.com/cfengine","followers_url":"https://api.github.com/users/cfengine/followers","following_url":"https://api.github.com/users/cfengine/following{/other_user}","gists_url":"https://api.github.com/users/cfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/cfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfengine/subscriptions","organizations_url":"https://api.github.com/users/cfengine/orgs","repos_url":"https://api.github.com/users/cfengine/repos","events_url":"https://api.github.com/users/cfengine/events{/privacy}","received_events_url":"https://api.github.com/users/cfengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfengine/core","description":"CFEngine Community","fork":false,"url":"https://api.github.com/repos/cfengine/core","forks_url":"https://api.github.com/repos/cfengine/core/forks","keys_url":"https://api.github.com/repos/cfengine/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfengine/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfengine/core/teams","hooks_url":"https://api.github.com/repos/cfengine/core/hooks","issue_events_url":"https://api.github.com/repos/cfengine/core/issues/events{/number}","events_url":"https://api.github.com/repos/cfengine/core/events","assignees_url":"https://api.github.com/repos/cfengine/core/assignees{/user}","branches_url":"https://api.github.com/repos/cfengine/core/branches{/branch}","tags_url":"https://api.github.com/repos/cfengine/core/tags","blobs_url":"https://api.github.com/repos/cfengine/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfengine/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfengine/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfengine/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfengine/core/statuses/{sha}","languages_url":"https://api.github.com/repos/cfengine/core/languages","stargazers_url":"https://api.github.com/repos/cfengine/core/stargazers","contributors_url":"https://api.github.com/repos/cfengine/core/contributors","subscribers_url":"https://api.github.com/repos/cfengine/core/subscribers","subscription_url":"https://api.github.com/repos/cfengine/core/subscription","commits_url":"https://api.github.com/repos/cfengine/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfengine/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfengine/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfengine/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfengine/core/contents/{+path}","compare_url":"https://api.github.com/repos/cfengine/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfengine/core/merges","archive_url":"https://api.github.com/repos/cfengine/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfengine/core/downloads","issues_url":"https://api.github.com/repos/cfengine/core/issues{/number}","pulls_url":"https://api.github.com/repos/cfengine/core/pulls{/number}","milestones_url":"https://api.github.com/repos/cfengine/core/milestones{/number}","notifications_url":"https://api.github.com/repos/cfengine/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfengine/core/labels{/name}","releases_url":"https://api.github.com/repos/cfengine/core/releases{/id}","deployments_url":"https://api.github.com/repos/cfengine/core/deployments","created_at":"2012-02-25T09:19:05Z","updated_at":"2018-03-17T11:02:03Z","pushed_at":"2018-03-19T10:11:04Z","git_url":"git://github.com/cfengine/core.git","ssh_url":"git@github.com:cfengine/core.git","clone_url":"https://github.com/cfengine/core.git","svn_url":"https://github.com/cfengine/core","homepage":"https://cfengine.com/community/","size":55694,"stargazers_count":284,"watchers_count":284,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":167,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":167,"open_issues":8,"watchers":284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfengine/core/pulls/3028"},"html":{"href":"https://github.com/cfengine/core/pull/3028"},"issue":{"href":"https://api.github.com/repos/cfengine/core/issues/3028"},"comments":{"href":"https://api.github.com/repos/cfengine/core/issues/3028/comments"},"review_comments":{"href":"https://api.github.com/repos/cfengine/core/pulls/3028/comments"},"review_comment":{"href":"https://api.github.com/repos/cfengine/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfengine/core/pulls/3028/commits"},"statuses":{"href":"https://api.github.com/repos/cfengine/core/statuses/e4fe75dc3807f9ab2932f111e76dcc7301e81eb6"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"olehermanse","id":4048546,"avatar_url":"https://avatars1.githubusercontent.com/u/4048546?v=4","gravatar_id":"","url":"https://api.github.com/users/olehermanse","html_url":"https://github.com/olehermanse","followers_url":"https://api.github.com/users/olehermanse/followers","following_url":"https://api.github.com/users/olehermanse/following{/other_user}","gists_url":"https://api.github.com/users/olehermanse/gists{/gist_id}","starred_url":"https://api.github.com/users/olehermanse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olehermanse/subscriptions","organizations_url":"https://api.github.com/users/olehermanse/orgs","repos_url":"https://api.github.com/users/olehermanse/repos","events_url":"https://api.github.com/users/olehermanse/events{/privacy}","received_events_url":"https://api.github.com/users/olehermanse/received_events","type":"User","site_admin":false},"comments":14,"review_comments":5,"maintainer_can_modify":false,"commits":1,"additions":198,"deletions":8,"changed_files":3}}
{"actor":{"display_login":"olehermanse"}}