{"action":"closed","number":122,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/122","id":62847471,"html_url":"https://github.com/puppetlabs/puppetcpp/pull/122","diff_url":"https://github.com/puppetlabs/puppetcpp/pull/122.diff","patch_url":"https://github.com/puppetlabs/puppetcpp/pull/122.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetcpp/issues/122","number":122,"state":"closed","locked":false,"title":"(NPUP-6) Implement function evaluation.","user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"body":"These commits implement the following:\r\n\r\n* Puppet function evaluation.  Function expressions are now registered with the dispatcher.\r\n* The `--trace` option for the compile command: enables printing out Puppet backtraces.  Native frames (Puppet functions implemented in native code) show up on the backtrace without source information.\r\n* Private module functions (experimental).  Functions in modules can be marked with the 'private' keyword and the caller must come from the same module or else an error is raised.\r\n\r\nMost of the churn comes from amending all of the places where `evaluation_exception` is thrown to capture and store the current Puppet backtrace.\r\n\r\nAdditionally, the `call_evaluator` was removed in favor of discrete evaluators for functions, classes, defined types, and nodes as the former was pretty confusing (\"calling\" a defined type, for instance).","created_at":"2016-03-15T02:39:47Z","updated_at":"2016-03-23T16:28:48Z","closed_at":"2016-03-23T16:28:48Z","merged_at":"2016-03-23T16:28:48Z","merge_commit_sha":"cbbad1001c883c1f23f36cf5d8f25e6fd3ef1331","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/122/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/122/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetcpp/issues/122/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetcpp/statuses/0e4a7a26e9a34aa8f7d3cdd329ce41dc1ef67b59","head":{"label":"peterhuene:func-eval","ref":"func-eval","sha":"0e4a7a26e9a34aa8f7d3cdd329ce41dc1ef67b59","user":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"repo":{"id":47425770,"name":"puppetcpp","full_name":"peterhuene/puppetcpp","owner":{"login":"peterhuene","id":509666,"avatar_url":"https://avatars.githubusercontent.com/u/509666?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhuene","html_url":"https://github.com/peterhuene","followers_url":"https://api.github.com/users/peterhuene/followers","following_url":"https://api.github.com/users/peterhuene/following{/other_user}","gists_url":"https://api.github.com/users/peterhuene/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhuene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhuene/subscriptions","organizations_url":"https://api.github.com/users/peterhuene/orgs","repos_url":"https://api.github.com/users/peterhuene/repos","events_url":"https://api.github.com/users/peterhuene/events{/privacy}","received_events_url":"https://api.github.com/users/peterhuene/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterhuene/puppetcpp","description":"A prototype Puppet compiler written in C++","fork":true,"url":"https://api.github.com/repos/peterhuene/puppetcpp","forks_url":"https://api.github.com/repos/peterhuene/puppetcpp/forks","keys_url":"https://api.github.com/repos/peterhuene/puppetcpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterhuene/puppetcpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterhuene/puppetcpp/teams","hooks_url":"https://api.github.com/repos/peterhuene/puppetcpp/hooks","issue_events_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/events{/number}","events_url":"https://api.github.com/repos/peterhuene/puppetcpp/events","assignees_url":"https://api.github.com/repos/peterhuene/puppetcpp/assignees{/user}","branches_url":"https://api.github.com/repos/peterhuene/puppetcpp/branches{/branch}","tags_url":"https://api.github.com/repos/peterhuene/puppetcpp/tags","blobs_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterhuene/puppetcpp/statuses/{sha}","languages_url":"https://api.github.com/repos/peterhuene/puppetcpp/languages","stargazers_url":"https://api.github.com/repos/peterhuene/puppetcpp/stargazers","contributors_url":"https://api.github.com/repos/peterhuene/puppetcpp/contributors","subscribers_url":"https://api.github.com/repos/peterhuene/puppetcpp/subscribers","subscription_url":"https://api.github.com/repos/peterhuene/puppetcpp/subscription","commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterhuene/puppetcpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterhuene/puppetcpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterhuene/puppetcpp/contents/{+path}","compare_url":"https://api.github.com/repos/peterhuene/puppetcpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterhuene/puppetcpp/merges","archive_url":"https://api.github.com/repos/peterhuene/puppetcpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterhuene/puppetcpp/downloads","issues_url":"https://api.github.com/repos/peterhuene/puppetcpp/issues{/number}","pulls_url":"https://api.github.com/repos/peterhuene/puppetcpp/pulls{/number}","milestones_url":"https://api.github.com/repos/peterhuene/puppetcpp/milestones{/number}","notifications_url":"https://api.github.com/repos/peterhuene/puppetcpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterhuene/puppetcpp/labels{/name}","releases_url":"https://api.github.com/repos/peterhuene/puppetcpp/releases{/id}","deployments_url":"https://api.github.com/repos/peterhuene/puppetcpp/deployments","created_at":"2015-12-04T19:54:56Z","updated_at":"2016-01-16T01:14:42Z","pushed_at":"2016-03-21T23:23:05Z","git_url":"git://github.com/peterhuene/puppetcpp.git","ssh_url":"git@github.com:peterhuene/puppetcpp.git","clone_url":"https://github.com/peterhuene/puppetcpp.git","svn_url":"https://github.com/peterhuene/puppetcpp","homepage":"","size":2192,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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":"puppetlabs:master","ref":"master","sha":"be488ea867853c0aecbf4b11e0af497d5448ca44","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":27908832,"name":"puppetcpp","full_name":"puppetlabs/puppetcpp","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetcpp","description":"A prototype Puppet compiler written in C++","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetcpp","forks_url":"https://api.github.com/repos/puppetlabs/puppetcpp/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetcpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetcpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetcpp/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetcpp/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetcpp/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetcpp/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetcpp/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetcpp/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetcpp/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetcpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetcpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetcpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetcpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetcpp/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetcpp/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetcpp/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetcpp/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetcpp/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetcpp/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetcpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetcpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetcpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetcpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetcpp/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetcpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetcpp/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetcpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetcpp/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetcpp/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetcpp/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetcpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetcpp/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetcpp/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetcpp/deployments","created_at":"2014-12-12T06:45:53Z","updated_at":"2016-03-18T05:37:57Z","pushed_at":"2016-03-23T16:28:48Z","git_url":"git://github.com/puppetlabs/puppetcpp.git","ssh_url":"git@github.com:puppetlabs/puppetcpp.git","clone_url":"https://github.com/puppetlabs/puppetcpp.git","svn_url":"https://github.com/puppetlabs/puppetcpp","homepage":"","size":2196,"stargazers_count":27,"watchers_count":27,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/122"},"html":{"href":"https://github.com/puppetlabs/puppetcpp/pull/122"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/issues/122"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetcpp/statuses/0e4a7a26e9a34aa8f7d3cdd329ce41dc1ef67b59"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hlindberg","id":563066,"avatar_url":"https://avatars.githubusercontent.com/u/563066?v=3","gravatar_id":"","url":"https://api.github.com/users/hlindberg","html_url":"https://github.com/hlindberg","followers_url":"https://api.github.com/users/hlindberg/followers","following_url":"https://api.github.com/users/hlindberg/following{/other_user}","gists_url":"https://api.github.com/users/hlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindberg/subscriptions","organizations_url":"https://api.github.com/users/hlindberg/orgs","repos_url":"https://api.github.com/users/hlindberg/repos","events_url":"https://api.github.com/users/hlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindberg/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"commits":9,"additions":5868,"deletions":1200,"changed_files":144}}