From 946f2edb42024793b60e305596987a0aef4345b5 Mon Sep 17 00:00:00 2001 From: Marko Durkovic Date: Sun, 10 Apr 2022 23:32:25 +0200 Subject: [PATCH] Update copyright headers --- docs/conf.py | 4 ++-- src/rosbags/convert/__init__.py | 2 +- src/rosbags/convert/__main__.py | 2 +- src/rosbags/convert/converter.py | 2 +- src/rosbags/rosbag1/__init__.py | 2 +- src/rosbags/rosbag1/reader.py | 2 +- src/rosbags/rosbag1/writer.py | 2 +- src/rosbags/rosbag2/__init__.py | 2 +- src/rosbags/rosbag2/connection.py | 2 +- src/rosbags/rosbag2/reader.py | 2 +- src/rosbags/rosbag2/writer.py | 2 +- src/rosbags/serde/__init__.py | 2 +- src/rosbags/serde/cdr.py | 2 +- src/rosbags/serde/messages.py | 2 +- src/rosbags/serde/primitives.py | 2 +- src/rosbags/serde/ros1.py | 2 +- src/rosbags/serde/serdes.py | 2 +- src/rosbags/serde/typing.py | 2 +- src/rosbags/serde/utils.py | 2 +- src/rosbags/typesys/__init__.py | 2 +- src/rosbags/typesys/__main__.py | 2 +- src/rosbags/typesys/base.py | 2 +- src/rosbags/typesys/idl.py | 2 +- src/rosbags/typesys/msg.py | 2 +- src/rosbags/typesys/peg.py | 2 +- src/rosbags/typesys/register.py | 4 ++-- src/rosbags/typesys/types.py | 2 +- tests/__init__.py | 2 +- tests/cdr.py | 2 +- tests/test_convert.py | 2 +- tests/test_parse.py | 2 +- tests/test_reader.py | 2 +- tests/test_reader1.py | 2 +- tests/test_roundtrip.py | 2 +- tests/test_roundtrip1.py | 2 +- tests/test_serde.py | 2 +- tests/test_writer.py | 2 +- tests/test_writer1.py | 2 +- tools/bench/bench.py | 2 +- tools/compare/compare.py | 2 +- 40 files changed, 42 insertions(+), 42 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 39841a8a..e0b0441f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Sphinx config.""" @@ -18,7 +18,7 @@ import sphinx_rtd_theme # type: ignore # noqa typing.TYPE_CHECKING = True project = 'Rosbags' -copyright = '2020-2021, Ternaris' +copyright = '2020-2022, Ternaris' author = 'Ternaris' autoapi_python_use_implicit_namespaces = True diff --git a/src/rosbags/convert/__init__.py b/src/rosbags/convert/__init__.py index e4eddce0..0fe62a9d 100644 --- a/src/rosbags/convert/__init__.py +++ b/src/rosbags/convert/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbags file format conversion. diff --git a/src/rosbags/convert/__main__.py b/src/rosbags/convert/__main__.py index 544fa6d7..b6f14159 100644 --- a/src/rosbags/convert/__main__.py +++ b/src/rosbags/convert/__main__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """CLI tool for rosbag conversion.""" diff --git a/src/rosbags/convert/converter.py b/src/rosbags/convert/converter.py index f53ede7c..c20f4735 100644 --- a/src/rosbags/convert/converter.py +++ b/src/rosbags/convert/converter.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag1 to Rosbag2 Converter.""" diff --git a/src/rosbags/rosbag1/__init__.py b/src/rosbags/rosbag1/__init__.py index 192bcf62..4e668933 100644 --- a/src/rosbags/rosbag1/__init__.py +++ b/src/rosbags/rosbag1/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbags support for rosbag1 files. diff --git a/src/rosbags/rosbag1/reader.py b/src/rosbags/rosbag1/reader.py index 72f10021..83ad78a8 100644 --- a/src/rosbags/rosbag1/reader.py +++ b/src/rosbags/rosbag1/reader.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag1 v2.0 reader.""" diff --git a/src/rosbags/rosbag1/writer.py b/src/rosbags/rosbag1/writer.py index 3f6d1719..9126a378 100644 --- a/src/rosbags/rosbag1/writer.py +++ b/src/rosbags/rosbag1/writer.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag1 writer.""" diff --git a/src/rosbags/rosbag2/__init__.py b/src/rosbags/rosbag2/__init__.py index ca3cccbf..c11043cb 100644 --- a/src/rosbags/rosbag2/__init__.py +++ b/src/rosbags/rosbag2/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbags support for rosbag2 files. diff --git a/src/rosbags/rosbag2/connection.py b/src/rosbags/rosbag2/connection.py index 76d080fc..73d5daa3 100644 --- a/src/rosbags/rosbag2/connection.py +++ b/src/rosbags/rosbag2/connection.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag2 connection.""" diff --git a/src/rosbags/rosbag2/reader.py b/src/rosbags/rosbag2/reader.py index 75fd616e..ac719ec5 100644 --- a/src/rosbags/rosbag2/reader.py +++ b/src/rosbags/rosbag2/reader.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag2 reader.""" diff --git a/src/rosbags/rosbag2/writer.py b/src/rosbags/rosbag2/writer.py index a6b74daa..915b6360 100644 --- a/src/rosbags/rosbag2/writer.py +++ b/src/rosbags/rosbag2/writer.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag2 writer.""" diff --git a/src/rosbags/serde/__init__.py b/src/rosbags/serde/__init__.py index 707afd50..ef56d345 100644 --- a/src/rosbags/serde/__init__.py +++ b/src/rosbags/serde/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbags message serialization and deserialization. diff --git a/src/rosbags/serde/cdr.py b/src/rosbags/serde/cdr.py index 08052661..7d7587d3 100644 --- a/src/rosbags/serde/cdr.py +++ b/src/rosbags/serde/cdr.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Code generators for CDR. diff --git a/src/rosbags/serde/messages.py b/src/rosbags/serde/messages.py index d83ce2c2..df9c8e0c 100644 --- a/src/rosbags/serde/messages.py +++ b/src/rosbags/serde/messages.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Runtime message loader and cache.""" diff --git a/src/rosbags/serde/primitives.py b/src/rosbags/serde/primitives.py index 21e04338..a5121657 100644 --- a/src/rosbags/serde/primitives.py +++ b/src/rosbags/serde/primitives.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Serialization primitives. diff --git a/src/rosbags/serde/ros1.py b/src/rosbags/serde/ros1.py index 387a1612..d51a83e0 100644 --- a/src/rosbags/serde/ros1.py +++ b/src/rosbags/serde/ros1.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Code generators for ROS1. diff --git a/src/rosbags/serde/serdes.py b/src/rosbags/serde/serdes.py index 920b399f..57e92ceb 100644 --- a/src/rosbags/serde/serdes.py +++ b/src/rosbags/serde/serdes.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Serialization, deserializion and conversion functions.""" diff --git a/src/rosbags/serde/typing.py b/src/rosbags/serde/typing.py index 1079712e..413059a9 100644 --- a/src/rosbags/serde/typing.py +++ b/src/rosbags/serde/typing.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Python types used in this package.""" diff --git a/src/rosbags/serde/utils.py b/src/rosbags/serde/utils.py index 41cdf3fe..67407241 100644 --- a/src/rosbags/serde/utils.py +++ b/src/rosbags/serde/utils.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Helpers used by code generators.""" diff --git a/src/rosbags/typesys/__init__.py b/src/rosbags/typesys/__init__.py index 413df8b0..4e398555 100644 --- a/src/rosbags/typesys/__init__.py +++ b/src/rosbags/typesys/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbags Type System. diff --git a/src/rosbags/typesys/__main__.py b/src/rosbags/typesys/__main__.py index 14178a7e..5f9f957f 100644 --- a/src/rosbags/typesys/__main__.py +++ b/src/rosbags/typesys/__main__.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Tool to update builtin types shipped with rosbags.""" diff --git a/src/rosbags/typesys/base.py b/src/rosbags/typesys/base.py index cbed9279..33a56e1a 100644 --- a/src/rosbags/typesys/base.py +++ b/src/rosbags/typesys/base.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Types and helpers used by message definition converters.""" diff --git a/src/rosbags/typesys/idl.py b/src/rosbags/typesys/idl.py index f8bee88f..8dc9c6d4 100644 --- a/src/rosbags/typesys/idl.py +++ b/src/rosbags/typesys/idl.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """IDL Parser. diff --git a/src/rosbags/typesys/msg.py b/src/rosbags/typesys/msg.py index 5ee4df97..42b583a9 100644 --- a/src/rosbags/typesys/msg.py +++ b/src/rosbags/typesys/msg.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """MSG Parser. diff --git a/src/rosbags/typesys/peg.py b/src/rosbags/typesys/peg.py index 833cfa09..27d7d5ff 100644 --- a/src/rosbags/typesys/peg.py +++ b/src/rosbags/typesys/peg.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """PEG Parser. diff --git a/src/rosbags/typesys/register.py b/src/rosbags/typesys/register.py index 6aa3bf9e..fbdd3e31 100644 --- a/src/rosbags/typesys/register.py +++ b/src/rosbags/typesys/register.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Code generators and registration functions for the extensible type system.""" @@ -57,7 +57,7 @@ def generate_python_code(typs: Typesdict) -> str: """ lines = [ - '# Copyright 2020-2021 Ternaris.', + '# Copyright 2020-2022 Ternaris.', '# SPDX-License-Identifier: Apache-2.0', '#', '# THIS FILE IS GENERATED, DO NOT EDIT', diff --git a/src/rosbags/typesys/types.py b/src/rosbags/typesys/types.py index 63ece623..c393be6d 100644 --- a/src/rosbags/typesys/types.py +++ b/src/rosbags/typesys/types.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 # # THIS FILE IS GENERATED, DO NOT EDIT diff --git a/tests/__init__.py b/tests/__init__.py index 5a703b86..bec3ab4e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,3 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag tests.""" diff --git a/tests/cdr.py b/tests/cdr.py index 9db001cd..036576da 100644 --- a/tests/cdr.py +++ b/tests/cdr.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Reference CDR message serializer and deserializer.""" diff --git a/tests/test_convert.py b/tests/test_convert.py index c1790a7a..fa93351b 100644 --- a/tests/test_convert.py +++ b/tests/test_convert.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Rosbag1to2 converter tests.""" diff --git a/tests/test_parse.py b/tests/test_parse.py index dc552975..e3453bd6 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Message definition parser tests.""" diff --git a/tests/test_reader.py b/tests/test_reader.py index a941ead7..4f15f2ff 100644 --- a/tests/test_reader.py +++ b/tests/test_reader.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Reader tests.""" diff --git a/tests/test_reader1.py b/tests/test_reader1.py index 289027c8..550f417e 100644 --- a/tests/test_reader1.py +++ b/tests/test_reader1.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Reader tests.""" diff --git a/tests/test_roundtrip.py b/tests/test_roundtrip.py index f087b48c..bb80b4d0 100644 --- a/tests/test_roundtrip.py +++ b/tests/test_roundtrip.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Test full data roundtrip.""" diff --git a/tests/test_roundtrip1.py b/tests/test_roundtrip1.py index 5d677b05..95d3ace7 100644 --- a/tests/test_roundtrip1.py +++ b/tests/test_roundtrip1.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Test full data roundtrip.""" diff --git a/tests/test_serde.py b/tests/test_serde.py index cc146c10..d834f34a 100644 --- a/tests/test_serde.py +++ b/tests/test_serde.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Serializer and deserializer tests.""" diff --git a/tests/test_writer.py b/tests/test_writer.py index ebb2c354..7dc7ee4d 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Writer tests.""" diff --git a/tests/test_writer1.py b/tests/test_writer1.py index b3c7f1e8..ab7d34aa 100644 --- a/tests/test_writer1.py +++ b/tests/test_writer1.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Writer tests.""" diff --git a/tools/bench/bench.py b/tools/bench/bench.py index b6330fcf..0a673541 100644 --- a/tools/bench/bench.py +++ b/tools/bench/bench.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Check and benchmark rosbag2 read implementations.""" diff --git a/tools/compare/compare.py b/tools/compare/compare.py index bb9e34dc..cda5ee7e 100644 --- a/tools/compare/compare.py +++ b/tools/compare/compare.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Ternaris. +# Copyright 2020-2022 Ternaris. # SPDX-License-Identifier: Apache-2.0 """Tool checking if contents of two rosbags are equal."""