{"action":"opened","issue":{"url":"https://api.github.com/repos/ufal/neuralmonkey/issues/726","repository_url":"https://api.github.com/repos/ufal/neuralmonkey","labels_url":"https://api.github.com/repos/ufal/neuralmonkey/issues/726/labels{/name}","comments_url":"https://api.github.com/repos/ufal/neuralmonkey/issues/726/comments","events_url":"https://api.github.com/repos/ufal/neuralmonkey/issues/726/events","html_url":"https://github.com/ufal/neuralmonkey/issues/726","id":339452696,"node_id":"MDU6SXNzdWUzMzk0NTI2OTY=","number":726,"title":"experiment.py crashes when git is not available","user":{"login":"Simon-Will","id":16206833,"node_id":"MDQ6VXNlcjE2MjA2ODMz","avatar_url":"https://avatars3.githubusercontent.com/u/16206833?v=4","gravatar_id":"","url":"https://api.github.com/users/Simon-Will","html_url":"https://github.com/Simon-Will","followers_url":"https://api.github.com/users/Simon-Will/followers","following_url":"https://api.github.com/users/Simon-Will/following{/other_user}","gists_url":"https://api.github.com/users/Simon-Will/gists{/gist_id}","starred_url":"https://api.github.com/users/Simon-Will/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simon-Will/subscriptions","organizations_url":"https://api.github.com/users/Simon-Will/orgs","repos_url":"https://api.github.com/users/Simon-Will/repos","events_url":"https://api.github.com/users/Simon-Will/events{/privacy}","received_events_url":"https://api.github.com/users/Simon-Will/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-09T13:36:59Z","updated_at":"2018-07-09T13:36:59Z","closed_at":null,"author_association":"NONE","body":"In [`experiment.py`](https://github.com/ufal/neuralmonkey/blob/master/neuralmonkey/experiment.py) there is a dependency on the command `git` being installed on the system. While saving the git commit and diff is certainly useful, git is not always available, especially on GPU computing servers.\r\n\r\nI propose failing gracefully and just logging a warning that git is not available and git diff and git commit are not stored. I would be happy to do this and will send a pull request for this as well."}}
{"actor":{"display_login":"Simon-Will"}}