-
Notifications
You must be signed in to change notification settings - Fork 46
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
core, editoast: rename rolling stock to physics consist #9665
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9665 +/- ##
==========================================
- Coverage 38.21% 38.20% -0.02%
==========================================
Files 992 992
Lines 92158 92159 +1
Branches 1186 1186
==========================================
- Hits 35217 35207 -10
- Misses 56490 56501 +11
Partials 451 451
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.
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.
LGTM
❓ In core, I changed PhysicsRollingStockModel into PhysicsConsistModel. But there is also RollingStockParser which converts a PhysicsConsistModel into a RollingStock: I'm not sure how far I should push the renaming. Is RollingStock only about physics? Because RollingStock contains also information about identifier, or supportedSignalingSystems which not really be about the physics of the rolling stock?
I feel like a "rolling stock" is supposed to be "anything that can move on tracks". There's some semantics issues around identifiers and such, but I feel like we'd need to think more carefully about what we precisely intent there, we'd need to take some time to discuss all of this.
We should probably do it eventually, but maybe not quite yet
@eckter I agree that, literally,
What do you think? And yes, we can discuss it. |
Now that consists are supported instead of a single traction engine (named rolling stock in the entire application), it's reasonable to rename all along up to `core`. Signed-off-by: Jean SIMARD <[email protected]>
b13c2a4
to
35146ac
Compare
Sorry I didn't really see the answer. I didn't mean to block this, it's fine as it is. In the context of The distinction between |
Now that consists are supported instead of a single traction engine (named rolling stock in the entire application), it's reasonable to rename all along up to
core
.It's a follow up of #9106.
❓ In
core
, I changedPhysicsRollingStockModel
intoPhysicsConsistModel
. But there is alsoRollingStockParser
which converts aPhysicsConsistModel
into aRollingStock
: I'm not sure how far I should push the renaming. IsRollingStock
only about physics? BecauseRollingStock
contains also information about identifier, orsupportedSignalingSystems
which not really be about the physics of the rolling stock?