pull_request_assignees column `contrib_id` name misspelled

Đang mở
#597 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
database

Hướng nghiên cứu

Read the pull_request_assignees model in collectoss/application/db/models/data.py around line 2955 and check how cntrb_id is used for contributor foreign keys elsewhere. The issue identifies the misspelled contrib_id column, but says correcting it would be a breaking change and does not specify a migration or compatibility plan; done would require an agreed safe rename.

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

Mô tả

breaking-noncontract database

https://github.com/chaoss/CollectOSS/blob/c7326f8e60baa316249267f47c121b2e0e878640/collectoss/application/db/models/data.py#L2955

Most other places in the code, we use cntrb_id as the column representing a FK into the contributors table.

This issue documents the naming mistake.

It is a breaking change so isnt likely to happen soon

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.