{"action":"created","issue":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/976","labels_url":"https://api.github.com/repos/nilearn/nilearn/issues/976/labels{/name}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/976/comments","events_url":"https://api.github.com/repos/nilearn/nilearn/issues/976/events","html_url":"https://github.com/nilearn/nilearn/pull/976","id":130646288,"number":976,"title":"MRG: limit download status output displayed on circle ci","user":{"login":"aabadie","id":1375137,"avatar_url":"https://avatars.githubusercontent.com/u/1375137?v=3","gravatar_id":"","url":"https://api.github.com/users/aabadie","html_url":"https://github.com/aabadie","followers_url":"https://api.github.com/users/aabadie/followers","following_url":"https://api.github.com/users/aabadie/following{/other_user}","gists_url":"https://api.github.com/users/aabadie/gists{/gist_id}","starred_url":"https://api.github.com/users/aabadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabadie/subscriptions","organizations_url":"https://api.github.com/users/aabadie/orgs","repos_url":"https://api.github.com/users/aabadie/repos","events_url":"https://api.github.com/users/aabadie/events{/privacy}","received_events_url":"https://api.github.com/users/aabadie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nilearn/nilearn/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-02T10:54:58Z","updated_at":"2016-02-02T13:37:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/976","html_url":"https://github.com/nilearn/nilearn/pull/976","diff_url":"https://github.com/nilearn/nilearn/pull/976.diff","patch_url":"https://github.com/nilearn/nilearn/pull/976.patch"},"body":"This should fix #972 \r\n\r\nThe general idea is to use the CIRCLECI environment variable available when building on circle ci along with `functools.partial` to override a parameter of the fetch functions.\r\nI choose to add a `report_frequency` named parameter (I couldn't find a better one, suggestions greatly appreciated) in `_chunk_read` with is set so that it keeps the current behaviour by default. Setting it to 5, will reduce the number of report displayed.\r\nIt seems that the output on circle ci is pretty weird: on my local computer I have 5 distinct output but this is not always the case on the ci."},"comment":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/comments/178576602","html_url":"https://github.com/nilearn/nilearn/pull/976#issuecomment-178576602","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/976","id":178576602,"user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T13:37:09Z","updated_at":"2016-02-02T13:37:09Z","body":"> This is what I first tried but this totally disable the output. I prefer having a subset of messages instead.\r\n\r\n> Indeed, CircleCI replaces carriage returns (\\r) by newlines.\r\n\r\nJust to reiterate, we are looking for a CircleCI-specific work-around here, because CircleCI changes '\\r' into newlines. On a terminal I am not sure you would only change the rate of refresh and I am not convinced this would be really useful. This is why I was saying that setting verbose=0 in CircleCI seemed to do the job well enough."}}