Uh oh!
There was an error while loading. Please reload this page.
Fix typos in proto files - #774
Conversation
ClemensLinnhoff
commented
Feb 12, 2024
Once the two mentioned issues are discussed, we can remove the draft status and mark as ready for CCB. |
PhRosenberger
commented
Feb 12, 2024
As I also struggle with both questions, who else could support here? |
jdsika
commented
Feb 13, 2024
Ancestor would be a term that I see for human relations like "My ancestors were brave fighters in the galaktic resistance" whereas "antecessor" is often used for e.g. "the Ferrari 5 series is the antecessor of the Ferrari 567". The usage in combination with objects would make it more suitable in my option for our digital objects like lanes but ... I am not a native speaker. Most important in this case would be "does everyone understand what is meant by it"? |
The cambridge dictionary does not even list antecessor: https://dictionary.cambridge.org/spellcheck/english/?q=antecessor Wiktionary says it is a rare synonym of ancestor: https://en.wiktionary.org/wiki/antecessor I personally have never heard of it until now, but I am also not a native speaker. "Predecessor" would be another option, I am familiar with. |
ClemensLinnhoff
commented
Feb 13, 2024
As for the typo of MATERIAL_GLASS, I am in favor of fixing it. I suspect, that this enum field is not that commonly used anyways. So the backwards compatibility issues will most likely be limited. |
ClemensLinnhoff
commented
Feb 14, 2024
Furthermore, we have inconsistencies with British and US englisch. Mostly, US is used, but in some cases, unfortunately not only in comments, we have British, e.g. COLOR_GREY instead of COLOR_GRAY. |
What does FCW stand for here? It is never explained. |
I now added a spellcheck pipeline and fixed a lot more spelling mistakes. I had to add quite a lot of exceptions, because of abbreviations and also a lot of German words. |
PhRosenberger
commented
Feb 14, 2024
I guess FCW stands for Forward Collision Warning in this case. |
pmai
left a comment
There was a problem hiding this comment.
Otherwise looks good to me. Spellchecker potentially needs more fine-tuning, and we cannot change enum names per-se in a minor release. We might be able to add alias names, however would first have to check protobuf behavior.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ClemensLinnhoff
commented
Feb 26, 2024
Thank you for the review, I documented the decision about leaving the enums in the PR description. I fixed the spelling mistakes in the comments belonging to the enums, but not the enums themselves. From my point of view now the only open point is the use of antecessor vs. ancestor. |
pmai
commented
Feb 26, 2024
CCB 2024-02-26: As antecessor is used also in e.g. the LanePairing field antecessor_lane_id a change here would require a major release. Therefore antecessor should stay as the term in the documentation as well. @pmai will investigate whether adding proper spellings for TYPE_GLAS and COLOR_GREY as aliases would work. If yes, they can be added. The existing enums have to stay in in any case to remain backward-compatible. After the above changes and finalization this PR is ready for merge. |
ClemensLinnhoff
commented
Feb 26, 2024
I added antecessor to the custom word list. Now the spell check passes. |
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Co-authored-by: Pierre R. Mai <pmai@pmsf.de> Signed-off-by: Clemens Linnhoff <clemens.linnhoff@persival.de>
Co-authored-by: Pierre R. Mai <pmai@pmsf.de> Signed-off-by: Clemens Linnhoff <clemens.linnhoff@persival.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
c41d856 to
739f9a9Compare739f9a9 to
bbf5d34CompareSigned-off-by: Pierre R. Mai <pmai@pmsf.de>
bbf5d34 to
0f6d424Comparepmai
commented
Feb 26, 2024
I have added aliases for the correct spellings of COLOR_GRAY and MATERIAL_GLASS, retaining the old COLOR_GREY and MATERIAL_GLAS enums with deprectation warnings. This should work for proto2/proto3, and the documentation generation; however please check whether this change breaks anything else... |
jdsika
left a comment
There was a problem hiding this comment.
Possible changes during review v3.7.0
| // ColorGrey defines a greyscale. | ||
| // ColorGrey defines a grayscale. | ||
| // | ||
| message ColorGrey |
There was a problem hiding this comment.
Wait, let me guess: Alias only works for ENUMS and not signals? Should we add a TODO here? Does it bother?
Reference to a related issue in the repository
fixes#773
Add a description
There were a lot of typos in the proto files. I fixed the ones I found.
Two things I am unsure of and therefore did not fix yet:
-> Enum names shall not be changed in a minor release
Take this checklist as orientation for yourself, if this PR is ready for the Change Control Board: