{"action":"created","issue":{"url":"https://api.github.com/repos/datalad/datalad/issues/2351","repository_url":"https://api.github.com/repos/datalad/datalad","labels_url":"https://api.github.com/repos/datalad/datalad/issues/2351/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad/issues/2351/comments","events_url":"https://api.github.com/repos/datalad/datalad/issues/2351/events","html_url":"https://github.com/datalad/datalad/pull/2351","id":309096699,"number":2351,"title":"Use lgr.info() to get UNIFORM progress reporting","user":{"login":"mih","id":136479,"avatar_url":"https://avatars1.githubusercontent.com/u/136479?v=4","gravatar_id":"","url":"https://api.github.com/users/mih","html_url":"https://github.com/mih","followers_url":"https://api.github.com/users/mih/followers","following_url":"https://api.github.com/users/mih/following{/other_user}","gists_url":"https://api.github.com/users/mih/gists{/gist_id}","starred_url":"https://api.github.com/users/mih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mih/subscriptions","organizations_url":"https://api.github.com/users/mih/orgs","repos_url":"https://api.github.com/users/mih/repos","events_url":"https://api.github.com/users/mih/events{/privacy}","received_events_url":"https://api.github.com/users/mih/received_events","type":"User","site_admin":false},"labels":[{"id":390153891,"url":"https://api.github.com/repos/datalad/datalad/labels/UX","name":"UX","color":"c2e0c6","default":false},{"id":441136398,"url":"https://api.github.com/repos/datalad/datalad/labels/breakthrough","name":"breakthrough","color":"fbca04","default":false},{"id":374318336,"url":"https://api.github.com/repos/datalad/datalad/labels/conference%20agenda%20item","name":"conference agenda item","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"mih","id":136479,"avatar_url":"https://avatars1.githubusercontent.com/u/136479?v=4","gravatar_id":"","url":"https://api.github.com/users/mih","html_url":"https://github.com/mih","followers_url":"https://api.github.com/users/mih/followers","following_url":"https://api.github.com/users/mih/following{/other_user}","gists_url":"https://api.github.com/users/mih/gists{/gist_id}","starred_url":"https://api.github.com/users/mih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mih/subscriptions","organizations_url":"https://api.github.com/users/mih/orgs","repos_url":"https://api.github.com/users/mih/repos","events_url":"https://api.github.com/users/mih/events{/privacy}","received_events_url":"https://api.github.com/users/mih/received_events","type":"User","site_admin":false},"assignees":[{"login":"mih","id":136479,"avatar_url":"https://avatars1.githubusercontent.com/u/136479?v=4","gravatar_id":"","url":"https://api.github.com/users/mih","html_url":"https://github.com/mih","followers_url":"https://api.github.com/users/mih/followers","following_url":"https://api.github.com/users/mih/following{/other_user}","gists_url":"https://api.github.com/users/mih/gists{/gist_id}","starred_url":"https://api.github.com/users/mih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mih/subscriptions","organizations_url":"https://api.github.com/users/mih/orgs","repos_url":"https://api.github.com/users/mih/repos","events_url":"https://api.github.com/users/mih/events{/privacy}","received_events_url":"https://api.github.com/users/mih/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-03-27T19:10:15Z","updated_at":"2018-04-18T20:05:43Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/datalad/datalad/pulls/2351","html_url":"https://github.com/datalad/datalad/pull/2351","diff_url":"https://github.com/datalad/datalad/pull/2351.diff","patch_url":"https://github.com/datalad/datalad/pull/2351.patch"},"body":"This means switching to structured log messages similar to our result records. Such message should indicate the start and end of a process, as well as intermediate updates on the progress. Start messages may also give an indication of the \"amount\" of processing to be expected, and log messages could indicate a more precise state of the progress in such cases.\r\n\r\nWith such messages and related adjustments it would be possible to uniformly display progress (in contrast to the current mix of logging and progress reporting. We could decide centrally to disable any of that, rate limit progress reports, or switch between progressbars, no progressbars, or line-based log messages. It would also enable us to adopt the habit of using logging in a more structured way -- not with the target of communicating with a user, but to comprehensively document what is going on.\r\n\r\n@bpoldrack you looked at logging in the past, correct? Could you look into whether we can have a log handler that could receive dicts with such info as input?"},"comment":{"url":"https://api.github.com/repos/datalad/datalad/issues/comments/382512178","html_url":"https://github.com/datalad/datalad/pull/2351#issuecomment-382512178","issue_url":"https://api.github.com/repos/datalad/datalad/issues/2351","id":382512178,"user":{"login":"kyleam","id":1297788,"avatar_url":"https://avatars2.githubusercontent.com/u/1297788?v=4","gravatar_id":"","url":"https://api.github.com/users/kyleam","html_url":"https://github.com/kyleam","followers_url":"https://api.github.com/users/kyleam/followers","following_url":"https://api.github.com/users/kyleam/following{/other_user}","gists_url":"https://api.github.com/users/kyleam/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleam/subscriptions","organizations_url":"https://api.github.com/users/kyleam/orgs","repos_url":"https://api.github.com/users/kyleam/repos","events_url":"https://api.github.com/users/kyleam/events{/privacy}","received_events_url":"https://api.github.com/users/kyleam/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T20:05:43Z","updated_at":"2018-04-18T20:05:43Z","author_association":"CONTRIBUTOR","body":"I've started to convert addurls to use `log_progress`.  The one thing I found missing is the ability to update the progress bar's label.  The commit that I just pushed adds support for that.\r\n"}}
{"actor":{"display_login":"kyleam"}}