{"action":"opened","number":112,"pull_request":{"url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/112","id":41667184,"html_url":"https://github.com/uaprom-summer-2015/Meowth/pull/112","diff_url":"https://github.com/uaprom-summer-2015/Meowth/pull/112.diff","patch_url":"https://github.com/uaprom-summer-2015/Meowth/pull/112.patch","issue_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/112","number":112,"state":"open","locked":false,"title":"Commands","user":{"login":"anxolerd","id":6533582,"avatar_url":"https://avatars.githubusercontent.com/u/6533582?v=3","gravatar_id":"","url":"https://api.github.com/users/anxolerd","html_url":"https://github.com/anxolerd","followers_url":"https://api.github.com/users/anxolerd/followers","following_url":"https://api.github.com/users/anxolerd/following{/other_user}","gists_url":"https://api.github.com/users/anxolerd/gists{/gist_id}","starred_url":"https://api.github.com/users/anxolerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anxolerd/subscriptions","organizations_url":"https://api.github.com/users/anxolerd/orgs","repos_url":"https://api.github.com/users/anxolerd/repos","events_url":"https://api.github.com/users/anxolerd/events{/privacy}","received_events_url":"https://api.github.com/users/anxolerd/received_events","type":"User","site_admin":false},"body":"# Refactored manage scripts structure\r\n## Changelog\r\n- Separated commands into modules:\r\n  - dbutils (database initialization, populating db w/ fixtures, dropping db)\r\n  - static (performing `npm`, `bower` and `gulp` commands)\r\n- Replaced `wrap_logging` with more beautiful `perform` contextmanager. This context manager (`perform`) was borrowed from [[here]](https://github.com/Orhideous/twicher/blob/master/twicher/utils.py) and was modified a little\r\n- Database utils now affected w/ migrations:\r\n  - `dbutils init` uses migrate scripts\r\n  - `dbutils drop` also drops the migration table\r\n- Instead of having two scripts `init_db` and `init_empty_db` the `dbutils init` script is used. Pass the `--populate` (or `-p`) parameter to populate database after creation.","created_at":"2015-08-05T11:06:56Z","updated_at":"2015-08-05T11:06:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/112/commits","review_comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/112/comments","review_comment_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/112/comments","statuses_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/8227f7077e067e5f76804febc864a097a39fb2e2","head":{"label":"uaprom-summer-2015:commands","ref":"commands","sha":"8227f7077e067e5f76804febc864a097a39fb2e2","user":{"login":"uaprom-summer-2015","id":13165943,"avatar_url":"https://avatars.githubusercontent.com/u/13165943?v=3","gravatar_id":"","url":"https://api.github.com/users/uaprom-summer-2015","html_url":"https://github.com/uaprom-summer-2015","followers_url":"https://api.github.com/users/uaprom-summer-2015/followers","following_url":"https://api.github.com/users/uaprom-summer-2015/following{/other_user}","gists_url":"https://api.github.com/users/uaprom-summer-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/uaprom-summer-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaprom-summer-2015/subscriptions","organizations_url":"https://api.github.com/users/uaprom-summer-2015/orgs","repos_url":"https://api.github.com/users/uaprom-summer-2015/repos","events_url":"https://api.github.com/users/uaprom-summer-2015/events{/privacy}","received_events_url":"https://api.github.com/users/uaprom-summer-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":38690649,"name":"Meowth","full_name":"uaprom-summer-2015/Meowth","owner":{"login":"uaprom-summer-2015","id":13165943,"avatar_url":"https://avatars.githubusercontent.com/u/13165943?v=3","gravatar_id":"","url":"https://api.github.com/users/uaprom-summer-2015","html_url":"https://github.com/uaprom-summer-2015","followers_url":"https://api.github.com/users/uaprom-summer-2015/followers","following_url":"https://api.github.com/users/uaprom-summer-2015/following{/other_user}","gists_url":"https://api.github.com/users/uaprom-summer-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/uaprom-summer-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaprom-summer-2015/subscriptions","organizations_url":"https://api.github.com/users/uaprom-summer-2015/orgs","repos_url":"https://api.github.com/users/uaprom-summer-2015/repos","events_url":"https://api.github.com/users/uaprom-summer-2015/events{/privacy}","received_events_url":"https://api.github.com/users/uaprom-summer-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uaprom-summer-2015/Meowth","description":"Yet another CMS for common use","fork":false,"url":"https://api.github.com/repos/uaprom-summer-2015/Meowth","forks_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/forks","keys_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/teams","hooks_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/hooks","issue_events_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/events{/number}","events_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/events","assignees_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/assignees{/user}","branches_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/branches{/branch}","tags_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/tags","blobs_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/refs{/sha}","trees_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/{sha}","languages_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/languages","stargazers_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/stargazers","contributors_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/contributors","subscribers_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/subscribers","subscription_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/subscription","commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/commits{/sha}","git_commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/commits{/sha}","comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/comments{/number}","issue_comment_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/comments{/number}","contents_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/contents/{+path}","compare_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/merges","archive_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/downloads","issues_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues{/number}","pulls_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls{/number}","milestones_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/milestones{/number}","notifications_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/labels{/name}","releases_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/releases{/id}","created_at":"2015-07-07T13:49:41Z","updated_at":"2015-07-31T13:20:32Z","pushed_at":"2015-08-05T10:56:29Z","git_url":"git://github.com/uaprom-summer-2015/Meowth.git","ssh_url":"git@github.com:uaprom-summer-2015/Meowth.git","clone_url":"https://github.com/uaprom-summer-2015/Meowth.git","svn_url":"https://github.com/uaprom-summer-2015/Meowth","homepage":"","size":7773,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"uaprom-summer-2015:master","ref":"master","sha":"87665b5e59dadb38a4a5a523d63b02d109f7014e","user":{"login":"uaprom-summer-2015","id":13165943,"avatar_url":"https://avatars.githubusercontent.com/u/13165943?v=3","gravatar_id":"","url":"https://api.github.com/users/uaprom-summer-2015","html_url":"https://github.com/uaprom-summer-2015","followers_url":"https://api.github.com/users/uaprom-summer-2015/followers","following_url":"https://api.github.com/users/uaprom-summer-2015/following{/other_user}","gists_url":"https://api.github.com/users/uaprom-summer-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/uaprom-summer-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaprom-summer-2015/subscriptions","organizations_url":"https://api.github.com/users/uaprom-summer-2015/orgs","repos_url":"https://api.github.com/users/uaprom-summer-2015/repos","events_url":"https://api.github.com/users/uaprom-summer-2015/events{/privacy}","received_events_url":"https://api.github.com/users/uaprom-summer-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":38690649,"name":"Meowth","full_name":"uaprom-summer-2015/Meowth","owner":{"login":"uaprom-summer-2015","id":13165943,"avatar_url":"https://avatars.githubusercontent.com/u/13165943?v=3","gravatar_id":"","url":"https://api.github.com/users/uaprom-summer-2015","html_url":"https://github.com/uaprom-summer-2015","followers_url":"https://api.github.com/users/uaprom-summer-2015/followers","following_url":"https://api.github.com/users/uaprom-summer-2015/following{/other_user}","gists_url":"https://api.github.com/users/uaprom-summer-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/uaprom-summer-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaprom-summer-2015/subscriptions","organizations_url":"https://api.github.com/users/uaprom-summer-2015/orgs","repos_url":"https://api.github.com/users/uaprom-summer-2015/repos","events_url":"https://api.github.com/users/uaprom-summer-2015/events{/privacy}","received_events_url":"https://api.github.com/users/uaprom-summer-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uaprom-summer-2015/Meowth","description":"Yet another CMS for common use","fork":false,"url":"https://api.github.com/repos/uaprom-summer-2015/Meowth","forks_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/forks","keys_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/teams","hooks_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/hooks","issue_events_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/events{/number}","events_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/events","assignees_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/assignees{/user}","branches_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/branches{/branch}","tags_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/tags","blobs_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/refs{/sha}","trees_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/{sha}","languages_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/languages","stargazers_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/stargazers","contributors_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/contributors","subscribers_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/subscribers","subscription_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/subscription","commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/commits{/sha}","git_commits_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/git/commits{/sha}","comments_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/comments{/number}","issue_comment_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/comments{/number}","contents_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/contents/{+path}","compare_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/merges","archive_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/downloads","issues_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues{/number}","pulls_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls{/number}","milestones_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/milestones{/number}","notifications_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/labels{/name}","releases_url":"https://api.github.com/repos/uaprom-summer-2015/Meowth/releases{/id}","created_at":"2015-07-07T13:49:41Z","updated_at":"2015-07-31T13:20:32Z","pushed_at":"2015-08-05T10:56:29Z","git_url":"git://github.com/uaprom-summer-2015/Meowth.git","ssh_url":"git@github.com:uaprom-summer-2015/Meowth.git","clone_url":"https://github.com/uaprom-summer-2015/Meowth.git","svn_url":"https://github.com/uaprom-summer-2015/Meowth","homepage":"","size":7773,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/112"},"html":{"href":"https://github.com/uaprom-summer-2015/Meowth/pull/112"},"issue":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/112"},"comments":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/uaprom-summer-2015/Meowth/statuses/8227f7077e067e5f76804febc864a097a39fb2e2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":236,"deletions":103,"changed_files":5}}