What balance of detail do we want to strike when it comes to a dedicated files table?

Aperta
#578 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python, sql

Direzione di ricerca

Read the linked issues #211 and #451, along with #232, to identify the file related use cases mentioned in the issue. Then review how the project currently stores filenames and pull request files. The issue is complete when the team agrees which file information belongs in a dedicated table and which use cases that table should support.

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

Descrizione

design discussion

Several issues are likely going to require and/or benefit from having a dedicated files table:

While we have access to the full history of every file (because we have the git clones) - how much of this information makes sense to store (copy into) the database? Where do we draw the line between copying everything from git into the DB or not?

Why do this?

  • we need a files table that at least refers to the filenames so we can deduplicate those references in other tables (i.e. pull_request_files, repo_labor #232 , etc) and save a bunch of disk space.
  • we can more efficiently associate files and commits with joins, allowing us to not duplicate data when we collect two repos that share some or all of their history (#211)

Info wanted for:

  • what usecases there are that regularly touch file specific data that can benefit from this?
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.