find a way to populate the materialized views database structure on future new instances

Aperta
#585 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
postgresql, python, sqlalchemy
Ambito
databases, testing

Direzione di ricerca

Start from collectoss/application/db/materialized_views.py to see how the views are defined, then find the database-backed test fixture (likely a conftest.py) that calls Base.metadata.create_all and check whether those views are created by it or only by migration/raw SQL. Read the PR #583 discussion and #577/#501 for the comparator use case. Done means the test database contains the materialized views so the comparator from #501 can be exercised in tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-plan testing

Does Base.metadata.create_all create the materialized views from collectoss/application/db/materialized_views.py? One of the main use cases in #577 was testing the materialized view comparator from #501, so we might need those created here too.

Originally posted by @Dev10-sys in https://github.com/chaoss/CollectOSS/pull/583#discussion_r4657465555

Lingua principale
Python
Stelle
18
Fork
33
Merge medio
2g 16h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chaoss/CollectOSS

Tutte le issue di chaoss/CollectOSS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.