This commit is contained in:
Joey Hess 2023-04-25 13:18:01 -04:00
parent 00b29d17ad
commit 26953ad3a6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2023-04-25T16:57:58Z"
content="""
I see that datalad parses the error messages to get the filename that
caused it, and so an exit status is not enough information.
(See `./datalad/support/annex_utils.py`
`_get_non_existing_from_annex_output`)
So the additional json would need to include the filename that didn't exist,
perhaps something like this:
{"file", "foo", "error-messages":["foo not found"]}
"""]]