{"action":"created","comment":{"url":"https://api.github.com/repos/araraonline/kag-cpe/pulls/comments/232470325","pull_request_review_id":173679847,"id":232470325,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjQ3MDMyNQ==","diff_hunk":"@@ -181,3 +209,20 @@ def task_create_department_directories():\n             'actions': [dept.create_directories],\n             'uptodate': [True],\n         }\n+\n+\n+@doit.create_after('create_department_directories')\n+def task_spread_department_data():\n+    \"\"\"\n+    Spread department data from inputs directory to main directory\n+    \"\"\"\n+    for src_dept in InputDepartment.list():\n+        dst_dept = src_dept.to_department()\n+        dst_path = dst_dept.external_dir\n+        # task will always run\n+        # I don't want to setup complex dependencies here","path":"prepare.py","position":57,"original_position":62,"commit_id":"9435b52d5fa176364bf5aa2d43883e9b3e9f365f","original_commit_id":"a1836de053101e42efeb8440b2dae53a25f6b9de","user":{"login":"araraonline","id":19141454,"node_id":"MDQ6VXNlcjE5MTQxNDU0","avatar_url":"https://avatars2.githubusercontent.com/u/19141454?v=4","gravatar_id":"","url":"https://api.github.com/users/araraonline","html_url":"https://github.com/araraonline","followers_url":"https://api.github.com/users/araraonline/followers","following_url":"https://api.github.com/users/araraonline/following{/other_user}","gists_url":"https://api.github.com/users/araraonline/gists{/gist_id}","starred_url":"https://api.github.com/users/araraonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraonline/subscriptions","organizations_url":"https://api.github.com/users/araraonline/orgs","repos_url":"https://api.github.com/users/araraonline/repos","events_url":"https://api.github.com/users/araraonline/events{/privacy}","received_events_url":"https://api.github.com/users/araraonline/received_events","type":"User","site_admin":false},"body":"this should be better thought out when dealing with clean","created_at":"2018-11-11T00:15:38Z","updated_at":"2018-11-11T00:15:38Z","html_url":"https://github.com/araraonline/kag-cpe/pull/14#discussion_r232470325","pull_request_url":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/araraonline/kag-cpe/pulls/comments/232470325"},"html":{"href":"https://github.com/araraonline/kag-cpe/pull/14#discussion_r232470325"},"pull_request":{"href":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14"}},"in_reply_to_id":232470087},"pull_request":{"url":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14","id":229921416,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTIxNDE2","html_url":"https://github.com/araraonline/kag-cpe/pull/14","diff_url":"https://github.com/araraonline/kag-cpe/pull/14.diff","patch_url":"https://github.com/araraonline/kag-cpe/pull/14.patch","issue_url":"https://api.github.com/repos/araraonline/kag-cpe/issues/14","number":14,"state":"open","locked":false,"title":"Clean prepare code","user":{"login":"araraonline","id":19141454,"node_id":"MDQ6VXNlcjE5MTQxNDU0","avatar_url":"https://avatars2.githubusercontent.com/u/19141454?v=4","gravatar_id":"","url":"https://api.github.com/users/araraonline","html_url":"https://github.com/araraonline","followers_url":"https://api.github.com/users/araraonline/followers","following_url":"https://api.github.com/users/araraonline/following{/other_user}","gists_url":"https://api.github.com/users/araraonline/gists{/gist_id}","starred_url":"https://api.github.com/users/araraonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraonline/subscriptions","organizations_url":"https://api.github.com/users/araraonline/orgs","repos_url":"https://api.github.com/users/araraonline/repos","events_url":"https://api.github.com/users/araraonline/events{/privacy}","received_events_url":"https://api.github.com/users/araraonline/received_events","type":"User","site_admin":false},"body":"PR deals exclusively with the code that used to spread input department files into the main department working file. It is expected that these inputs will be made manually by CPE for each department they have (later I may think of how to deal with this).","created_at":"2018-11-10T23:59:25Z","updated_at":"2018-11-11T00:15:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f0541a80ab65cb24f819ad8ca8a7b067ed704a6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14/commits","review_comments_url":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14/comments","review_comment_url":"https://api.github.com/repos/araraonline/kag-cpe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/araraonline/kag-cpe/issues/14/comments","statuses_url":"https://api.github.com/repos/araraonline/kag-cpe/statuses/9435b52d5fa176364bf5aa2d43883e9b3e9f365f","head":{"label":"araraonline:spread-code","ref":"spread-code","sha":"9435b52d5fa176364bf5aa2d43883e9b3e9f365f","user":{"login":"araraonline","id":19141454,"node_id":"MDQ6VXNlcjE5MTQxNDU0","avatar_url":"https://avatars2.githubusercontent.com/u/19141454?v=4","gravatar_id":"","url":"https://api.github.com/users/araraonline","html_url":"https://github.com/araraonline","followers_url":"https://api.github.com/users/araraonline/followers","following_url":"https://api.github.com/users/araraonline/following{/other_user}","gists_url":"https://api.github.com/users/araraonline/gists{/gist_id}","starred_url":"https://api.github.com/users/araraonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraonline/subscriptions","organizations_url":"https://api.github.com/users/araraonline/orgs","repos_url":"https://api.github.com/users/araraonline/repos","events_url":"https://api.github.com/users/araraonline/events{/privacy}","received_events_url":"https://api.github.com/users/araraonline/received_events","type":"User","site_admin":false},"repo":{"id":151616744,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE2MTY3NDQ=","name":"kag-cpe","full_name":"araraonline/kag-cpe","private":false,"owner":{"login":"araraonline","id":19141454,"node_id":"MDQ6VXNlcjE5MTQxNDU0","avatar_url":"https://avatars2.githubusercontent.com/u/19141454?v=4","gravatar_id":"","url":"https://api.github.com/users/araraonline","html_url":"https://github.com/araraonline","followers_url":"https://api.github.com/users/araraonline/followers","following_url":"https://api.github.com/users/araraonline/following{/other_user}","gists_url":"https://api.github.com/users/araraonline/gists{/gist_id}","starred_url":"https://api.github.com/users/araraonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraonline/subscriptions","organizations_url":"https://api.github.com/users/araraonline/orgs","repos_url":"https://api.github.com/users/araraonline/repos","events_url":"https://api.github.com/users/araraonline/events{/privacy}","received_events_url":"https://api.github.com/users/araraonline/received_events","type":"User","site_admin":false},"html_url":"https://github.com/araraonline/kag-cpe","description":null,"fork":false,"url":"https://api.github.com/repos/araraonline/kag-cpe","forks_url":"https://api.github.com/repos/araraonline/kag-cpe/forks","keys_url":"https://api.github.com/repos/araraonline/kag-cpe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/araraonline/kag-cpe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/araraonline/kag-cpe/teams","hooks_url":"https://api.github.com/repos/araraonline/kag-cpe/hooks","issue_events_url":"https://api.github.com/repos/araraonline/kag-cpe/issues/events{/number}","events_url":"https://api.github.com/repos/araraonline/kag-cpe/events","assignees_url":"https://api.github.com/repos/araraonline/kag-cpe/assignees{/user}","branches_url":"https://api.github.com/repos/araraonline/kag-cpe/branches{/branch}","tags_url":"https://api.github.com/repos/araraonline/kag-cpe/tags","blobs_url":"https://api.github.com/repos/araraonline/kag-cpe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/araraonline/kag-cpe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/araraonline/kag-cpe/git/refs{/sha}","trees_url":"https://api.github.com/repos/araraonline/kag-cpe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/araraonline/kag-cpe/statuses/{sha}","languages_url":"https://api.github.com/repos/araraonline/kag-cpe/languages","stargazers_url":"https://api.github.com/repos/araraonline/kag-cpe/stargazers","contributors_url":"https://api.github.com/repos/araraonline/kag-cpe/contributors","subscribers_url":"https://api.github.com/repos/araraonline/kag-cpe/subscribers","subscription_url":"https://api.github.com/repos/araraonline/kag-cpe/subscription","commits_url":"https://api.github.com/repos/araraonline/kag-cpe/commits{/sha}","git_commits_url":"https://api.github.com/repos/araraonline/kag-cpe/git/commits{/sha}","comments_url":"https://api.github.com/repos/araraonline/kag-cpe/comments{/number}","issue_comment_url":"https://api.github.com/repos/araraonline/kag-cpe/issues/comments{/number}","contents_url":"https://api.github.com/repos/araraonline/kag-cpe/contents/{+path}","compare_url":"https://api.github.com/repos/araraonline/kag-cpe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/araraonline/kag-cpe/merges","archive_url":"https://api.github.com/repos/araraonline/kag-cpe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/araraonline/kag-cpe/downloads","issues_url":"https://api.github.com/repos/araraonline/kag-cpe/issues{/number}","pulls_url":"https://api.github.com/repos/araraonline/kag-cpe/pulls{/number}","milestones_url":"https://api.github.com/repos/araraonline/kag-cpe/milestones{/number}","notifications_url":"https://api.github.com/repos/araraonline/kag-cpe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/araraonline/kag-cpe/labels{/name}","releases_url":"https://api.github.com/repos/araraonline/kag-cpe/releases{/id}","deployments_url":"https://api.github.com/repos/araraonline/kag-cpe/deployments","created_at":"2018-10-04T18:19:12Z","updated_at":"2018-11-10T22:55:17Z","pushed_at":"2018-11-11T00:14:38Z","git_url":"git://github.com/araraonline/kag-cpe.git","ssh_url":"git@github.com:araraonline/kag-cpe.git","clone_url":"https://github.com/araraonline/kag-cpe.git","svn_url":"https://github.com/araraonline/kag-cpe","homepage":null,"size":9741,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"araraonline:master","ref":"master","sha":"076c70e50cad1d403ce6b538b53499aff40ce566","user":{"login":"araraonline","id":19141454,"node_id":"MDQ6VXNlcjE5MTQxNDU0","avatar_url":"https://avatars2.githubusercontent.com/u/19141454?v=4","gravatar_id":"","url":"https://api.github.com/users/araraonline","html_url":"https://github.com/araraonline","followers_url":"https://api.github.com/users/araraonline/followers","following_url":"https://api.github.com/users/araraonline/following{/other_user}","gists_url":"https://api.github.com/users/araraonline/gists{/gist_id}","starred_url":"https://api.github.com/users/araraonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraonline/subscriptions","organizations_url":"https://api.github.com/users/araraonline/orgs","repos_url":"https://api.github.com/users/araraonline/repos","events_url":"https://api.github.com/users/araraonline/events{/privacy}","received_events_url":"https://api.github.com/users/araraonline/received_events","type":"User","site_admin":false},"repo":{"id":151616744,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE2MTY3NDQ=","name":"kag-cpe","full_name":"araraonline/kag-cpe","private":false,"owner":{"login":"araraonline","id":19141454,"node_id":"MDQ6VXNlcjE5MTQxNDU0","avatar_url":"https://avatars2.githubusercontent.com/u/19141454?v=4","gravatar_id":"","url":"https://api.github.com/users/araraonline","html_url":"https://github.com/araraonline","followers_url":"https://api.github.com/users/araraonline/followers","following_url":"https://api.github.com/users/araraonline/following{/other_user}","gists_url":"https://api.github.com/users/araraonline/gists{/gist_id}","starred_url":"https://api.github.com/users/araraonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araraonline/subscriptions","organizations_url":"https://api.github.com/users/araraonline/orgs","repos_url":"https://api.github.com/users/araraonline/repos","events_url":"https://api.github.com/users/araraonline/events{/privacy}","received_events_url":"https://api.github.com/users/araraonline/received_events","type":"User","site_admin":false},"html_url":"https://github.com/araraonline/kag-cpe","description":null,"fork":false,"url":"https://api.github.com/repos/araraonline/kag-cpe","forks_url":"https://api.github.com/repos/araraonline/kag-cpe/forks","keys_url":"https://api.github.com/repos/araraonline/kag-cpe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/araraonline/kag-cpe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/araraonline/kag-cpe/teams","hooks_url":"https://api.github.com/repos/araraonline/kag-cpe/hooks","issue_events_url":"https://api.github.com/repos/araraonline/kag-cpe/issues/events{/number}","events_url":"https://api.github.com/repos/araraonline/kag-cpe/events","assignees_url":"https://api.github.com/repos/araraonline/kag-cpe/assignees{/user}","branches_url":"https://api.github.com/repos/araraonline/kag-cpe/branches{/branch}","tags_url":"https://api.github.com/repos/araraonline/kag-cpe/tags","blobs_url":"https://api.github.com/repos/araraonline/kag-cpe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/araraonline/kag-cpe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/araraonline/kag-cpe/git/refs{/sha}","trees_url":"https://api.github.com/repos/araraonline/kag-cpe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/araraonline/kag-cpe/statuses/{sha}","languages_url":"https://api.github.com/repos/araraonline/kag-cpe/languages","stargazers_url":"https://api.github.com/repos/araraonline/kag-cpe/stargazers","contributors_url":"https://api.github.com/repos/araraonline/kag-cpe/contributors","subscribers_url":"https://api.github.com/repos/araraonline/kag-cpe/subscribers","subscription_url":"https://api.github.com/repos/araraonline/kag-cpe/subscription","commits_url":"https://api.github.com/repos/araraonline/kag-cpe/commits{/sha}","git_commits_url":"https://api.github.com/repos/araraonline/kag-cpe/git/commits{/sha}","comments_url":"https://api.github.com/repos/araraonline/kag-cpe/comments{/number}","issue_comment_url":"https://api.github.com/repos/araraonline/kag-cpe/issues/comments{/number}","contents_url":"https://api.github.com/repos/araraonline/kag-cpe/contents/{+path}","compare_url":"https://api.github.com/repos/araraonline/kag-cpe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/araraonline/kag-cpe/merges","archive_url":"https://api.github.com/repos/araraonline/kag-cpe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/araraonline/kag-cpe/downloads","issues_url":"https://api.github.com/repos/araraonline/kag-cpe/issues{/number}","pulls_url":"https://api.github.com/repos/araraonline/kag-cpe/pulls{/number}","milestones_url":"https://api.github.com/repos/araraonline/kag-cpe/milestones{/number}","notifications_url":"https://api.github.com/repos/araraonline/kag-cpe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/araraonline/kag-cpe/labels{/name}","releases_url":"https://api.github.com/repos/araraonline/kag-cpe/releases{/id}","deployments_url":"https://api.github.com/repos/araraonline/kag-cpe/deployments","created_at":"2018-10-04T18:19:12Z","updated_at":"2018-11-10T22:55:17Z","pushed_at":"2018-11-11T00:14:38Z","git_url":"git://github.com/araraonline/kag-cpe.git","ssh_url":"git@github.com:araraonline/kag-cpe.git","clone_url":"https://github.com/araraonline/kag-cpe.git","svn_url":"https://github.com/araraonline/kag-cpe","homepage":null,"size":9741,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14"},"html":{"href":"https://github.com/araraonline/kag-cpe/pull/14"},"issue":{"href":"https://api.github.com/repos/araraonline/kag-cpe/issues/14"},"comments":{"href":"https://api.github.com/repos/araraonline/kag-cpe/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/araraonline/kag-cpe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/araraonline/kag-cpe/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/araraonline/kag-cpe/statuses/9435b52d5fa176364bf5aa2d43883e9b3e9f365f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"araraonline"}}