Evaluate and remove frontend-specific repo_group special value

Aperta
#600 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, gitlab, python
Ambito
backend, databases

Direzione di ricerca

Start with tasks/frontend.py lines 44–85 to trace how individually added GitLab and GitHub repositories are assigned to the frontend group, then read the migration application/schema/alembic/versions/9_add_repo_group_for_frontend_repos.py and the related discussion in #309. Determine how the roughly 3,000 repositories can move to user groups without breaking collection or the repo group fixes. Done means the special group is no longer needed and both repository sources work with the replacement.

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

Descrizione

tech debt
  • There is a FRONTEND_REPO_GROUP_NAME that is a deliberate catch-all: (both add_gitlab_repos and add_github_orgs_and_repos (tasks/frontend.py:44-85) assign individually-added repos to this group by default and only validate that the target group ID exists.
    • IMO that should be deprecated in favor of user groups (created in application/schema/alembic/versions/9_add_repo_group_for_frontend_repos.py i guess)

Originally posted by @MoralCode in #309

This frontend special repo_group is the only group with a mix of GH and GL repos (3k ish in total), meaning it (likely) at least a mild blocker to fully implementing fixes to repo_groups per #309

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.