{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6083","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6083/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6083/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6083/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/6083","id":296739387,"number":6083,"title":"tools: build: fix handing of \"--stats-depth\"","user":{"login":"TeroJaasko","id":12545862,"avatar_url":"https://avatars0.githubusercontent.com/u/12545862?v=4","gravatar_id":"","url":"https://api.github.com/users/TeroJaasko","html_url":"https://github.com/TeroJaasko","followers_url":"https://api.github.com/users/TeroJaasko/followers","following_url":"https://api.github.com/users/TeroJaasko/following{/other_user}","gists_url":"https://api.github.com/users/TeroJaasko/gists{/gist_id}","starred_url":"https://api.github.com/users/TeroJaasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeroJaasko/subscriptions","organizations_url":"https://api.github.com/users/TeroJaasko/orgs","repos_url":"https://api.github.com/users/TeroJaasko/repos","events_url":"https://api.github.com/users/TeroJaasko/events{/privacy}","received_events_url":"https://api.github.com/users/TeroJaasko/received_events","type":"User","site_admin":false},"labels":[{"id":390046351,"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/needs:%20CI","name":"needs: CI","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T13:37:13Z","updated_at":"2018-02-13T14:28:07Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/6083","html_url":"https://github.com/ARMmbed/mbed-os/pull/6083","diff_url":"https://github.com/ARMmbed/mbed-os/pull/6083.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/6083.patch"},"body":"## Description\r\n\r\nThe introduction of pretty-bar had broken the handling of\r\n\"mbed compile\"'s \"--stats-depth\" argument. No matter what one gave\r\nas parameter to it, the result output is just using the default 2.\r\nFix the logic in build_api.\r\n\r\n## Status\r\n\r\n**READY**\r\n\r\n## Migrations\r\n\r\nNO\r\n\r\n## Related PRs\r\n\r\n<none>\r\n\r\n## Todos\r\n\r\n- [ ] Tests\r\n- [ ] Documentation\r\n\r\n## Deploy notes\r\n\r\n<none>\r\n\r\n## Steps to test or reproduce\r\n\r\n```\"mbed compile -m K64F -t GCC_ARM --stats-depth 1\"``` and ```\"mbed compile -m K64F  -t GCC_ARM --stats-depth 10\"``` both give same output on current Mbed OS master. This PR fixes the parameter handing."},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/365282489","html_url":"https://github.com/ARMmbed/mbed-os/pull/6083#issuecomment-365282489","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6083","id":365282489,"user":{"login":"theotherjimmy","id":685409,"avatar_url":"https://avatars2.githubusercontent.com/u/685409?v=4","gravatar_id":"","url":"https://api.github.com/users/theotherjimmy","html_url":"https://github.com/theotherjimmy","followers_url":"https://api.github.com/users/theotherjimmy/followers","following_url":"https://api.github.com/users/theotherjimmy/following{/other_user}","gists_url":"https://api.github.com/users/theotherjimmy/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherjimmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherjimmy/subscriptions","organizations_url":"https://api.github.com/users/theotherjimmy/orgs","repos_url":"https://api.github.com/users/theotherjimmy/repos","events_url":"https://api.github.com/users/theotherjimmy/events{/privacy}","received_events_url":"https://api.github.com/users/theotherjimmy/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T14:28:07Z","updated_at":"2018-02-13T14:28:07Z","author_association":"CONTRIBUTOR","body":"/morph build"}}
{"actor":{"display_login":"theotherjimmy"}}