Skip to content

Ensure BIDS validator always uses latest version - #142

Merged
neuromechanist merged 2 commits into
devfrom
feature/issue-139-bids-validator-update
Feb 13, 2026
Merged

neuromechanist merged 2 commits into
devfrom
feature/issue-139-bids-validator-update

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

  • Auto-refresh BIDS validator cache when stale (>7 days old)
  • Add --update flag to nemar dataset validate for manual refresh
  • Show stale cache warning in --version-info output
  • Use Deno's --reload flag targeted to the validator specifier only

Test plan

  • Run nemar dataset validate --version-info and verify version shown
  • Run nemar dataset validate --update and verify it fetches latest
  • Run nemar dataset validate ./test-dataset and verify auto-refresh on stale cache
  • Verify repeated runs use cache (no network delay)

Closes #139

- Add --reload flag to Deno invocations when cache is stale (>7 days)
- Add --update CLI flag to force refresh validator cache
- Show stale cache warning in --version-info output
- Auto-check for updates when cache is older than 7 days

Closes #139
@github-actions

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR142

Version: 0.5.0-PR142.7a554fc
Commit: 7a554fc


🤖 Updated on each push.

- Add Windows platform cache path (AppData/Local/deno)
- Pass forceReload option through to runBidsValidatorDirect
@neuromechanist
neuromechanist merged commit d1fcfe2 into dev Feb 13, 2026
1 check passed
@neuromechanist
neuromechanist deleted the feature/issue-139-bids-validator-update branch March 6, 2026 23:56

This branch was previously deployed

1 inactive deployment
npm — 20b53f71 Deployed Feb 13, 2026 by neuromechanist via publish #247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant