-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_call_annex_records_items_ incompatible with logging #7328
Comments
This is probably an issue in core (with the call_annex functions), but haven't figured the culprit really, so not yet moving the issue. Edit: So, it seems Moving the issue to core. |
Feels like a protocol switch should do the trick, but not sure yet. |
FWIW that protocol/change was introduced in a single 177eb36 which is within #6580 to resolve #6578, released in 0.16.0 (awhile back) . Indeed I don't think we should generally consider presence of stderr to be an indication of errorneous execution. on a brief look I didn't find description of a reason why it was considered to be an error in that case. May be @christian-monch has some recollection of the motivation etc. |
The previous assertion that there's no stderr output to be expected is wrong. This function is calling git-annex commands, which in turn may involve arbitrary special remotes. DataLad can not know whether there is anything to expect on stderr and if such would indicate an error. We should be able to rely on git-annex returning non-zero. Closes datalad#7328
@yarikoptic: @christian-monch commented in #7329 that it was there because previous implementation (w/o the new runner) had it. |
Issue fixed in |
When running a push to an export remote with datalad's log level set to
DEBUG
, the patch fails b/c there's unexpected output on stderr (the logging):Here is the relevant log:
The text was updated successfully, but these errors were encountered: