{"action":"closed","number":1258,"pull_request":{"url":"https://api.github.com/repos/webgme/webgme/pulls/1258","id":97599320,"html_url":"https://github.com/webgme/webgme/pull/1258","diff_url":"https://github.com/webgme/webgme/pull/1258.diff","patch_url":"https://github.com/webgme/webgme/pull/1258.patch","issue_url":"https://api.github.com/repos/webgme/webgme/issues/1258","number":1258,"state":"closed","locked":false,"title":"Provide entrypoint for checking consistency of meta-model.","user":{"login":"pmeijer","id":6518904,"avatar_url":"https://avatars.githubusercontent.com/u/6518904?v=3","gravatar_id":"","url":"https://api.github.com/users/pmeijer","html_url":"https://github.com/pmeijer","followers_url":"https://api.github.com/users/pmeijer/followers","following_url":"https://api.github.com/users/pmeijer/following{/other_user}","gists_url":"https://api.github.com/users/pmeijer/gists{/gist_id}","starred_url":"https://api.github.com/users/pmeijer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmeijer/subscriptions","organizations_url":"https://api.github.com/users/pmeijer/orgs","repos_url":"https://api.github.com/users/pmeijer/repos","events_url":"https://api.github.com/users/pmeijer/events{/privacy}","received_events_url":"https://api.github.com/users/pmeijer/received_events","type":"User","site_admin":false},"body":"By default this is checked from the Meta-Editor on each update.\r\n\r\nThe mixin errors and name collisions are no longer checked separately on each state change by the client. Instead they are part of this check. To get details about the inconsistencies the Meta-Editor provides an invocation button on the toolbar that displays the errors next to the canvas. \r\n\r\nTo check these errors `common/core/metarules.js` provides a method `checkMetaConsistency`, the client exposes this at `client.checkMetaConsistency` (no arguments needed).\r\n\r\nIn short the meta is checked for:\r\n\r\n```\r\n* - Meta name collisions.\r\n* - Referencing nodes outside of the meta.\r\n* - Duplicate definitions from mixins.\r\n* - Collisions between set names and pointers/aspects\r\n* - Invalid regular expression for attributes\r\n* - Invalid min/max for attributes\r\n* - Invalid set/pointer/attribute/aspect/constraint names\r\n```","created_at":"2016-12-12T17:41:50Z","updated_at":"2016-12-12T19:37:16Z","closed_at":"2016-12-12T19:37:16Z","merged_at":"2016-12-12T19:37:16Z","merge_commit_sha":"bb8b0e8c4bc4a720638f83908c954085be162bbf","assignee":{"login":"kecso","id":1371489,"avatar_url":"https://avatars.githubusercontent.com/u/1371489?v=3","gravatar_id":"","url":"https://api.github.com/users/kecso","html_url":"https://github.com/kecso","followers_url":"https://api.github.com/users/kecso/followers","following_url":"https://api.github.com/users/kecso/following{/other_user}","gists_url":"https://api.github.com/users/kecso/gists{/gist_id}","starred_url":"https://api.github.com/users/kecso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kecso/subscriptions","organizations_url":"https://api.github.com/users/kecso/orgs","repos_url":"https://api.github.com/users/kecso/repos","events_url":"https://api.github.com/users/kecso/events{/privacy}","received_events_url":"https://api.github.com/users/kecso/received_events","type":"User","site_admin":false},"assignees":[{"login":"kecso","id":1371489,"avatar_url":"https://avatars.githubusercontent.com/u/1371489?v=3","gravatar_id":"","url":"https://api.github.com/users/kecso","html_url":"https://github.com/kecso","followers_url":"https://api.github.com/users/kecso/followers","following_url":"https://api.github.com/users/kecso/following{/other_user}","gists_url":"https://api.github.com/users/kecso/gists{/gist_id}","starred_url":"https://api.github.com/users/kecso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kecso/subscriptions","organizations_url":"https://api.github.com/users/kecso/orgs","repos_url":"https://api.github.com/users/kecso/repos","events_url":"https://api.github.com/users/kecso/events{/privacy}","received_events_url":"https://api.github.com/users/kecso/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/webgme/webgme/milestones/55","html_url":"https://github.com/webgme/webgme/milestone/55","labels_url":"https://api.github.com/repos/webgme/webgme/milestones/55/labels","id":2150416,"number":55,"title":"v2.8.0","description":"","creator":{"login":"pmeijer","id":6518904,"avatar_url":"https://avatars.githubusercontent.com/u/6518904?v=3","gravatar_id":"","url":"https://api.github.com/users/pmeijer","html_url":"https://github.com/pmeijer","followers_url":"https://api.github.com/users/pmeijer/followers","following_url":"https://api.github.com/users/pmeijer/following{/other_user}","gists_url":"https://api.github.com/users/pmeijer/gists{/gist_id}","starred_url":"https://api.github.com/users/pmeijer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmeijer/subscriptions","organizations_url":"https://api.github.com/users/pmeijer/orgs","repos_url":"https://api.github.com/users/pmeijer/repos","events_url":"https://api.github.com/users/pmeijer/events{/privacy}","received_events_url":"https://api.github.com/users/pmeijer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2016-11-22T02:06:06Z","updated_at":"2016-12-12T19:37:16Z","due_on":"2016-12-19T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/webgme/webgme/pulls/1258/commits","review_comments_url":"https://api.github.com/repos/webgme/webgme/pulls/1258/comments","review_comment_url":"https://api.github.com/repos/webgme/webgme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webgme/webgme/issues/1258/comments","statuses_url":"https://api.github.com/repos/webgme/webgme/statuses/411a4115b54ab1f379d2d235dff78afd05bf3b2d","head":{"label":"webgme:meta_definition_consistency","ref":"meta_definition_consistency","sha":"411a4115b54ab1f379d2d235dff78afd05bf3b2d","user":{"login":"webgme","id":1107609,"avatar_url":"https://avatars.githubusercontent.com/u/1107609?v=3","gravatar_id":"","url":"https://api.github.com/users/webgme","html_url":"https://github.com/webgme","followers_url":"https://api.github.com/users/webgme/followers","following_url":"https://api.github.com/users/webgme/following{/other_user}","gists_url":"https://api.github.com/users/webgme/gists{/gist_id}","starred_url":"https://api.github.com/users/webgme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgme/subscriptions","organizations_url":"https://api.github.com/users/webgme/orgs","repos_url":"https://api.github.com/users/webgme/repos","events_url":"https://api.github.com/users/webgme/events{/privacy}","received_events_url":"https://api.github.com/users/webgme/received_events","type":"Organization","site_admin":false},"repo":{"id":2526173,"name":"webgme","full_name":"webgme/webgme","owner":{"login":"webgme","id":1107609,"avatar_url":"https://avatars.githubusercontent.com/u/1107609?v=3","gravatar_id":"","url":"https://api.github.com/users/webgme","html_url":"https://github.com/webgme","followers_url":"https://api.github.com/users/webgme/followers","following_url":"https://api.github.com/users/webgme/following{/other_user}","gists_url":"https://api.github.com/users/webgme/gists{/gist_id}","starred_url":"https://api.github.com/users/webgme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgme/subscriptions","organizations_url":"https://api.github.com/users/webgme/orgs","repos_url":"https://api.github.com/users/webgme/repos","events_url":"https://api.github.com/users/webgme/events{/privacy}","received_events_url":"https://api.github.com/users/webgme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webgme/webgme","description":"Web-based Generic Modeling Environment","fork":false,"url":"https://api.github.com/repos/webgme/webgme","forks_url":"https://api.github.com/repos/webgme/webgme/forks","keys_url":"https://api.github.com/repos/webgme/webgme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webgme/webgme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webgme/webgme/teams","hooks_url":"https://api.github.com/repos/webgme/webgme/hooks","issue_events_url":"https://api.github.com/repos/webgme/webgme/issues/events{/number}","events_url":"https://api.github.com/repos/webgme/webgme/events","assignees_url":"https://api.github.com/repos/webgme/webgme/assignees{/user}","branches_url":"https://api.github.com/repos/webgme/webgme/branches{/branch}","tags_url":"https://api.github.com/repos/webgme/webgme/tags","blobs_url":"https://api.github.com/repos/webgme/webgme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webgme/webgme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webgme/webgme/git/refs{/sha}","trees_url":"https://api.github.com/repos/webgme/webgme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webgme/webgme/statuses/{sha}","languages_url":"https://api.github.com/repos/webgme/webgme/languages","stargazers_url":"https://api.github.com/repos/webgme/webgme/stargazers","contributors_url":"https://api.github.com/repos/webgme/webgme/contributors","subscribers_url":"https://api.github.com/repos/webgme/webgme/subscribers","subscription_url":"https://api.github.com/repos/webgme/webgme/subscription","commits_url":"https://api.github.com/repos/webgme/webgme/commits{/sha}","git_commits_url":"https://api.github.com/repos/webgme/webgme/git/commits{/sha}","comments_url":"https://api.github.com/repos/webgme/webgme/comments{/number}","issue_comment_url":"https://api.github.com/repos/webgme/webgme/issues/comments{/number}","contents_url":"https://api.github.com/repos/webgme/webgme/contents/{+path}","compare_url":"https://api.github.com/repos/webgme/webgme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webgme/webgme/merges","archive_url":"https://api.github.com/repos/webgme/webgme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webgme/webgme/downloads","issues_url":"https://api.github.com/repos/webgme/webgme/issues{/number}","pulls_url":"https://api.github.com/repos/webgme/webgme/pulls{/number}","milestones_url":"https://api.github.com/repos/webgme/webgme/milestones{/number}","notifications_url":"https://api.github.com/repos/webgme/webgme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webgme/webgme/labels{/name}","releases_url":"https://api.github.com/repos/webgme/webgme/releases{/id}","deployments_url":"https://api.github.com/repos/webgme/webgme/deployments","created_at":"2011-10-06T14:01:08Z","updated_at":"2016-10-24T18:46:13Z","pushed_at":"2016-12-12T19:37:16Z","git_url":"git://github.com/webgme/webgme.git","ssh_url":"git@github.com:webgme/webgme.git","clone_url":"https://github.com/webgme/webgme.git","svn_url":"https://github.com/webgme/webgme","homepage":"https://webgme.org","size":141186,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":29,"forks":21,"open_issues":29,"watchers":32,"default_branch":"master"}},"base":{"label":"webgme:master","ref":"master","sha":"152e39089d0a2bc4da511c475f9365030592ac28","user":{"login":"webgme","id":1107609,"avatar_url":"https://avatars.githubusercontent.com/u/1107609?v=3","gravatar_id":"","url":"https://api.github.com/users/webgme","html_url":"https://github.com/webgme","followers_url":"https://api.github.com/users/webgme/followers","following_url":"https://api.github.com/users/webgme/following{/other_user}","gists_url":"https://api.github.com/users/webgme/gists{/gist_id}","starred_url":"https://api.github.com/users/webgme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgme/subscriptions","organizations_url":"https://api.github.com/users/webgme/orgs","repos_url":"https://api.github.com/users/webgme/repos","events_url":"https://api.github.com/users/webgme/events{/privacy}","received_events_url":"https://api.github.com/users/webgme/received_events","type":"Organization","site_admin":false},"repo":{"id":2526173,"name":"webgme","full_name":"webgme/webgme","owner":{"login":"webgme","id":1107609,"avatar_url":"https://avatars.githubusercontent.com/u/1107609?v=3","gravatar_id":"","url":"https://api.github.com/users/webgme","html_url":"https://github.com/webgme","followers_url":"https://api.github.com/users/webgme/followers","following_url":"https://api.github.com/users/webgme/following{/other_user}","gists_url":"https://api.github.com/users/webgme/gists{/gist_id}","starred_url":"https://api.github.com/users/webgme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgme/subscriptions","organizations_url":"https://api.github.com/users/webgme/orgs","repos_url":"https://api.github.com/users/webgme/repos","events_url":"https://api.github.com/users/webgme/events{/privacy}","received_events_url":"https://api.github.com/users/webgme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webgme/webgme","description":"Web-based Generic Modeling Environment","fork":false,"url":"https://api.github.com/repos/webgme/webgme","forks_url":"https://api.github.com/repos/webgme/webgme/forks","keys_url":"https://api.github.com/repos/webgme/webgme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webgme/webgme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webgme/webgme/teams","hooks_url":"https://api.github.com/repos/webgme/webgme/hooks","issue_events_url":"https://api.github.com/repos/webgme/webgme/issues/events{/number}","events_url":"https://api.github.com/repos/webgme/webgme/events","assignees_url":"https://api.github.com/repos/webgme/webgme/assignees{/user}","branches_url":"https://api.github.com/repos/webgme/webgme/branches{/branch}","tags_url":"https://api.github.com/repos/webgme/webgme/tags","blobs_url":"https://api.github.com/repos/webgme/webgme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webgme/webgme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webgme/webgme/git/refs{/sha}","trees_url":"https://api.github.com/repos/webgme/webgme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webgme/webgme/statuses/{sha}","languages_url":"https://api.github.com/repos/webgme/webgme/languages","stargazers_url":"https://api.github.com/repos/webgme/webgme/stargazers","contributors_url":"https://api.github.com/repos/webgme/webgme/contributors","subscribers_url":"https://api.github.com/repos/webgme/webgme/subscribers","subscription_url":"https://api.github.com/repos/webgme/webgme/subscription","commits_url":"https://api.github.com/repos/webgme/webgme/commits{/sha}","git_commits_url":"https://api.github.com/repos/webgme/webgme/git/commits{/sha}","comments_url":"https://api.github.com/repos/webgme/webgme/comments{/number}","issue_comment_url":"https://api.github.com/repos/webgme/webgme/issues/comments{/number}","contents_url":"https://api.github.com/repos/webgme/webgme/contents/{+path}","compare_url":"https://api.github.com/repos/webgme/webgme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webgme/webgme/merges","archive_url":"https://api.github.com/repos/webgme/webgme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webgme/webgme/downloads","issues_url":"https://api.github.com/repos/webgme/webgme/issues{/number}","pulls_url":"https://api.github.com/repos/webgme/webgme/pulls{/number}","milestones_url":"https://api.github.com/repos/webgme/webgme/milestones{/number}","notifications_url":"https://api.github.com/repos/webgme/webgme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webgme/webgme/labels{/name}","releases_url":"https://api.github.com/repos/webgme/webgme/releases{/id}","deployments_url":"https://api.github.com/repos/webgme/webgme/deployments","created_at":"2011-10-06T14:01:08Z","updated_at":"2016-10-24T18:46:13Z","pushed_at":"2016-12-12T19:37:16Z","git_url":"git://github.com/webgme/webgme.git","ssh_url":"git@github.com:webgme/webgme.git","clone_url":"https://github.com/webgme/webgme.git","svn_url":"https://github.com/webgme/webgme","homepage":"https://webgme.org","size":141186,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":29,"forks":21,"open_issues":29,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webgme/webgme/pulls/1258"},"html":{"href":"https://github.com/webgme/webgme/pull/1258"},"issue":{"href":"https://api.github.com/repos/webgme/webgme/issues/1258"},"comments":{"href":"https://api.github.com/repos/webgme/webgme/issues/1258/comments"},"review_comments":{"href":"https://api.github.com/repos/webgme/webgme/pulls/1258/comments"},"review_comment":{"href":"https://api.github.com/repos/webgme/webgme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webgme/webgme/pulls/1258/commits"},"statuses":{"href":"https://api.github.com/repos/webgme/webgme/statuses/411a4115b54ab1f379d2d235dff78afd05bf3b2d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kecso","id":1371489,"avatar_url":"https://avatars.githubusercontent.com/u/1371489?v=3","gravatar_id":"","url":"https://api.github.com/users/kecso","html_url":"https://github.com/kecso","followers_url":"https://api.github.com/users/kecso/followers","following_url":"https://api.github.com/users/kecso/following{/other_user}","gists_url":"https://api.github.com/users/kecso/gists{/gist_id}","starred_url":"https://api.github.com/users/kecso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kecso/subscriptions","organizations_url":"https://api.github.com/users/kecso/orgs","repos_url":"https://api.github.com/users/kecso/repos","events_url":"https://api.github.com/users/kecso/events{/privacy}","received_events_url":"https://api.github.com/users/kecso/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":2397,"deletions":1372,"changed_files":17}}
{"actor":{"display_login":"kecso"}}