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

Đang mở
#511 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của chaoss/CollectOSS

Tất cả issue của chaoss/CollectOSS

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.