How do we migrate `ContributorUUID` to handle new instances?

Offen
#511 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Refactoring
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
backend, databases

Rechercherichtung

Start by tracing every use of ContributorUUID, including where it is stored and referenced as a foreign key; the issue names no files or tests. Compare the proposed colon-delimited approach with repo_src_id in issue #312, and consider the unresolved UUID-versus-string performance question before defining what a complete migration entails.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

needs-plan pending-maintainers

ContributorUUID is currently hardcoded as a custom UUID format containing a contributors unique id on the platform as well as a platform identifier.

We should migrate this to a colon-delimited string thats easier to deal with, similer to what https://github.com/chaoss/CollectOSS/issues/312 plans to do with repo_src_id.

Problems:

  • are these IDs being stored as UUID types? will we lose performance if we switch to strings?
  • these identifiers are used as foreign keys
Vorherrschende Sprache
Python
Sterne
18
Forks
33
Ø Merge
2 T. 16 Std.
Gemergte PRs (30 T.)
12

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus chaoss/CollectOSS

Alle Issues in chaoss/CollectOSS

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.