Skip to content
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

Merged

Conversation

lgezelius
Copy link
Contributor

@lgezelius lgezelius commented Feb 6, 2025

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.

Copy link
Member

@christophebedard christophebedard left a 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]>
@lgezelius lgezelius force-pushed the git-username-for-maintainer-name branch from 2bcb4ed to fe2d37c Compare February 8, 2025 20:32
@lgezelius lgezelius force-pushed the git-username-for-maintainer-name branch from 88d3054 to eabb50c Compare February 8, 2025 21:31
@christophebedard
Copy link
Member

Pulls: #968
Gist: https://gist.githubusercontent.com/christophebedard/01eefc42eca835a79d61cdbd95e7eacf/raw/82d20bad79a96d65b8363e722f98e719951e868b/ros2.repos
BUILD args: --packages-above-and-dependencies ros2pkg
TEST args: --packages-above ros2pkg
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15144

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Copy link
Member

@christophebedard christophebedard left a 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!

Copy link
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christophebedard
Copy link
Member

Thanks for the fix. New CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Copy link
Member

@christophebedard christophebedard left a 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!

@christophebedard christophebedard merged commit da96480 into ros2:rolling Feb 11, 2025
3 checks passed
@lgezelius lgezelius deleted the git-username-for-maintainer-name branch February 11, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants