{"action":"created","comment":{"url":"https://api.github.com/repos/fact-project/erna/pulls/comments/91688928","pull_request_review_id":12199225,"id":91688928,"diff_hunk":"@@ -1,3 +1,7 @@\n+*.swp\n+config.yaml\n+erna.yaml","path":".gitignore","position":3,"original_position":3,"commit_id":"6d54ab3e2c6163915f5b94341942da43d61e23b7","original_commit_id":"6d54ab3e2c6163915f5b94341942da43d61e23b7","user":{"login":"MaxNoe","id":5488440,"avatar_url":"https://avatars.githubusercontent.com/u/5488440?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxNoe","html_url":"https://github.com/MaxNoe","followers_url":"https://api.github.com/users/MaxNoe/followers","following_url":"https://api.github.com/users/MaxNoe/following{/other_user}","gists_url":"https://api.github.com/users/MaxNoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxNoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxNoe/subscriptions","organizations_url":"https://api.github.com/users/MaxNoe/orgs","repos_url":"https://api.github.com/users/MaxNoe/repos","events_url":"https://api.github.com/users/MaxNoe/events{/privacy}","received_events_url":"https://api.github.com/users/MaxNoe/received_events","type":"User","site_admin":false},"body":"There is `erna_template.yaml`","created_at":"2016-12-09T10:08:56Z","updated_at":"2016-12-09T10:08:56Z","html_url":"https://github.com/fact-project/erna/pull/15#discussion_r91688928","pull_request_url":"https://api.github.com/repos/fact-project/erna/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/fact-project/erna/pulls/comments/91688928"},"html":{"href":"https://github.com/fact-project/erna/pull/15#discussion_r91688928"},"pull_request":{"href":"https://api.github.com/repos/fact-project/erna/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/fact-project/erna/pulls/15","id":96521109,"html_url":"https://github.com/fact-project/erna/pull/15","diff_url":"https://github.com/fact-project/erna/pull/15.diff","patch_url":"https://github.com/fact-project/erna/pull/15.patch","issue_url":"https://api.github.com/repos/fact-project/erna/issues/15","number":15,"state":"open","locked":false,"title":"Automatic processing","user":{"login":"MaxNoe","id":5488440,"avatar_url":"https://avatars.githubusercontent.com/u/5488440?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxNoe","html_url":"https://github.com/MaxNoe","followers_url":"https://api.github.com/users/MaxNoe/followers","following_url":"https://api.github.com/users/MaxNoe/following{/other_user}","gists_url":"https://api.github.com/users/MaxNoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxNoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxNoe/subscriptions","organizations_url":"https://api.github.com/users/MaxNoe/orgs","repos_url":"https://api.github.com/users/MaxNoe/repos","events_url":"https://api.github.com/users/MaxNoe/events{/privacy}","received_events_url":"https://api.github.com/users/MaxNoe/received_events","type":"User","site_admin":false},"body":"Add automatic processing submodule\r\n\r\nThis can and will be used to run fact-tools on large scales at isdc (for now).\r\n\r\n`erna.automatic_processing.__main__.py` is meant to run on a submitter host at isdc. It checks for new jobs in the databse and submits them, if the queue on the isdc is not too full (config file, currently set to 400 jobs)\r\n\r\n`erna.automatic_processing.executor.py` is the script that runs on the nodes, it  posts status updates via zmq to the main script. It also kills itself when it is about to run into the walltime, to get a usefull state for this job.\r\n\r\n`erna_upload` allows to upload xmls and jars to the database.\r\n\r\n`erna_console` start an ipython session with all usefull imports done.\r\n\r\nYou can submit a new job like this:\r\n\r\nIn erna_console\r\n```\r\njar = Jar.get(version='0.17.1')\r\nxml = XML.get(name='std_analysis', version=jar.version)   # get the xml for the std analysis and correct fact_tools version \r\nqueue = Queue.get(name='fact_short')\r\nraw_data_file = RawDataFile.get(night=date(2015, 12, 1), run_id=100)\r\n\r\n# submit the job\r\ninsert_new_job(raw_data_file, jar=jar, xml=xml, queue=queue)\r\n```\r\n","created_at":"2016-12-05T12:36:30Z","updated_at":"2016-12-09T10:08:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"186154cd3ce64a7e3e64f337fdf9ba7a18938c9c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fact-project/erna/pulls/15/commits","review_comments_url":"https://api.github.com/repos/fact-project/erna/pulls/15/comments","review_comment_url":"https://api.github.com/repos/fact-project/erna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fact-project/erna/issues/15/comments","statuses_url":"https://api.github.com/repos/fact-project/erna/statuses/6d54ab3e2c6163915f5b94341942da43d61e23b7","head":{"label":"fact-project:automatic_processing","ref":"automatic_processing","sha":"6d54ab3e2c6163915f5b94341942da43d61e23b7","user":{"login":"fact-project","id":16599974,"avatar_url":"https://avatars.githubusercontent.com/u/16599974?v=3","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"repo":{"id":49071060,"name":"erna","full_name":"fact-project/erna","owner":{"login":"fact-project","id":16599974,"avatar_url":"https://avatars.githubusercontent.com/u/16599974?v=3","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fact-project/erna","description":"ERNA -- eine sehr sehr gute Sache.","fork":false,"url":"https://api.github.com/repos/fact-project/erna","forks_url":"https://api.github.com/repos/fact-project/erna/forks","keys_url":"https://api.github.com/repos/fact-project/erna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fact-project/erna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fact-project/erna/teams","hooks_url":"https://api.github.com/repos/fact-project/erna/hooks","issue_events_url":"https://api.github.com/repos/fact-project/erna/issues/events{/number}","events_url":"https://api.github.com/repos/fact-project/erna/events","assignees_url":"https://api.github.com/repos/fact-project/erna/assignees{/user}","branches_url":"https://api.github.com/repos/fact-project/erna/branches{/branch}","tags_url":"https://api.github.com/repos/fact-project/erna/tags","blobs_url":"https://api.github.com/repos/fact-project/erna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fact-project/erna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fact-project/erna/git/refs{/sha}","trees_url":"https://api.github.com/repos/fact-project/erna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fact-project/erna/statuses/{sha}","languages_url":"https://api.github.com/repos/fact-project/erna/languages","stargazers_url":"https://api.github.com/repos/fact-project/erna/stargazers","contributors_url":"https://api.github.com/repos/fact-project/erna/contributors","subscribers_url":"https://api.github.com/repos/fact-project/erna/subscribers","subscription_url":"https://api.github.com/repos/fact-project/erna/subscription","commits_url":"https://api.github.com/repos/fact-project/erna/commits{/sha}","git_commits_url":"https://api.github.com/repos/fact-project/erna/git/commits{/sha}","comments_url":"https://api.github.com/repos/fact-project/erna/comments{/number}","issue_comment_url":"https://api.github.com/repos/fact-project/erna/issues/comments{/number}","contents_url":"https://api.github.com/repos/fact-project/erna/contents/{+path}","compare_url":"https://api.github.com/repos/fact-project/erna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fact-project/erna/merges","archive_url":"https://api.github.com/repos/fact-project/erna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fact-project/erna/downloads","issues_url":"https://api.github.com/repos/fact-project/erna/issues{/number}","pulls_url":"https://api.github.com/repos/fact-project/erna/pulls{/number}","milestones_url":"https://api.github.com/repos/fact-project/erna/milestones{/number}","notifications_url":"https://api.github.com/repos/fact-project/erna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fact-project/erna/labels{/name}","releases_url":"https://api.github.com/repos/fact-project/erna/releases{/id}","deployments_url":"https://api.github.com/repos/fact-project/erna/deployments","created_at":"2016-01-05T14:30:28Z","updated_at":"2016-11-18T16:05:48Z","pushed_at":"2016-12-08T17:46:59Z","git_url":"git://github.com/fact-project/erna.git","ssh_url":"git@github.com:fact-project/erna.git","clone_url":"https://github.com/fact-project/erna.git","svn_url":"https://github.com/fact-project/erna","homepage":"","size":1263,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"base":{"label":"fact-project:master","ref":"master","sha":"3c984e8504a64d1fc34dc6d6adcc625493bfc0c6","user":{"login":"fact-project","id":16599974,"avatar_url":"https://avatars.githubusercontent.com/u/16599974?v=3","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"repo":{"id":49071060,"name":"erna","full_name":"fact-project/erna","owner":{"login":"fact-project","id":16599974,"avatar_url":"https://avatars.githubusercontent.com/u/16599974?v=3","gravatar_id":"","url":"https://api.github.com/users/fact-project","html_url":"https://github.com/fact-project","followers_url":"https://api.github.com/users/fact-project/followers","following_url":"https://api.github.com/users/fact-project/following{/other_user}","gists_url":"https://api.github.com/users/fact-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fact-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fact-project/subscriptions","organizations_url":"https://api.github.com/users/fact-project/orgs","repos_url":"https://api.github.com/users/fact-project/repos","events_url":"https://api.github.com/users/fact-project/events{/privacy}","received_events_url":"https://api.github.com/users/fact-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fact-project/erna","description":"ERNA -- eine sehr sehr gute Sache.","fork":false,"url":"https://api.github.com/repos/fact-project/erna","forks_url":"https://api.github.com/repos/fact-project/erna/forks","keys_url":"https://api.github.com/repos/fact-project/erna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fact-project/erna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fact-project/erna/teams","hooks_url":"https://api.github.com/repos/fact-project/erna/hooks","issue_events_url":"https://api.github.com/repos/fact-project/erna/issues/events{/number}","events_url":"https://api.github.com/repos/fact-project/erna/events","assignees_url":"https://api.github.com/repos/fact-project/erna/assignees{/user}","branches_url":"https://api.github.com/repos/fact-project/erna/branches{/branch}","tags_url":"https://api.github.com/repos/fact-project/erna/tags","blobs_url":"https://api.github.com/repos/fact-project/erna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fact-project/erna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fact-project/erna/git/refs{/sha}","trees_url":"https://api.github.com/repos/fact-project/erna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fact-project/erna/statuses/{sha}","languages_url":"https://api.github.com/repos/fact-project/erna/languages","stargazers_url":"https://api.github.com/repos/fact-project/erna/stargazers","contributors_url":"https://api.github.com/repos/fact-project/erna/contributors","subscribers_url":"https://api.github.com/repos/fact-project/erna/subscribers","subscription_url":"https://api.github.com/repos/fact-project/erna/subscription","commits_url":"https://api.github.com/repos/fact-project/erna/commits{/sha}","git_commits_url":"https://api.github.com/repos/fact-project/erna/git/commits{/sha}","comments_url":"https://api.github.com/repos/fact-project/erna/comments{/number}","issue_comment_url":"https://api.github.com/repos/fact-project/erna/issues/comments{/number}","contents_url":"https://api.github.com/repos/fact-project/erna/contents/{+path}","compare_url":"https://api.github.com/repos/fact-project/erna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fact-project/erna/merges","archive_url":"https://api.github.com/repos/fact-project/erna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fact-project/erna/downloads","issues_url":"https://api.github.com/repos/fact-project/erna/issues{/number}","pulls_url":"https://api.github.com/repos/fact-project/erna/pulls{/number}","milestones_url":"https://api.github.com/repos/fact-project/erna/milestones{/number}","notifications_url":"https://api.github.com/repos/fact-project/erna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fact-project/erna/labels{/name}","releases_url":"https://api.github.com/repos/fact-project/erna/releases{/id}","deployments_url":"https://api.github.com/repos/fact-project/erna/deployments","created_at":"2016-01-05T14:30:28Z","updated_at":"2016-11-18T16:05:48Z","pushed_at":"2016-12-08T17:46:59Z","git_url":"git://github.com/fact-project/erna.git","ssh_url":"git@github.com:fact-project/erna.git","clone_url":"https://github.com/fact-project/erna.git","svn_url":"https://github.com/fact-project/erna","homepage":"","size":1263,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fact-project/erna/pulls/15"},"html":{"href":"https://github.com/fact-project/erna/pull/15"},"issue":{"href":"https://api.github.com/repos/fact-project/erna/issues/15"},"comments":{"href":"https://api.github.com/repos/fact-project/erna/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/fact-project/erna/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/fact-project/erna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fact-project/erna/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/fact-project/erna/statuses/6d54ab3e2c6163915f5b94341942da43d61e23b7"}}}}
{"actor":{"display_login":"MaxNoe"}}