{"action":"created","issue":{"url":"https://api.github.com/repos/kenbeese/DataProcessor/issues/183","labels_url":"https://api.github.com/repos/kenbeese/DataProcessor/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/kenbeese/DataProcessor/issues/183/comments","events_url":"https://api.github.com/repos/kenbeese/DataProcessor/issues/183/events","html_url":"https://github.com/kenbeese/DataProcessor/pull/183","id":54160047,"number":183,"title":"dpstart","user":{"login":"termoshtt","id":1238153,"avatar_url":"https://avatars.githubusercontent.com/u/1238153?v=3","gravatar_id":"","url":"https://api.github.com/users/termoshtt","html_url":"https://github.com/termoshtt","followers_url":"https://api.github.com/users/termoshtt/followers","following_url":"https://api.github.com/users/termoshtt/following{/other_user}","gists_url":"https://api.github.com/users/termoshtt/gists{/gist_id}","starred_url":"https://api.github.com/users/termoshtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/termoshtt/subscriptions","organizations_url":"https://api.github.com/users/termoshtt/orgs","repos_url":"https://api.github.com/users/termoshtt/repos","events_url":"https://api.github.com/users/termoshtt/events{/privacy}","received_events_url":"https://api.github.com/users/termoshtt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kenbeese/DataProcessor/labels/Work%20In%20Progress","name":"Work In Progress","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-13T07:45:55Z","updated_at":"2015-03-29T14:53:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kenbeese/DataProcessor/pulls/183","html_url":"https://github.com/kenbeese/DataProcessor/pull/183","diff_url":"https://github.com/kenbeese/DataProcessor/pull/183.diff","patch_url":"https://github.com/kenbeese/DataProcessor/pull/183.patch"},"body":"Objective\r\n-------------\r\nランを実行すると同時にnode_listに追加します。\r\nこれにより実行時の情報を取得する事ができます(gitのhash値、開始時刻etc)\r\n\r\nSummary\r\n------------\r\n- introduce following library and executable\r\n    - bin/dpstart\r\n    - lib/dataprocessor/git.py : gitのステータスを取得\r\n    - lib/dataprocessor/runner.py : 外部コマンドを実行する\r\n\r\nPR staus\r\n-------------\r\n<del>\r\nBlocked by #130\r\n必須ではありませんが、projectの解決のために`nodes.add`のmodest_updateストラテジーを使用したいです。\r\n\r\n#130 解決後にrebaseする予定です\r\n</del>\r\nTODO\r\n---------\r\n- [ ] 簡単な使い方(README.md)\r\n- [ ] [GitPython](https://github.com/gitpython-developers/GitPython)使う"},"comment":{"url":"https://api.github.com/repos/kenbeese/DataProcessor/issues/comments/87423158","html_url":"https://github.com/kenbeese/DataProcessor/pull/183#issuecomment-87423158","issue_url":"https://api.github.com/repos/kenbeese/DataProcessor/issues/183","id":87423158,"user":{"login":"termoshtt","id":1238153,"avatar_url":"https://avatars.githubusercontent.com/u/1238153?v=3","gravatar_id":"","url":"https://api.github.com/users/termoshtt","html_url":"https://github.com/termoshtt","followers_url":"https://api.github.com/users/termoshtt/followers","following_url":"https://api.github.com/users/termoshtt/following{/other_user}","gists_url":"https://api.github.com/users/termoshtt/gists{/gist_id}","starred_url":"https://api.github.com/users/termoshtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/termoshtt/subscriptions","organizations_url":"https://api.github.com/users/termoshtt/orgs","repos_url":"https://api.github.com/users/termoshtt/repos","events_url":"https://api.github.com/users/termoshtt/events{/privacy}","received_events_url":"https://api.github.com/users/termoshtt/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T14:53:16Z","updated_at":"2015-03-29T14:53:16Z","body":"簡単な使い方\r\n------------------\r\n\r\n```command\r\ndpstart -N touch homhom\r\n```\r\n\r\nこれでdata/rootに現在の時刻を使ってディレクトリを作り、その中で`touch homhom`を実行します\r\n（-Nはgitの状態を確認しない）\r\nこの場合、コマンドの終了を待つ。\r\nコマンドを非同期に実行する場合は\r\n\r\n```command\r\ndpstart -N --runner=daemon touch homhom\r\n```\r\n\r\nこの場合DaemonContextを使用して起動します。\r\n\r\n別のサーバーで実行したい場合は\r\n\r\n```command\r\ndpstart -N --remote=hostname touch homhom\r\n```\r\n\r\nとする"}}