-
Notifications
You must be signed in to change notification settings - Fork 45
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
editoast: extract osm_to_railjson in separate binary #10215
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #10215 +/- ##
==========================================
- Coverage 81.67% 81.58% -0.10%
==========================================
Files 1071 1041 -30
Lines 106118 104586 -1532
Branches 727 727
==========================================
- Hits 86673 85322 -1351
+ Misses 19406 19225 -181
Partials 39 39
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
We might need an exhaustive search for osm_to_railjson
in our repos to see if it's used somewhere (documentation, CI scripts, deployment, charts, etc.). But in general, I'd say it'd be nice that the binaries are separated, it might indeed help a bit the compilation times (especially not wasting time compiling dependencies that are not used.
0b3c837
to
9bf92ed
Compare
Isn't splitting the binary for |
Signed-off-by: Tristram Gräbener <[email protected]>
9bf92ed
to
b72c427
Compare
Il did a grep on my @Castavo indeed :) but the much more people working on the general editoast than osm-to-railjson that hasn’t changed in over a year |
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!
This is more to open a discussion:
As compile time are unbearable, we could split the editoast binary into smaller ones. As we already started separating crates, this could be quite simple.
In this pull request, osm-to-railjson in separated.
It now must be called as
cargo run -p osm_to_railjson
The improvement are not spectacular:
I’m not sure if it would make sens to extract the other commands that are more close to the editoast core?