{"action":"created","issue":{"url":"https://api.github.com/repos/roblabla/cargo-travis/issues/50","repository_url":"https://api.github.com/repos/roblabla/cargo-travis","labels_url":"https://api.github.com/repos/roblabla/cargo-travis/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/roblabla/cargo-travis/issues/50/comments","events_url":"https://api.github.com/repos/roblabla/cargo-travis/issues/50/events","html_url":"https://github.com/roblabla/cargo-travis/pull/50","id":393765979,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjkxODQx","number":50,"title":"Implement badge generation.","user":{"login":"daxpedda","id":1645124,"node_id":"MDQ6VXNlcjE2NDUxMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1645124?v=4","gravatar_id":"","url":"https://api.github.com/users/daxpedda","html_url":"https://github.com/daxpedda","followers_url":"https://api.github.com/users/daxpedda/followers","following_url":"https://api.github.com/users/daxpedda/following{/other_user}","gists_url":"https://api.github.com/users/daxpedda/gists{/gist_id}","starred_url":"https://api.github.com/users/daxpedda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxpedda/subscriptions","organizations_url":"https://api.github.com/users/daxpedda/orgs","repos_url":"https://api.github.com/users/daxpedda/repos","events_url":"https://api.github.com/users/daxpedda/events{/privacy}","received_events_url":"https://api.github.com/users/daxpedda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-23T17:07:23Z","updated_at":"2018-12-26T18:04:58Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/roblabla/cargo-travis/pulls/50","html_url":"https://github.com/roblabla/cargo-travis/pull/50","diff_url":"https://github.com/roblabla/cargo-travis/pull/50.diff","patch_url":"https://github.com/roblabla/cargo-travis/pull/50.patch"},"body":"This actually does two things:\r\n- Implements badge generation for `doc-upload` equal to `docs.rs`: [description](https://github.com/rust-lang/docs.rs/tree/017c47c5feee72e8761fdafd3b0bcbde1eacdff0#badges) ([code](https://github.com/rust-lang/docs.rs/blob/017c47c5feee72e8761fdafd3b0bcbde1eacdff0/src/web/rustdoc.rs#L218-L238))\r\n- Prevents crashes if no generated documentation is found.\r\n\r\n\r\n**Question**\r\n- Before this PR if `doc-upload` couldn't find documentation it returned `1` because it crashed. Now it will print a warning but it will return `0`. I can change that if needed?"},"comment":{"url":"https://api.github.com/repos/roblabla/cargo-travis/issues/comments/450002412","html_url":"https://github.com/roblabla/cargo-travis/pull/50#issuecomment-450002412","issue_url":"https://api.github.com/repos/roblabla/cargo-travis/issues/50","id":450002412,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDAwMjQxMg==","user":{"login":"daxpedda","id":1645124,"node_id":"MDQ6VXNlcjE2NDUxMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1645124?v=4","gravatar_id":"","url":"https://api.github.com/users/daxpedda","html_url":"https://github.com/daxpedda","followers_url":"https://api.github.com/users/daxpedda/followers","following_url":"https://api.github.com/users/daxpedda/following{/other_user}","gists_url":"https://api.github.com/users/daxpedda/gists{/gist_id}","starred_url":"https://api.github.com/users/daxpedda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxpedda/subscriptions","organizations_url":"https://api.github.com/users/daxpedda/orgs","repos_url":"https://api.github.com/users/daxpedda/repos","events_url":"https://api.github.com/users/daxpedda/events{/privacy}","received_events_url":"https://api.github.com/users/daxpedda/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T18:04:58Z","updated_at":"2018-12-26T18:04:58Z","author_association":"CONTRIBUTOR","body":"I added generation of a `badge.json` file for people who want to use external badge generation servies like dynamic badges from [shields.io](https://shields.io)."}}
{"actor":{"display_login":"daxpedda"}}