Skip to content

deprecate non-namespaced xacro tags #79

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

Merged
merged 5 commits into from
May 29, 2015
Merged

Conversation

rhaschke
Copy link
Contributor

This is a proposal to deprecate non-namespaced xacro tags, resolving #41, #59, #60 and the like.
The proposal is to issue a warning message, when xacro tags are used without the prefix.
Together with the warning, an appropriate shell command will be suggested to fix the tags.

People, who have already fixed their xacro files can use the new cli option --xacro-ns to skip the deprecation tests and keep non-prefixed tags as they are.

I partially reverted #60, handling the tag as all other tags, i.e. issue the deprecation message when used without prefix. The behaviour requested by #60 can be achieved using cli option --xacro-ns.
#60 silently broke existing xacro's that don't use the prefix... Now they get the deprecation warning.

What about macro usage: Currently, I don't require the xacro prefix for macro instantiation. IMHO this is reasonable, because the users can name their macros as they like and thus avoid name conflicts.

rhaschke added 5 commits May 29, 2015 12:57
New cli option `--xacro-ns` allows to enforce the new policy
requiring the xacro namespace prefix (and suppressing deprecation warnings).
However, non-prefixed tags will not be modified by xacro anymore
(as requested by ros#41, ros#59, ros#60).

Partially reverted cb73cfd, handling
<arg> tags in the same fashion as other tags, i.e. issue a warning if
used without prefix and ignoring it with cli argument `--xacro-ns`.
codebot added a commit that referenced this pull request May 29, 2015
deprecate non-namespaced xacro tags
@codebot codebot merged commit 773acb7 into ros:jade-devel May 29, 2015
@rhaschke rhaschke deleted the deprecation branch May 29, 2015 23:36
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