{"action":"created","issue":{"url":"https://api.github.com/repos/melexis/warnings-plugin/issues/6","repository_url":"https://api.github.com/repos/melexis/warnings-plugin","labels_url":"https://api.github.com/repos/melexis/warnings-plugin/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/melexis/warnings-plugin/issues/6/comments","events_url":"https://api.github.com/repos/melexis/warnings-plugin/issues/6/events","html_url":"https://github.com/melexis/warnings-plugin/issues/6","id":233829104,"number":6,"title":"Creation of badges?","user":{"login":"bavovanachte","id":5442584,"avatar_url":"https://avatars3.githubusercontent.com/u/5442584?v=3","gravatar_id":"","url":"https://api.github.com/users/bavovanachte","html_url":"https://github.com/bavovanachte","followers_url":"https://api.github.com/users/bavovanachte/followers","following_url":"https://api.github.com/users/bavovanachte/following{/other_user}","gists_url":"https://api.github.com/users/bavovanachte/gists{/gist_id}","starred_url":"https://api.github.com/users/bavovanachte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bavovanachte/subscriptions","organizations_url":"https://api.github.com/users/bavovanachte/orgs","repos_url":"https://api.github.com/users/bavovanachte/repos","events_url":"https://api.github.com/users/bavovanachte/events{/privacy}","received_events_url":"https://api.github.com/users/bavovanachte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-06T09:20:05Z","updated_at":"2017-06-06T09:41:25Z","closed_at":null,"body":"Would it be a good idea to include the creation of badges in this project as well?\r\n\r\nAt the moment, I am creating my pylint badges like this (in gitlab):\r\n\r\n```yml\r\npylint_full:\r\n  <<: *pylint_setup\r\n  script:\r\n    - pylint --rcfile=pylint.rc src/PSF90372_Test_cases/*.py | tee pylint_score.txt\r\n  after_script:\r\n    - export PYLINT_SCORE=`sed -n 's~Your code has been rated at \\([^/]*\\).*~\\1~p' pylint_score.txt`\r\n    - wget https://img.shields.io/badge/pylint-$PYLINT_SCORE%2F10.0-blue.svg\r\n    - mv *.svg pylint.svg\r\n  allow_failure: true\r\n  artifacts:\r\n    paths:\r\n    - pylint.svg\r\n    when: always\r\n```\r\n\r\nDownsides of this are that:\r\n\r\n- It depends on an external service (which could be unstable)\r\n- Is fairly primitive (ATM, I just generate a blue badge, the colour doesn't depend on the score)\r\n\r\n@Letme what do you think?"},"comment":{"url":"https://api.github.com/repos/melexis/warnings-plugin/issues/comments/306435027","html_url":"https://github.com/melexis/warnings-plugin/issues/6#issuecomment-306435027","issue_url":"https://api.github.com/repos/melexis/warnings-plugin/issues/6","id":306435027,"user":{"login":"Letme","id":3614407,"avatar_url":"https://avatars0.githubusercontent.com/u/3614407?v=3","gravatar_id":"","url":"https://api.github.com/users/Letme","html_url":"https://github.com/Letme","followers_url":"https://api.github.com/users/Letme/followers","following_url":"https://api.github.com/users/Letme/following{/other_user}","gists_url":"https://api.github.com/users/Letme/gists{/gist_id}","starred_url":"https://api.github.com/users/Letme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Letme/subscriptions","organizations_url":"https://api.github.com/users/Letme/orgs","repos_url":"https://api.github.com/users/Letme/repos","events_url":"https://api.github.com/users/Letme/events{/privacy}","received_events_url":"https://api.github.com/users/Letme/received_events","type":"User","site_admin":false},"created_at":"2017-06-06T09:41:25Z","updated_at":"2017-06-06T09:41:25Z","body":"It would be a good idea to integrate it directly into the plugin and there images could easily be chosen. I would put this on enhancement list."}}
{"actor":{"display_login":"Letme"}}