{"action":"opened","issue":{"url":"https://api.github.com/repos/datalad/datalad-revolution/issues/31","repository_url":"https://api.github.com/repos/datalad/datalad-revolution","labels_url":"https://api.github.com/repos/datalad/datalad-revolution/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad-revolution/issues/31/comments","events_url":"https://api.github.com/repos/datalad/datalad-revolution/issues/31/events","html_url":"https://github.com/datalad/datalad-revolution/issues/31","id":374739448,"node_id":"MDU6SXNzdWUzNzQ3Mzk0NDg=","number":31,"title":"Consider reimplementing `Repo.add/commit()`","user":{"login":"mih","id":136479,"node_id":"MDQ6VXNlcjEzNjQ3OQ==","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-28T10:35:53Z","updated_at":"2018-10-28T10:35:53Z","closed_at":null,"author_association":"MEMBER","body":"There is a substantial potential for improvements:\r\n\r\n- large chunks of this functions in -core deal with direct-mode peculiarities that could simply be removed\r\n- using dry-run adds to figure out file sizes for annex progress bars is made obsolete by info from `annexstatus()` that already yields this information\r\n- the main API to add/commit in a repo is now `Repo.save()`, hence `add()`, `commit()` could become helpers that are called in only one or two ways, and their internal logic could be trimmed to benefit from this fact"}}
{"actor":{"display_login":"mih"}}