-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix crash on itineraries with frequencies where distanceMeters was not computed #6580
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
Conversation
.vscode/launch.json
Outdated
@@ -0,0 +1,76 @@ | |||
{ |
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.
There is a lot of stuff in this PR that is not Java code. Can you fix that?
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.
I know, that's why I was hesitating to push there is only one file changed that matter, do I need to make a new change request once I have fixed the branch ?
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.
no, you can just do git push --force
on your branch.
Thank you for putting up this PR can't wait for it to merge, @leonardehrenfried. After this is merged, do you know how soon the fix will be available on Docker Hub? |
@epascal you should do this to remove the unnecessary files from the commit history:
|
I removed the unrelated files, is it ok for you |
I'm not sure what the policy has been for these situations in this project. @leonardehrenfried is keeping the commit history ok, or should it be cleaned up? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6580 +/- ##
=============================================
- Coverage 70.29% 70.29% -0.01%
+ Complexity 18408 18407 -1
=============================================
Files 2088 2088
Lines 77488 77489 +1
Branches 7871 7871
=============================================
- Hits 54470 54469 -1
- Misses 20243 20244 +1
- Partials 2775 2776 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
We don't have a formal policy. If it's deemed "too ugly" then we just squash-merge the PR. |
Reminder for whoever merges this: use Github's squash functionality. |
PR Instructions
When creating a pull request, please follow the format below. For each section, replace the
guidance text with your own text, keeping the section heading. If you have nothing to say in a
particular section, you can completely delete the section including its heading to indicate that you
have taken the requested steps. None of these instructions or the guidance text (non-heading text)
should be present in the submitted PR. These sections serve as a checklist: when you have replaced
or deleted all of them, the PR is considered complete. As of 2021, most regular OTP contributors
participate in our twice-weekly conference calls. For all but the simplest and smallest PRs,
participation in these discussions is necessary to facilitate the review and merge process. Other
developers can ask questions and provide immediate feedback on technical design and code style, and
resolve any concerns about long term maintenance and comprehension of new code.
Summary
When I was computing itineraries based on frequencies rather that stop times in GTFS there was an error saying distanceMeters was missing
Issue
Closes #6522
Unit tests
Write a few words on how the new code is tested.
No
Yes
None
No change needed but a new unit test could be created
No
pass the continuous integration service
Yes
Documentation
No
No
the configuration documentation updated?
Changelog
The changelog file
is generated from the pull-request title, make sure the title describe the feature or issue fixed.
To exclude the PR from the changelog add the label
skip changelog
to the PR.Bumping the serialization version id
If you have made changes to the way the routing graph is serialized, for example by renaming a field
in one of the edges, then you must add the label
bump serialization id
to the PR. With this labelGithub Actions will increase the field
otp.serialization.version.id
inpom.xml
.