Backfill `agency.txt` and `feed_info.txt` extraction for latest datasets

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

Hướng nghiên cứu

Start by locating the existing tasks_executor tasks and the gtfs_file_data_extractor entry point, then trace how feeds identify their latest datasets and how extracted data is linked. Implement a dry-run mode and a batch limit for the backfill. Done means every feed's latest dataset has agency.txt and feed_info.txt extraction linked, and rerunning the task creates no duplicates.

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

Mô tả

Describe the problem

Extraction only runs when a dataset is processed, so existing latest datasets have no extracted agency.txt or feed_info.txt data. Provider linking and roles depend on it.

Proposed solution
  • Add a tasks_executor task that queues gtfs_file_data_extractor runs for each feed's latest dataset (agency.txt and feed_info.txt).
  • Support a dry run and a limit for batched runs.

Acceptance criteria: every feed's latest dataset is linked to its extracted data; running the task again creates no duplicates.

Alternatives you've considered

Backfilling all historical datasets: not needed, because roles are generated from the latest dataset only.

Additional context
Ngôn ngữ chính
Python
Star
34
Fork
7
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
21

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 MobilityData/mobility-feed-api

Tất cả issue của MobilityData/mobility-feed-api

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.