dandi / dandi/dandi-cli

validation - add support for vendorization record from the instance server

Open
#1,625 0 comments 0 reactions 0 assignees View on GitHub
cmd-upload cmd-validate vendoring
Dominant language
Python
Stars
28
Forks
37
Avg merge
1d 17h
Merged PRs (30d)
9

Description

As a part of the vendorization effort we need to allow for using vendorization from the server, see
- https://github.com/dandi/dandi-schema/issues/299

So we need
- for `dandi validate`
- add `--instance` option like we have for other commands
- if provided, talk to that instance server (from our `known_instances`) and discover vendorization record
- apply vendorization record before importing `dandi-schema` so it is in effect
- for `dandi upload`
- after instance is figured out, consult server for the vendorization record, and perform similar vendorization of dandi-schema import

Related
- https://github.com/dandi/dandi-archive/pull/2386 would provide instance specific JSONSchema, but we would not get vendor specific dandischema.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.