Skip to content

Conversation

@emmambd
Copy link
Contributor

@emmambd emmambd commented Feb 20, 2025

Trillium informed us that they've made the switch to HTTPS for Oregon feeds. Updated URLs directly here given there's official confirmation from the data producer these are the same feeds.

},
"urls": {
"direct_download": "http://oregon-gtfs.com/gtfs_data/ctuir-or-us/ctuir-or-us.zip",
"direct_download": "https://oregon-gtfs.trilliumtransit.com/gtfs_data/ctuir-or-us/ctuir-or-us.zip",
Copy link
Member

Choose a reason for hiding this comment

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

This might be the cause of the integration test failing, a duplicated URL, https://mobilitydatabase.org/feeds/mdb-2189

Copy link
Contributor

@fredericsimard fredericsimard Feb 21, 2025

Choose a reason for hiding this comment

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

Apparently yes, I see something about uniqueness:

tests/test_integration.py:62: AssertionError
- generated html file: file:///home/runner/work/mobility-database-catalogs/mobility-database-catalogs/mobility-catalogs-integration-tests-report.html -
=========================== short test summary info ============================
FAILED tests/test_integration.py::test_catalogs_sources_gtfs_schedule_direct_download_urls_uniqueness
========================= 1 failed, 5 passed in 6.79s ==========================

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Fixed by adding a redirect

@fredericsimard
Copy link
Contributor

fredericsimard commented Feb 21, 2025

@emmambd So it's not just switching to https, it' also changing the domain name? Is that correct?

http://oregon-gtfs.com -> https://oregon-gtfs.trilliumtransit.com

And I also see this domain, just confirming it's correct...

https://data.trilliumtransit.com

@emmambd
Copy link
Contributor Author

emmambd commented Feb 24, 2025

@fredericsimard Correct!

Copy link
Contributor

@fredericsimard fredericsimard left a comment

Choose a reason for hiding this comment

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

LGTM!

@emmambd emmambd merged commit 764ed33 into main Feb 24, 2025
9 checks passed
@emmambd emmambd deleted the https-updates branch February 24, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants