Create new operations database table for pending repo collection requests

Aperta
#529 3 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
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
databases

Direzione di ricerca

The payload does not name the files, so start by finding where the existing database tables and their migrations are defined in this Python repository, and follow the pattern used for an existing table. Decide with maintainers how the requester reference and the "self"/"collection" value should work, since the issue leaves that open. Done means a new table exists with the listed columns (repo URL, requester, optional reason, timezone-aware timestamp, nullable denied flag) and a migration that creates it.

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

Descrizione

challenging first issue database pending-maintainers

In order to support the larger task that this issue is part of, we likely want a new database table for collection requests (i.e. repos we may want to collect that are pending approval from an admin).

I think this table should include:

  • the repo url requested for collection
  • who requested it? (should be a reference to the users table for a known collectoss user, maybe also with a "self" or "collection" value to indicate when such requests were auto generated by the system)
  • why is it being requested? (free text optional string)
  • when was the request made (timestamp with timezone)
  • Whether the request has been denied (boolean or null)
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.