Skip to content

Script to get destination list for all screen configs#3100

Open
robbie-sundstrom wants to merge 2 commits into
mainfrom
rs/screen-destinations
Open

Script to get destination list for all screen configs#3100
robbie-sundstrom wants to merge 2 commits into
mainfrom
rs/screen-destinations

Conversation

@robbie-sundstrom

Copy link
Copy Markdown
Contributor

Asana task: Enumerate route destinations for screen configs

See the Asana task or the CSV I accidentally added in my first commit for what this data looks like after running the script.

Could definitely be cleaned up a bit, but it's just a script that I don't see us running much more often.

@robbie-sundstrom robbie-sundstrom requested a review from a team as a code owner June 5, 2026 20:43

@deanshi deanshi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think looks good, but just a few clarifying questions from me!

Comment thread scripts/screen_destinations.exs
@@ -0,0 +1,212 @@
# Script to get all of the destinations we could show on a given Screen
# Uses the local.json file to find each relevant screen's departure query params,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this pull from the production S3 (or be given the option?) instead of using the local.json file? I'm just thinking if there's an off chance we accidentally use a non-prod local.json for the script.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good suggestion! I think I can make that the default and have it optionally pull from the local config

Comment thread scripts/screen_destinations.csv Outdated
Comment thread scripts/screen_destinations.csv Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants