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

オープン
#1,909 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
34
フォーク
7
平均マージ
3日 3時間
マージ済み PR(30日)
22

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MobilityData/mobility-feed-api のほかの issue

MobilityData/mobility-feed-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。