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

add support for licenses #15

Merged
merged 4 commits into from
Apr 4, 2015
Merged

add support for licenses #15

merged 4 commits into from
Apr 4, 2015

Conversation

dirk-thomas
Copy link
Contributor

Combined copyright and license checking.

Currently implemented entry points:

  • copyright holders:
    • OSRF
  • licenses
    • Apache2

Connects to #10

@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Apr 1, 2015
@dirk-thomas
Copy link
Contributor Author

The current state already worked for eight all repositories (I updated some year ranges manually to reflect the actual history). So I think it is good enough.

@esteve @tfoote @wjwwood Please review.

See the License for the specific language governing permissions and
limitations under the License.""",

"""\
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be better to move the text of the license to a separate file and read it?

@dirk-thomas
Copy link
Contributor Author

@esteve I moved the apache2 snippets to separate files and modified the behavior to not replace the copyright template in the LICENSE files. All repos have been updated accordingly.

@@ -2,11 +2,18 @@ ament_copyright
===============

Checks C / C++ / CMake / Python source files for the existance of a copyright
notice.
and licence notice.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/licence/license/

@esteve
Copy link
Contributor

esteve commented Apr 3, 2015

+1

@wjwwood
Copy link
Contributor

wjwwood commented Apr 4, 2015

The changes to the other repositories look good to me, still reviewing the code in this pr.

@wjwwood
Copy link
Contributor

wjwwood commented Apr 4, 2015

Looks good to me. +1

@tfoote
Copy link
Member

tfoote commented Apr 4, 2015

lgtm

dirk-thomas added a commit that referenced this pull request Apr 4, 2015
@dirk-thomas dirk-thomas merged commit 05919c5 into master Apr 4, 2015
@dirk-thomas dirk-thomas removed the in progress Actively being worked on (Kanban column) label Apr 4, 2015
@dirk-thomas dirk-thomas deleted the ament_copyright_reloaded branch April 4, 2015 00:47
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.

None yet

4 participants