Revamp the `conda/schemas` repository
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- json, python
- Ambito
- documentation, testing, tooling
Direzione di ricerca
Inizia leggendo i CEP #51, #8 e #50, quindi esamina il repository esistente conda/schemas e i suoi modelli non documentati. Confronta la struttura proposta examples/, schemas/, models/, scripts/ e tests/ con gli standard attuali e con il ruolo previsto di Pydantic. Per considerare il lavoro completato è necessaria una decisione dello steering-team sull’ambito e sulla struttura del repository, prima di poter definire l’implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Note: I was going to post this in
conda/schemasdirectly but I can't tag the steering team from there, hence the issue here.
We have a few CEPs coming up (see #51 #8 #50) where it has been suggested that we document the proposed standards with an accompanying JSON schema in the conda/schemas repo.
As I start writing some of these schemas down, I will be using pydantic to write reusable models that can auto export JSON documents. I wonder if there's an interest in doing this retroactively for existing models that have not been standardized yet, so if this catches up, I'd like to propose the following repository structure:
examples/: Real-life examples of the documented file types, that can be used in test suites if necessary.schemas/: Publishable JSON schema documents.models/:Python scripts that generate JSON schemas intoschemas/. Most likely usingpydantic.scripts/: Other helper utilities (e.g. refresh all JSON schemas from their models, publish to a HTML tree, etc).tests/: Automations to make sure the proposed models actually implement the existing "standards" (as inexamples/), but also reject non-compliant files (e.g. extra keys due to typos).
Eventually I can foresee how the models directory becomes a collection of well structured modules with no extra dependencies (other than Pydantic) that would be best served as an importable Python package. Downstream packages (maybe including conda!) could benefit from using these models to transparently add typing their code paths, or at least compare their custom implementations to accepted community standards in their test suites.
I'd love to hear thoughts from @conda-incubator/steering! Thanks!
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 35
- Fork
- 43
- Merge medio
- 2h 11m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di conda/ceps
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 54/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 28/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 32/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
-
Reloading /package-documentation/ shows pkgdown README instead of version chooserForse già presa @ANAMASGARD l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
PecanProject/PecanProject.github.io#206 · 1 commento ·
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
slackapi/slack-health-score#253 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
vercel-labs/agent-skills#385 ·
-
area:docs type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jejjohnson/gauss_flows#246 ·
I maintainer di solito rispondono entro 1 giorno