-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat: Validation for conditionally required/forbidden fare_rules.txt
file.
#1261
Conversation
….txt` file, per Fares v2 spec update.
@isabelle-dr per discussion, here is a separate PR for the Fares v1 file checks. |
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/FaresV1FileValidator.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 minor changes in line.
Can you resolve the merge conflicts?
Then, I'll merge this PR!
@merge conflicts have been resolved |
Pasting this in manually: ❌ Invalid acceptance test. I was curious what this was going to trigger. Taking a closer look. |
Isn't having |
I'm a little confused by the change to the spec as well. Looking back at the original Fares V1 example documentation (not really hosted anywhere anymore, but available at https://web.archive.org/web/20111207224351/https://code.google.com/p/googletransitdatafeed/wiki/FareExamples), having a And indeed, when I look through the acceptance report for this change, there are 62 feeds in the MobilityDatabase that have a That said, there are also 11 feeds where I'm tempted to say "pause" on this PR and get some feedback from the #gtfs-fares group before proceeding. |
@bdferris-v2 I am closing this since we decided to modify the spec and not the validator for this one. |
Summary:
Per updates introduced in the Fares v2 spec addition, we now check for the conditionally required/forbidden
fare_rules.txt
file.Please make sure these boxes are checked before submitting your pull request - thanks!
gradle test
to make sure you didn't break anything