-
Notifications
You must be signed in to change notification settings - Fork 183
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
common_diagnostics cleaned hostname string #405
Conversation
Just curious, for compatibility with what? There are no active ROS distributions on python versions older than 3.8 |
Oh, that's true. Somehow I was thinking about the 3.6 requirements of ROS 2. |
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 for your contribution
Signed-off-by: Christian Henkel <[email protected]>
* Hostnames are properly cleaned to only contain alphanumeric characters or underscore. * changed string sanitation (symbols must be ascii and alphanumeric) * Changes now conforming to linting rules * flake8 fixes Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]> Co-authored-by: Christian Henkel <[email protected]> (cherry picked from commit cca0f14)
* Hostnames are properly cleaned to only contain alphanumeric characters or underscore. * changed string sanitation (symbols must be ascii and alphanumeric) * Changes now conforming to linting rules * flake8 fixes Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]> Co-authored-by: Christian Henkel <[email protected]> (cherry picked from commit cca0f14)
* Hostnames are properly cleaned to only contain alphanumeric characters or underscore. * changed string sanitation (symbols must be ascii and alphanumeric) * Changes now conforming to linting rules * flake8 fixes Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]> Co-authored-by: Christian Henkel <[email protected]> (cherry picked from commit cca0f14)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
* Hostnames are properly cleaned to only contain alphanumeric characters or underscore. * changed string sanitation (symbols must be ascii and alphanumeric) * Changes now conforming to linting rules * flake8 fixes Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]> Co-authored-by: Christian Henkel <[email protected]> (cherry picked from commit cca0f14) Co-authored-by: sjusner <[email protected]>
* Hostnames are properly cleaned to only contain alphanumeric characters or underscore. * changed string sanitation (symbols must be ascii and alphanumeric) * Changes now conforming to linting rules * flake8 fixes Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]> Co-authored-by: Christian Henkel <[email protected]> (cherry picked from commit cca0f14) Co-authored-by: sjusner <[email protected]>
* Hostnames are properly cleaned to only contain alphanumeric characters or underscore. * changed string sanitation (symbols must be ascii and alphanumeric) * Changes now conforming to linting rules * flake8 fixes Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]> Co-authored-by: Christian Henkel <[email protected]> (cherry picked from commit cca0f14) Co-authored-by: sjusner <[email protected]>
fixes #404. hostname used for node name now only contains alphanumeric and underscore.
Did not introduced any new libraries, also avoided python 3.7 specific feature for compatibility.