Add feed provider schema
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by locating the Liquibase changelog and the model generation workflow mentioned in the repository, then inspect the existing agencytxt and feedinfo schemas and shared URL normalizer. Add the requested provider tables, nullable references, index, and normalized URL backfill, then regenerate the models. Done means the acceptance criteria hold and API and function behavior remain unchanged.
Written by the indexing model from the issue text.
Description
Describe the problem
Raw agency.txt and feed_info.txt records have no way to be grouped under a single provider, so TTC and Toronto Transit Commission stay unrelated.
Proposed solution
Liquibase changesets, then regenerate the models:
feed_provider:id,name,status(wip,published,not_published),created_at,updated_atfeed_provider_name_alias:id,feed_provider_id,value(unique per provider)feed_provider_contact:id,feed_provider_id,contact_type(website,email,phone),value(unique per provider and type)- Nullable
feed_provider_idonagencytxtandfeedinfo, indexed feed_publisher_url_normalizedonfeedinfo, indexed and backfilled with the shared URL normalizerfeed_provider.statusdefaults topublished(auto-created providers mirror the GTFS file values).
Acceptance criteria:
- A provider can have multiple aliases and contacts.
- Raw records can reference a provider; existing rows stay unlinked.
- No behavior changes in the API or functions.
Alternatives you've considered
Linking providers through a join table instead of a column on the raw tables: rejected, a raw record belongs to at most one provider.
Additional context
- Dominant language
- Python
- Stars
- 34
- Forks
- 7
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 22
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MobilityData/mobility-feed-api
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MobilityData/mobility-feed-api#1927 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
MobilityData/mobility-feed-api#1846 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
MobilityData/mobility-feed-api#1755 · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MobilityData/mobility-feed-api#1647 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MobilityData/mobility-feed-api#836 ·
Maintainers usually reply within 2 days
All issues in MobilityData/mobility-feed-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OStrama/weishaupt_modbus#216 ·
-
bug follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Retire stale Python-parity labels in Rust ingress and auth testsPossibly taken @github-actions claimed this today. Openfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JoshCLWren/comic-pile#5874 · 2 comments ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area: community lane: free-agent priority: P1 roadmap type: task
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
velella-sh/offing#1046 ·
Maintainers usually reply within 1 day