ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Why need launchfiles a copyright ?

asked 2022-10-14 01:38:32 -0600

vKuehn gravatar image

After copy and paste working source files from an ubuntu humble to ubuntu foxy the launch didn't work.

So I did

colcon test
colcon test-result --verbose

the long list with mainly flake8 issues starts with

could not find copyright notice

for the launch files but I can't find any notice in the documentation about launchfile copyrights. why does this happens ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-10-14 15:15:53 -0600

As part of the standard set of linters that you get when you use ament_lint_auto or call the linters manually from the CLI is one that checks for copyrights in all of your source code files. This will check C / C++ / CMake / Python files for a header containing a software license as good general practice in software development (for some licenses, like BSD and Apache 2.0 that require it in every source file). There's nothing special about launch files, they're still python files that have copyrights attached to them like any other type of software - so you're probably just seeing that error because you have copyrights everywhere else but didn't include them in your launch files.

edit flag offensive delete link more

Comments

thanks a lot. that explains it. Thought the most open source projects have one license file valid for the source at a whole.

vKuehn gravatar image vKuehn  ( 2022-10-15 11:27:09 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2022-10-14 01:38:32 -0600

Seen: 297 times

Last updated: Oct 14 '22