-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Backport 2.28: Update capitalization of "Mbed" and fix bump_version.sh #8194
Backport 2.28: Update capitalization of "Mbed" and fix bump_version.sh #8194
Conversation
Previously the code only recognized the old spelling "mbed TLS", so it missed doxygen/input/doc_mainpage.h. Signed-off-by: Gilles Peskine <[email protected]>
The official spelling of the trade mark changed from all-lowercase "mbed" to normal proper noun capitalization "Mbed" a few years ago. We've been using the new spelling in new text but still have the old spelling in a lot of text. This commit updates most occurrences of "mbed TLS": ``` sed -i -e 's/mbed TLS/Mbed TLS/g' $(git ls-files ':!ChangeLog' ':!tests/data_files/**' ':!tests/suites/*.data' ':!programs/x509/*' ':!configs/tfm*') ``` Justification for the omissions: * `ChangeLog`: historical text. * `test/data_files/**`, `tests/suites/*.data`, `programs/x509/*`: many occurrences are significant names in certificates and such. Changing the spelling would invalidate many signatures and tests. * `configs/tfm*`: this is an imported file. We'll follow the upstream updates. Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
@@ -484,14 +484,14 @@ | |||
/** | |||
* \def MBEDTLS_MD2_PROCESS_ALT | |||
* | |||
* MBEDTLS__FUNCTION_NAME__ALT: Uncomment a macro to let mbed TLS use you | |||
* MBEDTLS__FUNCTION_NAME__ALT: Uncomment a macro to let Mbed TLS use you |
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.
* MBEDTLS__FUNCTION_NAME__ALT: Uncomment a macro to let Mbed TLS use you | |
* MBEDTLS__FUNCTION_NAME__ALT: Uncomment a macro to let Mbed TLS use an |
I guess this was originally supposed to be "your", although probably "an" is better?
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 are several "your"s, and while this is a pre-existing typo that would be easy to fix here, it might be better to hold off and have a separate PR to change all the "your"s (and this "you") to be third-person/impersonal
(There's also the use of "alternative" vs "alternate" to be harmonised)
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.
This is fixing a bug in the release process (we missed one occurrence of the version number due to the capitalization inconsistency), so I'd rather not increase the scope.
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 (noticed one unrelated non-blocker)
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
Direct backport of #8034.
For the commit ‘Update spelling "mbed TLS" to "Mbed TLS"’, I ran the same script instead of trying to reconcile the patch.
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.