Skip to content

Conversation

@ankoure
Copy link
Contributor

@ankoure ankoure commented Sep 19, 2025

Motivation

There are a lot of bus routes to process for creating/updating manifests, and to add stops to gobble. This is intended to create some scripts to reduce the mental load of adding a lot of new bus lines.

One of them generates the appropriate shell script blocks for multi-routes which then generates the appropriate manifests with branches. The other script generates a gobble style dict with the independent route as a key and the stops from the manifests as a set of values. This also will split out mult-route lines as appropriate and also handle special cases such as CT2 -> 747 or SLW -> 746.

Changes

Includes two new python scripts in the server/bus folder.

Testing Instructions

Run the scripts and compare the output to what we have currently.

@github-actions github-actions bot added the backend Change to backend code label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Change to backend code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants