-
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
chore: check stop name and desc #937
Conversation
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
This one can stay at the warning severity level, the spec after RFC says:
|
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.
Thanks! A couple of comments here.
|---------------- |----------------------------------------- |-------- | | ||
| `csvRowNumber` | The row number of the faulty record. | String | | ||
| `stopId` | The id of the faulty record. | Long | | ||
| `routeDesc` | The faulty record's `stop_desc`. | String | |
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.
typo: should be stopDesc
This is one more argument for removing this file. It is too easy to make a typo and it takes too much effort to catch all mistakes.
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.
Fixed in PR #1004, opened issue #1006 to discuss the issues we have with NOTICES.md
closes #910
Summary:
This PR provides support to implement a new rule described in #910
Expected behavior:
New
ValidationNotice
:SameNameAndDescriptionForStopNotice
(severity level:WARNING
- to be upgraded toERROR
in the future.A notice should be generated for each record from
stops.txt
wherestops.stop_des == stops.stop_name
.Please make sure these boxes are checked before submitting your pull request - thanks!
gradle test
to make sure you didn't break anything[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)