Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update populate script to overwrite location when changes come from sources.csv #716

Open
emmambd opened this issue Aug 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@emmambd
Copy link
Contributor

emmambd commented Aug 27, 2024

Describe the problem

Use case: https://mobilitydatabase.org/feeds/mdb-1824

  • No automated location has ever been extracted from this feed, because the GTFS files are in a subfolder
  • A contributor requested the location from the catalogs be updated from Izmit to Izmir
  • The change was made on the catalogs, but the populate script doesn't actually track changes

Proposed solution

Update the populate script to

  • Check location on latest dataset
  • if location is set don't overwrite with sources.csv location
  • otherwise overwrite

currently the script only checks if location is set on the feed and don't retrieve datasets

Alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant