close and followup

This commit is contained in:
Joey Hess 2023-04-25 19:32:51 -04:00
parent be36e208c2
commit 96cb6d2157
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
[[!comment format=mdwn
username="joey"
subject="""comment 7"""
date="2023-04-25T23:27:25Z"
content="""
[[todo/api_for_telling_when_nonexistant_or_non_git_files_passed]] is
implemented now.
In datalad, all you should need to do now is check for a json object with
`errorid:"FileNotFound"` and the `file` field is the name of the file.
Note that the parser for error messages like "did not match any file(s)
known to git" from `git ls-files --error-unmatch` will still be needed in
datalad.
I'm going to leave this open as a git-annex release blocker until the
necessary changes get made to datalad.
"""]]

View file

@ -25,3 +25,5 @@ This does risk breaking things that parse the existing JSON and fall
over on the new record, but I think git-annex should be free to add new over on the new record, but I think git-annex should be free to add new
records and fields to its JSON output in general, and it has probably records and fields to its JSON output in general, and it has probably
at least added new fields before. --[[Joey]] at least added new fields before. --[[Joey]]
> [[done]] --[[Joey]]