Skip to content

Check setup order of file renaming and in-file replacements #6

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

Open
matthias-mayr opened this issue Aug 21, 2024 · 0 comments
Open
Labels
enhancement ROS 1 Issue affects ROS 1 ROS 2 Issue affects ROS 2

Comments

@matthias-mayr
Copy link
Member

The readme suggest:

# Rename inside files
git grep -l 'template' | xargs sed -i 's/template/my_package_name/g'
# Rename files
find . -depth -execdir rename 's/template/my_package_name/' '{}' \;

unfortunately a consequence of this is that the Readme itself gets altered and one can not just copy the other command.

It would be worthwhile to check if the order can be reversed. That would still alter the readme, but then we don't need the command anymore.

@matthias-mayr matthias-mayr added ROS 2 Issue affects ROS 2 ROS 1 Issue affects ROS 1 enhancement labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ROS 1 Issue affects ROS 1 ROS 2 Issue affects ROS 2
Projects
None yet
Development

No branches or pull requests

1 participant