{"action":"opened","number":2881,"pull_request":{"url":"https://api.github.com/repos/datalad/datalad/pulls/2881","id":218977359,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4OTc3MzU5","html_url":"https://github.com/datalad/datalad/pull/2881","diff_url":"https://github.com/datalad/datalad/pull/2881.diff","patch_url":"https://github.com/datalad/datalad/pull/2881.patch","issue_url":"https://api.github.com/repos/datalad/datalad/issues/2881","number":2881,"state":"open","locked":false,"title":"ENH: channel output from annex init into our logger","user":{"login":"yarikoptic","id":39889,"node_id":"MDQ6VXNlcjM5ODg5","avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"body":"This pull request partially fixes #2844 and replaces #2868 \r\n\r\nPartially, because whenever we do consume/redirect stderr, `git` no longer outputs progress information.  Here is the function it decides upon  https://git.kernel.org/pub/scm/git/git.git/tree/progress.c#n75\r\n\r\nTo force it to provide progress output, checkout/pull/push have additional `--progress` option to force it. there is no config setting (according to IRC chat). But just from a few days back, https://public-inbox.org/git/20180921222454.GD11177@sigill.intra.peff.net/ points to a proposal to be able to pipe progress information to any process to provide custom progress rendering without needing to parse etc. Might come handy in the future\r\n\r\nSo, for now I am offering to get following:\r\n```shell\r\n$> tools/eval_under_testloopfs DATALAD_REPO_VERSION=6 /usr/bin/time datalad install -s https://github.com/psychoinformatics-de/studyforrest-data-structural.git studyforrest-data-structural_alt                            I: vfat of 10:  /home/yoh/.tmp/datalad-fs-6wyWm\r\n10+0 records in\r\n10+0 records out\r\n10321920 bytes (10 MB, 9.8 MiB) copied, 0.00474188 s, 2.2 GB/s\r\nmkfs.fat 4.1 (2017-01-24)\r\nI: running DATALAD_REPO_VERSION=6 /usr/bin/time datalad install -s https://github.com/psychoinformatics-de/studyforrest-data-structural.git studyforrest-data-structural_alt\r\n[INFO   ] Cloning https://github.com/psychoinformatics-de/studyforrest-data-structural.git [1 other candidates] into '/home/yoh/.tmp/datalad-fs-6wyWm/studyforrest-data-structural_alt' \r\n[INFO   ]   Detected a filesystem without fifo support. \r\n[INFO   ]   Disabling ssh connection caching. \r\n[INFO   ]   Detected a crippled filesystem. \r\n[INFO   ]   Entering an adjusted branch where files are unlocked as this filesystem does not support locked files. \r\n[INFO   ] Switched to branch 'adjusted/master(unlocked)' \r\n[INFO   ] download failed: Not Found \r\n[INFO   ]   Remote origin not usable by git-annex; setting annex-ignore \r\ninstall(ok): /home/yoh/.tmp/datalad-fs-6wyWm/studyforrest-data-structural_alt (dataset)\r\n6.74user 3.51system 0:15.83elapsed 64%CPU (0avgtext+0avgdata 54752maxresident)k\r\n8inputs+18768outputs (0major+847758minor)pagefaults 0swaps\r\n/home/yoh/.tmp/datalad-fs-6wyWm\r\ntools/eval_under_testloopfs DATALAD_REPO_VERSION=6 /usr/bin/time datalad  -s   6.79s user 3.55s system 64% cpu 16.003 total\r\n```\r\nIMHO it is already good enough to inform user about ongoing activities... not yet sure about `download failed: Not Found` message there.\r\n\r\nAs for progress, which as some of you already discovered first hand is not really \"logging/CI friendly\" if just dumped to stderr filling up the logs,  I would wait for us to be able to get and handle it.\r\n","created_at":"2018-09-28T13:58:10Z","updated_at":"2018-09-28T13:58:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/datalad/datalad/pulls/2881/commits","review_comments_url":"https://api.github.com/repos/datalad/datalad/pulls/2881/comments","review_comment_url":"https://api.github.com/repos/datalad/datalad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datalad/datalad/issues/2881/comments","statuses_url":"https://api.github.com/repos/datalad/datalad/statuses/f746c252aba8f83fefda40ae40fe828a53119854","head":{"label":"yarikoptic:enh-annex-init-infolog","ref":"enh-annex-init-infolog","sha":"f746c252aba8f83fefda40ae40fe828a53119854","user":{"login":"yarikoptic","id":39889,"node_id":"MDQ6VXNlcjM5ODg5","avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"repo":{"id":30428483,"node_id":"MDEwOlJlcG9zaXRvcnkzMDQyODQ4Mw==","name":"datalad","full_name":"yarikoptic/datalad","private":false,"owner":{"login":"yarikoptic","id":39889,"node_id":"MDQ6VXNlcjM5ODg5","avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yarikoptic/datalad","description":"Keep scientific data under control by git  and git-annex","fork":true,"url":"https://api.github.com/repos/yarikoptic/datalad","forks_url":"https://api.github.com/repos/yarikoptic/datalad/forks","keys_url":"https://api.github.com/repos/yarikoptic/datalad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yarikoptic/datalad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yarikoptic/datalad/teams","hooks_url":"https://api.github.com/repos/yarikoptic/datalad/hooks","issue_events_url":"https://api.github.com/repos/yarikoptic/datalad/issues/events{/number}","events_url":"https://api.github.com/repos/yarikoptic/datalad/events","assignees_url":"https://api.github.com/repos/yarikoptic/datalad/assignees{/user}","branches_url":"https://api.github.com/repos/yarikoptic/datalad/branches{/branch}","tags_url":"https://api.github.com/repos/yarikoptic/datalad/tags","blobs_url":"https://api.github.com/repos/yarikoptic/datalad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yarikoptic/datalad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yarikoptic/datalad/git/refs{/sha}","trees_url":"https://api.github.com/repos/yarikoptic/datalad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yarikoptic/datalad/statuses/{sha}","languages_url":"https://api.github.com/repos/yarikoptic/datalad/languages","stargazers_url":"https://api.github.com/repos/yarikoptic/datalad/stargazers","contributors_url":"https://api.github.com/repos/yarikoptic/datalad/contributors","subscribers_url":"https://api.github.com/repos/yarikoptic/datalad/subscribers","subscription_url":"https://api.github.com/repos/yarikoptic/datalad/subscription","commits_url":"https://api.github.com/repos/yarikoptic/datalad/commits{/sha}","git_commits_url":"https://api.github.com/repos/yarikoptic/datalad/git/commits{/sha}","comments_url":"https://api.github.com/repos/yarikoptic/datalad/comments{/number}","issue_comment_url":"https://api.github.com/repos/yarikoptic/datalad/issues/comments{/number}","contents_url":"https://api.github.com/repos/yarikoptic/datalad/contents/{+path}","compare_url":"https://api.github.com/repos/yarikoptic/datalad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yarikoptic/datalad/merges","archive_url":"https://api.github.com/repos/yarikoptic/datalad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yarikoptic/datalad/downloads","issues_url":"https://api.github.com/repos/yarikoptic/datalad/issues{/number}","pulls_url":"https://api.github.com/repos/yarikoptic/datalad/pulls{/number}","milestones_url":"https://api.github.com/repos/yarikoptic/datalad/milestones{/number}","notifications_url":"https://api.github.com/repos/yarikoptic/datalad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yarikoptic/datalad/labels{/name}","releases_url":"https://api.github.com/repos/yarikoptic/datalad/releases{/id}","deployments_url":"https://api.github.com/repos/yarikoptic/datalad/deployments","created_at":"2015-02-06T19:12:34Z","updated_at":"2016-02-25T18:47:34Z","pushed_at":"2018-09-28T13:49:31Z","git_url":"git://github.com/yarikoptic/datalad.git","ssh_url":"git@github.com:yarikoptic/datalad.git","clone_url":"https://github.com/yarikoptic/datalad.git","svn_url":"https://github.com/yarikoptic/datalad","homepage":null,"size":14082,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"datalad:master","ref":"master","sha":"006dbd2b534aedeb7fcb4fe5976f5ece55cf2f75","user":{"login":"datalad","id":8927200,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MjcyMDA=","avatar_url":"https://avatars2.githubusercontent.com/u/8927200?v=4","gravatar_id":"","url":"https://api.github.com/users/datalad","html_url":"https://github.com/datalad","followers_url":"https://api.github.com/users/datalad/followers","following_url":"https://api.github.com/users/datalad/following{/other_user}","gists_url":"https://api.github.com/users/datalad/gists{/gist_id}","starred_url":"https://api.github.com/users/datalad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datalad/subscriptions","organizations_url":"https://api.github.com/users/datalad/orgs","repos_url":"https://api.github.com/users/datalad/repos","events_url":"https://api.github.com/users/datalad/events{/privacy}","received_events_url":"https://api.github.com/users/datalad/received_events","type":"Organization","site_admin":false},"repo":{"id":14052034,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1MjAzNA==","name":"datalad","full_name":"datalad/datalad","private":false,"owner":{"login":"datalad","id":8927200,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MjcyMDA=","avatar_url":"https://avatars2.githubusercontent.com/u/8927200?v=4","gravatar_id":"","url":"https://api.github.com/users/datalad","html_url":"https://github.com/datalad","followers_url":"https://api.github.com/users/datalad/followers","following_url":"https://api.github.com/users/datalad/following{/other_user}","gists_url":"https://api.github.com/users/datalad/gists{/gist_id}","starred_url":"https://api.github.com/users/datalad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datalad/subscriptions","organizations_url":"https://api.github.com/users/datalad/orgs","repos_url":"https://api.github.com/users/datalad/repos","events_url":"https://api.github.com/users/datalad/events{/privacy}","received_events_url":"https://api.github.com/users/datalad/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/datalad/datalad","description":"Keep scientific data under control with git  and git-annex","fork":false,"url":"https://api.github.com/repos/datalad/datalad","forks_url":"https://api.github.com/repos/datalad/datalad/forks","keys_url":"https://api.github.com/repos/datalad/datalad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datalad/datalad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datalad/datalad/teams","hooks_url":"https://api.github.com/repos/datalad/datalad/hooks","issue_events_url":"https://api.github.com/repos/datalad/datalad/issues/events{/number}","events_url":"https://api.github.com/repos/datalad/datalad/events","assignees_url":"https://api.github.com/repos/datalad/datalad/assignees{/user}","branches_url":"https://api.github.com/repos/datalad/datalad/branches{/branch}","tags_url":"https://api.github.com/repos/datalad/datalad/tags","blobs_url":"https://api.github.com/repos/datalad/datalad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datalad/datalad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datalad/datalad/git/refs{/sha}","trees_url":"https://api.github.com/repos/datalad/datalad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datalad/datalad/statuses/{sha}","languages_url":"https://api.github.com/repos/datalad/datalad/languages","stargazers_url":"https://api.github.com/repos/datalad/datalad/stargazers","contributors_url":"https://api.github.com/repos/datalad/datalad/contributors","subscribers_url":"https://api.github.com/repos/datalad/datalad/subscribers","subscription_url":"https://api.github.com/repos/datalad/datalad/subscription","commits_url":"https://api.github.com/repos/datalad/datalad/commits{/sha}","git_commits_url":"https://api.github.com/repos/datalad/datalad/git/commits{/sha}","comments_url":"https://api.github.com/repos/datalad/datalad/comments{/number}","issue_comment_url":"https://api.github.com/repos/datalad/datalad/issues/comments{/number}","contents_url":"https://api.github.com/repos/datalad/datalad/contents/{+path}","compare_url":"https://api.github.com/repos/datalad/datalad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datalad/datalad/merges","archive_url":"https://api.github.com/repos/datalad/datalad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datalad/datalad/downloads","issues_url":"https://api.github.com/repos/datalad/datalad/issues{/number}","pulls_url":"https://api.github.com/repos/datalad/datalad/pulls{/number}","milestones_url":"https://api.github.com/repos/datalad/datalad/milestones{/number}","notifications_url":"https://api.github.com/repos/datalad/datalad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datalad/datalad/labels{/name}","releases_url":"https://api.github.com/repos/datalad/datalad/releases{/id}","deployments_url":"https://api.github.com/repos/datalad/datalad/deployments","created_at":"2013-11-01T19:40:08Z","updated_at":"2018-09-28T05:12:52Z","pushed_at":"2018-09-28T05:12:46Z","git_url":"git://github.com/datalad/datalad.git","ssh_url":"git@github.com:datalad/datalad.git","clone_url":"https://github.com/datalad/datalad.git","svn_url":"https://github.com/datalad/datalad","homepage":"http://datalad.org","size":14233,"stargazers_count":120,"watchers_count":120,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":463,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":42,"open_issues":463,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datalad/datalad/pulls/2881"},"html":{"href":"https://github.com/datalad/datalad/pull/2881"},"issue":{"href":"https://api.github.com/repos/datalad/datalad/issues/2881"},"comments":{"href":"https://api.github.com/repos/datalad/datalad/issues/2881/comments"},"review_comments":{"href":"https://api.github.com/repos/datalad/datalad/pulls/2881/comments"},"review_comment":{"href":"https://api.github.com/repos/datalad/datalad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datalad/datalad/pulls/2881/commits"},"statuses":{"href":"https://api.github.com/repos/datalad/datalad/statuses/f746c252aba8f83fefda40ae40fe828a53119854"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"yarikoptic"}}