Allow underscores in GTFS feed IDs - #5191
Merged
leonardehrenfried merged 7 commits intoJun 22, 2023
Merged
Conversation
leonardehrenfried
force-pushed
the
underscore-feed-id
branch
from
June 14, 2023 15:48
c4735a1 to
9c99076
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #5191 +/- ##
=============================================
+ Coverage 65.36% 65.42% +0.06%
- Complexity 14456 14478 +22
=============================================
Files 1754 1755 +1
Lines 67925 67984 +59
Branches 7231 7231
=============================================
+ Hits 44396 44477 +81
+ Misses 21059 21041 -18
+ Partials 2470 2466 -4
☔ View full report in Codecov by Sentry. |
vpaturet
reviewed
Jun 16, 2023
vpaturet
requested changes
Jun 16, 2023
vpaturet
approved these changes
Jun 16, 2023
leonardehrenfried
enabled auto-merge
June 20, 2023 09:04
optionsome
approved these changes
Jun 22, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Right now it's not allowed to have an underscore in a GTFS feed ID - the underscore is stripped out. This seems like a relict from another time where this ID was used differently and I cannot see a reason why we shouldn't allow the underscore.
This PR fixes that and also does a bit of gentle clear out of related areas in the code.
Unit tests
Added.