`contributor_repo` table does not relate to `repo`
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
The contributor_repo table is filled by the contributor breadth worker; inspect that worker and the database schema to see how repo_git and gh_repo_id are written. First read the worker code and any migration scripts, then discuss with maintainers whether to link to repo via repo_src_id. Done means an agreed plan to reclaim space and add the foreign key before multi-forge support.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
the contributor_repo table does not have a foreign key to the repo table.
It has its own repo_git column and repo_name column which i dont believe is getting updated when repos move/get renamed. it appears to store events from the github events api (such as PushEvent and CreateEvent). Do we want to keep storing the historical names as they were when the data was collected? the urls seem likely redundant.
We do also have a gh_repo_id column so we can maybe associate this table with repo using the repo_src_id - this would be best to do before we move over to supporting other forges, otherwise this migration may be more difficult
In our 42k repo instance, this table is ~120GB
This table seems to be filled in by the contributor breadth worker.
The unique key on this table seems to be up to ~1.4 billion (im pretty sure its an autoincrement integer)
I suspect this table also has not been the target of any deletion queries we have ever run on this database
This table does not appear to be used by 8Knot but may be used by DSWG notebooks (and some internal stuff)
What should we do to make this table a more sensible use of space?
- Lingua principale
- Python
- Stelle
- 17
- Fork
- 30
- Merge medio
- 6h 16m
- PR unite (30g)
- 9
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la 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 chaoss/CollectOSS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
chaoss/CollectOSS#548 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#521 ·
I maintainer di solito rispondono entro 1 giorno
-
mask keys by default when checking API key expiryForse già presa @iGufrankhan l’ha presa 139 giorni fa. Apertachallenging first issue CLI
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#414 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
challenging first issue CLI
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#413 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Output current time alongside API key reset timeForse già presa @Dipro-cyber l’ha presa 145 giorni fa. ApertaCLI good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#412 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di chaoss/CollectOSS
Issue simili
-
HassSetVolumeRelative reports no targets (empty success list) although the volume was changedApertaintegration: media_player
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
home-assistant/core#193344 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
daniel-ospina/tortoise#13607 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno