{"action":"opened","number":627,"pull_request":{"url":"https://api.github.com/repos/wocommunity/wonder/pulls/627","id":27903859,"html_url":"https://github.com/wocommunity/wonder/pull/627","diff_url":"https://github.com/wocommunity/wonder/pull/627.diff","patch_url":"https://github.com/wocommunity/wonder/pull/627.patch","issue_url":"https://api.github.com/repos/wocommunity/wonder/issues/627","number":627,"state":"open","locked":false,"title":"changes to ERXMigrator to prevent a model that is listed in the skipMode...","user":{"login":"elemgee","id":690678,"avatar_url":"https://avatars.githubusercontent.com/u/690678?v=3","gravatar_id":"","url":"https://api.github.com/users/elemgee","html_url":"https://github.com/elemgee","followers_url":"https://api.github.com/users/elemgee/followers","following_url":"https://api.github.com/users/elemgee/following{/other_user}","gists_url":"https://api.github.com/users/elemgee/gists{/gist_id}","starred_url":"https://api.github.com/users/elemgee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemgee/subscriptions","organizations_url":"https://api.github.com/users/elemgee/orgs","repos_url":"https://api.github.com/users/elemgee/repos","events_url":"https://api.github.com/users/elemgee/events{/privacy}","received_events_url":"https://api.github.com/users/elemgee/received_events","type":"User","site_admin":false},"body":"...ls property from being included in the migrations map.\r\n\r\nI added the skipModelNames array to _buildDependenciesForModel so that I didn't have to find that again, but if the model to be skipped is included somewhere in a dependency tree somewhere, _buildDependenciesForModel will exit early.\r\nI'm treating the skipModels property as the final word, assuming that there is a reason to skip the migration and if that model is found as a dependency in another model, then you still would not want it to be part of the migration.","created_at":"2015-01-23T06:27:48Z","updated_at":"2015-01-23T06:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wocommunity/wonder/pulls/627/commits","review_comments_url":"https://api.github.com/repos/wocommunity/wonder/pulls/627/comments","review_comment_url":"https://api.github.com/repos/wocommunity/wonder/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wocommunity/wonder/issues/627/comments","statuses_url":"https://api.github.com/repos/wocommunity/wonder/statuses/bfc474d34e7d97b3f5e90a7714ddb18a908e7676","head":{"label":"elemgee:master","ref":"master","sha":"bfc474d34e7d97b3f5e90a7714ddb18a908e7676","user":{"login":"elemgee","id":690678,"avatar_url":"https://avatars.githubusercontent.com/u/690678?v=3","gravatar_id":"","url":"https://api.github.com/users/elemgee","html_url":"https://github.com/elemgee","followers_url":"https://api.github.com/users/elemgee/followers","following_url":"https://api.github.com/users/elemgee/following{/other_user}","gists_url":"https://api.github.com/users/elemgee/gists{/gist_id}","starred_url":"https://api.github.com/users/elemgee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemgee/subscriptions","organizations_url":"https://api.github.com/users/elemgee/orgs","repos_url":"https://api.github.com/users/elemgee/repos","events_url":"https://api.github.com/users/elemgee/events{/privacy}","received_events_url":"https://api.github.com/users/elemgee/received_events","type":"User","site_admin":false},"repo":{"id":18771010,"name":"wonder","full_name":"elemgee/wonder","owner":{"login":"elemgee","id":690678,"avatar_url":"https://avatars.githubusercontent.com/u/690678?v=3","gravatar_id":"","url":"https://api.github.com/users/elemgee","html_url":"https://github.com/elemgee","followers_url":"https://api.github.com/users/elemgee/followers","following_url":"https://api.github.com/users/elemgee/following{/other_user}","gists_url":"https://api.github.com/users/elemgee/gists{/gist_id}","starred_url":"https://api.github.com/users/elemgee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemgee/subscriptions","organizations_url":"https://api.github.com/users/elemgee/orgs","repos_url":"https://api.github.com/users/elemgee/repos","events_url":"https://api.github.com/users/elemgee/events{/privacy}","received_events_url":"https://api.github.com/users/elemgee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elemgee/wonder","description":"Project Wonder","fork":true,"url":"https://api.github.com/repos/elemgee/wonder","forks_url":"https://api.github.com/repos/elemgee/wonder/forks","keys_url":"https://api.github.com/repos/elemgee/wonder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elemgee/wonder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elemgee/wonder/teams","hooks_url":"https://api.github.com/repos/elemgee/wonder/hooks","issue_events_url":"https://api.github.com/repos/elemgee/wonder/issues/events{/number}","events_url":"https://api.github.com/repos/elemgee/wonder/events","assignees_url":"https://api.github.com/repos/elemgee/wonder/assignees{/user}","branches_url":"https://api.github.com/repos/elemgee/wonder/branches{/branch}","tags_url":"https://api.github.com/repos/elemgee/wonder/tags","blobs_url":"https://api.github.com/repos/elemgee/wonder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elemgee/wonder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elemgee/wonder/git/refs{/sha}","trees_url":"https://api.github.com/repos/elemgee/wonder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elemgee/wonder/statuses/{sha}","languages_url":"https://api.github.com/repos/elemgee/wonder/languages","stargazers_url":"https://api.github.com/repos/elemgee/wonder/stargazers","contributors_url":"https://api.github.com/repos/elemgee/wonder/contributors","subscribers_url":"https://api.github.com/repos/elemgee/wonder/subscribers","subscription_url":"https://api.github.com/repos/elemgee/wonder/subscription","commits_url":"https://api.github.com/repos/elemgee/wonder/commits{/sha}","git_commits_url":"https://api.github.com/repos/elemgee/wonder/git/commits{/sha}","comments_url":"https://api.github.com/repos/elemgee/wonder/comments{/number}","issue_comment_url":"https://api.github.com/repos/elemgee/wonder/issues/comments/{number}","contents_url":"https://api.github.com/repos/elemgee/wonder/contents/{+path}","compare_url":"https://api.github.com/repos/elemgee/wonder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elemgee/wonder/merges","archive_url":"https://api.github.com/repos/elemgee/wonder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elemgee/wonder/downloads","issues_url":"https://api.github.com/repos/elemgee/wonder/issues{/number}","pulls_url":"https://api.github.com/repos/elemgee/wonder/pulls{/number}","milestones_url":"https://api.github.com/repos/elemgee/wonder/milestones{/number}","notifications_url":"https://api.github.com/repos/elemgee/wonder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elemgee/wonder/labels{/name}","releases_url":"https://api.github.com/repos/elemgee/wonder/releases{/id}","created_at":"2014-04-14T18:09:41Z","updated_at":"2015-01-23T06:24:08Z","pushed_at":"2015-01-23T06:24:07Z","git_url":"git://github.com/elemgee/wonder.git","ssh_url":"git@github.com:elemgee/wonder.git","clone_url":"https://github.com/elemgee/wonder.git","svn_url":"https://github.com/elemgee/wonder","homepage":"http://wiki.wocommunity.org/","size":235988,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"wocommunity:master","ref":"master","sha":"58e537b5c5e084d184519542b63ef427d1ca45b7","user":{"login":"wocommunity","id":690954,"avatar_url":"https://avatars.githubusercontent.com/u/690954?v=3","gravatar_id":"","url":"https://api.github.com/users/wocommunity","html_url":"https://github.com/wocommunity","followers_url":"https://api.github.com/users/wocommunity/followers","following_url":"https://api.github.com/users/wocommunity/following{/other_user}","gists_url":"https://api.github.com/users/wocommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/wocommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wocommunity/subscriptions","organizations_url":"https://api.github.com/users/wocommunity/orgs","repos_url":"https://api.github.com/users/wocommunity/repos","events_url":"https://api.github.com/users/wocommunity/events{/privacy}","received_events_url":"https://api.github.com/users/wocommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":1520916,"name":"wonder","full_name":"wocommunity/wonder","owner":{"login":"wocommunity","id":690954,"avatar_url":"https://avatars.githubusercontent.com/u/690954?v=3","gravatar_id":"","url":"https://api.github.com/users/wocommunity","html_url":"https://github.com/wocommunity","followers_url":"https://api.github.com/users/wocommunity/followers","following_url":"https://api.github.com/users/wocommunity/following{/other_user}","gists_url":"https://api.github.com/users/wocommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/wocommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wocommunity/subscriptions","organizations_url":"https://api.github.com/users/wocommunity/orgs","repos_url":"https://api.github.com/users/wocommunity/repos","events_url":"https://api.github.com/users/wocommunity/events{/privacy}","received_events_url":"https://api.github.com/users/wocommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wocommunity/wonder","description":"Project Wonder","fork":false,"url":"https://api.github.com/repos/wocommunity/wonder","forks_url":"https://api.github.com/repos/wocommunity/wonder/forks","keys_url":"https://api.github.com/repos/wocommunity/wonder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wocommunity/wonder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wocommunity/wonder/teams","hooks_url":"https://api.github.com/repos/wocommunity/wonder/hooks","issue_events_url":"https://api.github.com/repos/wocommunity/wonder/issues/events{/number}","events_url":"https://api.github.com/repos/wocommunity/wonder/events","assignees_url":"https://api.github.com/repos/wocommunity/wonder/assignees{/user}","branches_url":"https://api.github.com/repos/wocommunity/wonder/branches{/branch}","tags_url":"https://api.github.com/repos/wocommunity/wonder/tags","blobs_url":"https://api.github.com/repos/wocommunity/wonder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wocommunity/wonder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wocommunity/wonder/git/refs{/sha}","trees_url":"https://api.github.com/repos/wocommunity/wonder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wocommunity/wonder/statuses/{sha}","languages_url":"https://api.github.com/repos/wocommunity/wonder/languages","stargazers_url":"https://api.github.com/repos/wocommunity/wonder/stargazers","contributors_url":"https://api.github.com/repos/wocommunity/wonder/contributors","subscribers_url":"https://api.github.com/repos/wocommunity/wonder/subscribers","subscription_url":"https://api.github.com/repos/wocommunity/wonder/subscription","commits_url":"https://api.github.com/repos/wocommunity/wonder/commits{/sha}","git_commits_url":"https://api.github.com/repos/wocommunity/wonder/git/commits{/sha}","comments_url":"https://api.github.com/repos/wocommunity/wonder/comments{/number}","issue_comment_url":"https://api.github.com/repos/wocommunity/wonder/issues/comments/{number}","contents_url":"https://api.github.com/repos/wocommunity/wonder/contents/{+path}","compare_url":"https://api.github.com/repos/wocommunity/wonder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wocommunity/wonder/merges","archive_url":"https://api.github.com/repos/wocommunity/wonder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wocommunity/wonder/downloads","issues_url":"https://api.github.com/repos/wocommunity/wonder/issues{/number}","pulls_url":"https://api.github.com/repos/wocommunity/wonder/pulls{/number}","milestones_url":"https://api.github.com/repos/wocommunity/wonder/milestones{/number}","notifications_url":"https://api.github.com/repos/wocommunity/wonder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wocommunity/wonder/labels{/name}","releases_url":"https://api.github.com/repos/wocommunity/wonder/releases{/id}","created_at":"2011-03-24T13:30:25Z","updated_at":"2015-01-17T15:33:12Z","pushed_at":"2015-01-15T08:54:41Z","git_url":"git://github.com/wocommunity/wonder.git","ssh_url":"git@github.com:wocommunity/wonder.git","clone_url":"https://github.com/wocommunity/wonder.git","svn_url":"https://github.com/wocommunity/wonder","homepage":"http://wiki.wocommunity.org/","size":315470,"stargazers_count":173,"watchers_count":173,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":45,"forks":138,"open_issues":45,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/627"},"html":{"href":"https://github.com/wocommunity/wonder/pull/627"},"issue":{"href":"https://api.github.com/repos/wocommunity/wonder/issues/627"},"comments":{"href":"https://api.github.com/repos/wocommunity/wonder/issues/627/comments"},"review_comments":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/627/comments"},"review_comment":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/627/commits"},"statuses":{"href":"https://api.github.com/repos/wocommunity/wonder/statuses/bfc474d34e7d97b3f5e90a7714ddb18a908e7676"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":8,"changed_files":1}}