upload,validate: Add --validators option

オープン
#1,737 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@candleindark がすでに取り組んでいます。

2025年11月6日 から。

評価

この issue はまだ評価されていません。

説明

blocked cmd-upload cmd-validate configuration

ATM we already interface multiple validators in dandi-cli. There are use cases which might ask for disabling or enabling some. Eg.

  • in cases of partial uploads of BIDS datasets we might want to disable bids-validator-deno as it would not have access to full dataset and just rely on bidsschematools which I believe we do not report otherwise (we do use it to extract metadata though)
  • ...

So I think we should add an option like

  • --validators auto,all,bidsschematools,bids-validator-deno,zarr,...

where currently it is like auto as we do not bother with bids-validator(s) if we do not see it being a bids dandiset. With all it would really enable all of them.

Also I now created configuration label to mark issues which would point to specific options people must be able to specify for their dandisets locally (or globally).

edits:

  • note that such filtering on validators, relates to the #1743
  • it is not to "force" any particular validator on a specific path, but rather to alter (shrink) list of available validators which are applied as applicable.
  • for now blocked as we better decide on how to address is more holistically with 1743 and others.
主要言語
Python
スター
28
フォーク
37
平均マージ
4日 13時間
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dandi/dandi-cli のほかの issue

dandi/dandi-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。