What balance of detail do we want to strike when it comes to a dedicated files table?

Đang mở
#578 1 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
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python, sql
Lĩnh vực
data-engineering, database

Hướng nghiên cứu

Read the linked issues #211 and #451, along with #232, to identify the file related use cases mentioned in the issue. Then review how the project currently stores filenames and pull request files. The issue is complete when the team agrees which file information belongs in a dedicated table and which use cases that table should support.

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

Mô tả

design discussion

Several issues are likely going to require and/or benefit from having a dedicated files table:

While we have access to the full history of every file (because we have the git clones) - how much of this information makes sense to store (copy into) the database? Where do we draw the line between copying everything from git into the DB or not?

Why do this?

  • we need a files table that at least refers to the filenames so we can deduplicate those references in other tables (i.e. pull_request_files, repo_labor #232 , etc) and save a bunch of disk space.
  • we can more efficiently associate files and commits with joins, allowing us to not duplicate data when we collect two repos that share some or all of their history (#211)

Info wanted for:

  • what usecases there are that regularly touch file specific data that can benefit from this?
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.