Ask Your Question

How to set up People so that catkin_create_pkg can get the email address for -m and -a

asked 2014-08-23 13:51:26 -0500

jackcviers gravatar image

When a package is generated using catkin_create_package -m "John Doe" -a "John Doe", the package.xml that is generated contains <author> and <maintainer> tags with @todo.todo email addresses. Is there some config file somewhere that needs to be modified or an environment variable set or some usermod/groupadd step that needs to be run?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-23 14:09:43 -0500

jackcviers gravatar image

Looking at the package template generator L82 -- No email is passed to the Person object constructor. No attempt is made to look it up on the system anywhere, either. Therefore, no, there is no setup step missing. The @todo.todo portions of the maintainer email and author email addresses must be replaced manually.

edit flag offensive delete link more


I'm sure the ROS team would welcome a pull request to improve this for your use case.

ahendrix gravatar image ahendrix  ( 2014-08-23 14:20:10 -0500 )edit

I agree. It requires a bit of discussion though:

My first instinct is to provide for a global dot file config similar to what git uses, except for using yaml as the markup language in the config file.

I would store it at $USER_HOME/.ros/config and create a catkin_pkg_config binary to set it up.

jackcviers gravatar image jackcviers  ( 2014-08-23 14:37:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-08-23 13:51:26 -0500

Seen: 242 times

Last updated: Aug 23 '14