bids-validator icon indicating copy to clipboard operation
bids-validator copied to clipboard

If under Git (may be git-annex/datalad), add basic information about state as well into summary

Open yarikoptic opened this issue 2 years ago • 0 comments
trafficstars

The idea is really to annotate the validator output with descriptor/signature of the state of the dataset which was validated, so if the output of the bids-validator is provided as supplementary information for a paper, it could identify/confirm which state it is for.

An obvious way to describe the state is when dataset is under VCS. So if detected to be under git, could provide output of git describe --tags --always or just a commit hexsha + either state is clean (an empty output of git status --porcelain could be a sign for it being clean).

yarikoptic avatar May 25 '23 13:05 yarikoptic