{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/291","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/291/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/291/events","html_url":"https://github.com/borgbackup/borg/issues/291","id":111969765,"number":291,"title":"factor out progress out of upgrade and create","user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/borgbackup/borg/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T15:58:50Z","updated_at":"2015-12-04T03:47:02Z","closed_at":"2015-12-03T14:27:20Z","body":"upgrade and create both use the hackish `\\r` to display progress. that may be fine, but maybe we want to refactor `report_progress()` so it can be used by `upgrade`?\r\n\r\nsimilarly, there should be a `--progress` argument to `upgrade`..."},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/161866327","html_url":"https://github.com/borgbackup/borg/issues/291#issuecomment-161866327","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/291","id":161866327,"user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T03:47:02Z","updated_at":"2015-12-04T03:47:02Z","body":"there were two things this was supposed to do:\r\n\r\n1. add a --progress flag to `upgrade` (not done)\r\n2. factor out the `\\r` stuff out of `upgrade` and `create` so that we have one set of tests and one codebase to handle that kind of \"one-line display\" (not done)"}}