{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/41","id":54740109,"html_url":"https://github.com/epogrebnyak/cbr-db/pull/41","diff_url":"https://github.com/epogrebnyak/cbr-db/pull/41.diff","patch_url":"https://github.com/epogrebnyak/cbr-db/pull/41.patch","issue_url":"https://api.github.com/repos/epogrebnyak/cbr-db/issues/41","number":41,"state":"open","locked":false,"title":"Wrapper script","user":{"login":"alexanderlukanin13","id":4417580,"avatar_url":"https://avatars.githubusercontent.com/u/4417580?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderlukanin13","html_url":"https://github.com/alexanderlukanin13","followers_url":"https://api.github.com/users/alexanderlukanin13/followers","following_url":"https://api.github.com/users/alexanderlukanin13/following{/other_user}","gists_url":"https://api.github.com/users/alexanderlukanin13/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderlukanin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderlukanin13/subscriptions","organizations_url":"https://api.github.com/users/alexanderlukanin13/orgs","repos_url":"https://api.github.com/users/alexanderlukanin13/repos","events_url":"https://api.github.com/users/alexanderlukanin13/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderlukanin13/received_events","type":"User","site_admin":false},"body":"Convenient cross-platform script to run everything at once.\r\nCurrently supports two \"programs\": the simple one mentioned in README, and the full one also known as \"разовая выгрузка\".\r\n\r\nTo run \"разовая выгрузка\":\r\n\r\n    python wrapper.py full 101 2013 2015 --regn=1481,354,1000,1623,2748,3349,1326,1470,1942,2790,3340,964\r\n\r\n(requires test_user/test_password patch - I'll update it soon)\r\n\r\nKnown issues:\r\n1. Since bankform.py is not \"fail-fast\", some error occurring in the middle of downloading may go unnoticed. I recommend that in the future we introduce a policy: bankform.py should immediately crash and return nonzero exit code on the first error.","created_at":"2015-12-29T16:43:39Z","updated_at":"2015-12-29T16:43:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/41/commits","review_comments_url":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/41/comments","review_comment_url":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epogrebnyak/cbr-db/issues/41/comments","statuses_url":"https://api.github.com/repos/epogrebnyak/cbr-db/statuses/7d856b2c1c38a98c2b7974f2b13b38810752aea2","head":{"label":"alexanderlukanin13:wrapper","ref":"wrapper","sha":"7d856b2c1c38a98c2b7974f2b13b38810752aea2","user":{"login":"alexanderlukanin13","id":4417580,"avatar_url":"https://avatars.githubusercontent.com/u/4417580?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderlukanin13","html_url":"https://github.com/alexanderlukanin13","followers_url":"https://api.github.com/users/alexanderlukanin13/followers","following_url":"https://api.github.com/users/alexanderlukanin13/following{/other_user}","gists_url":"https://api.github.com/users/alexanderlukanin13/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderlukanin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderlukanin13/subscriptions","organizations_url":"https://api.github.com/users/alexanderlukanin13/orgs","repos_url":"https://api.github.com/users/alexanderlukanin13/repos","events_url":"https://api.github.com/users/alexanderlukanin13/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderlukanin13/received_events","type":"User","site_admin":false},"repo":{"id":48735276,"name":"cbr-db","full_name":"alexanderlukanin13/cbr-db","owner":{"login":"alexanderlukanin13","id":4417580,"avatar_url":"https://avatars.githubusercontent.com/u/4417580?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderlukanin13","html_url":"https://github.com/alexanderlukanin13","followers_url":"https://api.github.com/users/alexanderlukanin13/followers","following_url":"https://api.github.com/users/alexanderlukanin13/following{/other_user}","gists_url":"https://api.github.com/users/alexanderlukanin13/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderlukanin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderlukanin13/subscriptions","organizations_url":"https://api.github.com/users/alexanderlukanin13/orgs","repos_url":"https://api.github.com/users/alexanderlukanin13/repos","events_url":"https://api.github.com/users/alexanderlukanin13/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderlukanin13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexanderlukanin13/cbr-db","description":"Russian banking sector statistics tools (ETL)","fork":true,"url":"https://api.github.com/repos/alexanderlukanin13/cbr-db","forks_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/forks","keys_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/teams","hooks_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/hooks","issue_events_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/issues/events{/number}","events_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/events","assignees_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/assignees{/user}","branches_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/branches{/branch}","tags_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/tags","blobs_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/statuses/{sha}","languages_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/languages","stargazers_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/stargazers","contributors_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/contributors","subscribers_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/subscribers","subscription_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/subscription","commits_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/contents/{+path}","compare_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/merges","archive_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/downloads","issues_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/issues{/number}","pulls_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/pulls{/number}","milestones_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/milestones{/number}","notifications_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/labels{/name}","releases_url":"https://api.github.com/repos/alexanderlukanin13/cbr-db/releases{/id}","created_at":"2015-12-29T07:49:09Z","updated_at":"2015-12-29T07:49:10Z","pushed_at":"2015-12-29T16:35:11Z","git_url":"git://github.com/alexanderlukanin13/cbr-db.git","ssh_url":"git@github.com:alexanderlukanin13/cbr-db.git","clone_url":"https://github.com/alexanderlukanin13/cbr-db.git","svn_url":"https://github.com/alexanderlukanin13/cbr-db","homepage":"","size":2238,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","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":"epogrebnyak:master","ref":"master","sha":"ab656e89d7d92ab8dbaaffd505a13c93ac7b6d80","user":{"login":"epogrebnyak","id":9265326,"avatar_url":"https://avatars.githubusercontent.com/u/9265326?v=3","gravatar_id":"","url":"https://api.github.com/users/epogrebnyak","html_url":"https://github.com/epogrebnyak","followers_url":"https://api.github.com/users/epogrebnyak/followers","following_url":"https://api.github.com/users/epogrebnyak/following{/other_user}","gists_url":"https://api.github.com/users/epogrebnyak/gists{/gist_id}","starred_url":"https://api.github.com/users/epogrebnyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epogrebnyak/subscriptions","organizations_url":"https://api.github.com/users/epogrebnyak/orgs","repos_url":"https://api.github.com/users/epogrebnyak/repos","events_url":"https://api.github.com/users/epogrebnyak/events{/privacy}","received_events_url":"https://api.github.com/users/epogrebnyak/received_events","type":"User","site_admin":false},"repo":{"id":36961753,"name":"cbr-db","full_name":"epogrebnyak/cbr-db","owner":{"login":"epogrebnyak","id":9265326,"avatar_url":"https://avatars.githubusercontent.com/u/9265326?v=3","gravatar_id":"","url":"https://api.github.com/users/epogrebnyak","html_url":"https://github.com/epogrebnyak","followers_url":"https://api.github.com/users/epogrebnyak/followers","following_url":"https://api.github.com/users/epogrebnyak/following{/other_user}","gists_url":"https://api.github.com/users/epogrebnyak/gists{/gist_id}","starred_url":"https://api.github.com/users/epogrebnyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epogrebnyak/subscriptions","organizations_url":"https://api.github.com/users/epogrebnyak/orgs","repos_url":"https://api.github.com/users/epogrebnyak/repos","events_url":"https://api.github.com/users/epogrebnyak/events{/privacy}","received_events_url":"https://api.github.com/users/epogrebnyak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/epogrebnyak/cbr-db","description":"Russian banking sector statistics tools (ETL)","fork":false,"url":"https://api.github.com/repos/epogrebnyak/cbr-db","forks_url":"https://api.github.com/repos/epogrebnyak/cbr-db/forks","keys_url":"https://api.github.com/repos/epogrebnyak/cbr-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epogrebnyak/cbr-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epogrebnyak/cbr-db/teams","hooks_url":"https://api.github.com/repos/epogrebnyak/cbr-db/hooks","issue_events_url":"https://api.github.com/repos/epogrebnyak/cbr-db/issues/events{/number}","events_url":"https://api.github.com/repos/epogrebnyak/cbr-db/events","assignees_url":"https://api.github.com/repos/epogrebnyak/cbr-db/assignees{/user}","branches_url":"https://api.github.com/repos/epogrebnyak/cbr-db/branches{/branch}","tags_url":"https://api.github.com/repos/epogrebnyak/cbr-db/tags","blobs_url":"https://api.github.com/repos/epogrebnyak/cbr-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epogrebnyak/cbr-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epogrebnyak/cbr-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/epogrebnyak/cbr-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epogrebnyak/cbr-db/statuses/{sha}","languages_url":"https://api.github.com/repos/epogrebnyak/cbr-db/languages","stargazers_url":"https://api.github.com/repos/epogrebnyak/cbr-db/stargazers","contributors_url":"https://api.github.com/repos/epogrebnyak/cbr-db/contributors","subscribers_url":"https://api.github.com/repos/epogrebnyak/cbr-db/subscribers","subscription_url":"https://api.github.com/repos/epogrebnyak/cbr-db/subscription","commits_url":"https://api.github.com/repos/epogrebnyak/cbr-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/epogrebnyak/cbr-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/epogrebnyak/cbr-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/epogrebnyak/cbr-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/epogrebnyak/cbr-db/contents/{+path}","compare_url":"https://api.github.com/repos/epogrebnyak/cbr-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epogrebnyak/cbr-db/merges","archive_url":"https://api.github.com/repos/epogrebnyak/cbr-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epogrebnyak/cbr-db/downloads","issues_url":"https://api.github.com/repos/epogrebnyak/cbr-db/issues{/number}","pulls_url":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls{/number}","milestones_url":"https://api.github.com/repos/epogrebnyak/cbr-db/milestones{/number}","notifications_url":"https://api.github.com/repos/epogrebnyak/cbr-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epogrebnyak/cbr-db/labels{/name}","releases_url":"https://api.github.com/repos/epogrebnyak/cbr-db/releases{/id}","created_at":"2015-06-06T00:30:54Z","updated_at":"2015-06-29T00:13:01Z","pushed_at":"2015-12-29T16:30:53Z","git_url":"git://github.com/epogrebnyak/cbr-db.git","ssh_url":"git@github.com:epogrebnyak/cbr-db.git","clone_url":"https://github.com/epogrebnyak/cbr-db.git","svn_url":"https://github.com/epogrebnyak/cbr-db","homepage":"","size":2237,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/41"},"html":{"href":"https://github.com/epogrebnyak/cbr-db/pull/41"},"issue":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/issues/41"},"comments":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/epogrebnyak/cbr-db/statuses/7d856b2c1c38a98c2b7974f2b13b38810752aea2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":126,"deletions":0,"changed_files":2}}