-
Notifications
You must be signed in to change notification settings - Fork 171
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
Try to use the git global user.name for maintainer-name #968
Try to use the git global user.name for maintainer-name #968
Conversation
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 the PR. I think this makes sense. I just have a couple of minor comments.
…l user.name (likely a full name) before trying to use the OS login name Signed-off-by: Larry Gezelius <[email protected]>
…s; remove "global" from comment; remove spaces from generated email address Signed-off-by: Larry Gezelius <[email protected]>
2bcb4ed
to
fe2d37c
Compare
Signed-off-by: Larry Gezelius <[email protected]>
Signed-off-by: Larry Gezelius <[email protected]>
88d3054
to
eabb50c
Compare
Pulls: #968 |
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 addressing the comments!
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.
The tests fail on Windows: https://ci.ros2.org/job/ci_linux-rhel/2002/consoleFull#console-section-425. Turns out |
was only added in Python 3.10: https://peps.python.org/pep-0604/. And Windows uses Python 3.8: https://www.ros.org/reps/rep-2000.html#jazzy-jalisco-may-2024-may-2029.
Signed-off-by: Larry Gezelius <[email protected]>
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.
All good now, thank you for the PR!
Add code for "ros2 pkg create" so that the first default for the maintainer-name is the git user.name, which is likely a full name, instead of first using an OS login name. This creates more consistency, because the maintainer-email already defaults to the git user.email.