diff --git a/.bazelrc b/.bazelrc index e6717c0..33101eb 100644 --- a/.bazelrc +++ b/.bazelrc @@ -4,7 +4,7 @@ build --incompatible_default_to_explicit_init_py # enable implementation_deps on cc_library targets build --experimental_cc_implementation_deps -# set c++14 for all builds +# set c++17 for all builds build --cxxopt="-std=c++17" build --host_cxxopt="-std=c++17" diff --git a/.bazelversion b/.bazelversion index f9da12e..4be2c72 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.3.2 \ No newline at end of file +6.5.0 \ No newline at end of file diff --git a/README.md b/README.md index be183a2..a6ff840 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ as a launch tool for Bazel. Create an empty folder and add the following files to it: * `WORKSPACE` file: + ```python workspace(name = "my_first_bazel_ros_workspace") # choose your workspace name here # load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") @@ -83,7 +84,9 @@ Create an empty folder and add the following files to it: load("@rules_ros//thirdparty:setup_04.bzl", "setup_04") setup_04() ``` + * `.bazelrc` file: + ```bash # enable incompatible Python init mode build --incompatible_default_to_explicit_init_py @@ -91,39 +94,45 @@ Create an empty folder and add the following files to it: # enable implementation_deps on cc_library targets build --experimental_cc_implementation_deps - # set C++14 for all builds + # set C++17 for all builds build --cxxopt="-std=c++17" build --host_cxxopt="-std=c++17" ``` * `.bazelversion` file (in case you are using bazelisk): - ```text - 5.3.1 - ``` + +```text +6.5.0 +``` ### Run Bazel example To **build** an example delivered in the `rules_ros` repository run, e.g. + ```bash bazel build @rules_ros//examples/hello_world ``` from anywhere within your workspace. **Executing** the example can be done by calling + ```bash bazel run @rules_ros//examples/hello_world ``` Note that no sourcing is necessary. Bazel will take care of all the dependencies. **Deploying** a package archive to an install folder can be done by + ```bash bazel run @rules_ros//examples:rules_ros_examples.install ``` Now we are back to working with ROS as usual. Source the package as usual: + ```bash source /setup.bash ``` and run an executable with + ```bash ros2 run hello_world hello_world ``` diff --git a/WORKSPACE b/WORKSPACE index a9159b5..61747a4 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/BUILD.bazel b/examples/BUILD.bazel index d633e88..fae64ea 100644 --- a/examples/BUILD.bazel +++ b/examples/BUILD.bazel @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/bazel_simple_example/BUILD b/examples/bazel_simple_example/BUILD index ddf0dd1..4446965 100644 --- a/examples/bazel_simple_example/BUILD +++ b/examples/bazel_simple_example/BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/bazel_simple_example/publisher.cpp b/examples/bazel_simple_example/publisher.cpp index 5973bcf..0542bc7 100644 --- a/examples/bazel_simple_example/publisher.cpp +++ b/examples/bazel_simple_example/publisher.cpp @@ -1,4 +1,4 @@ -// Copyright 2022 Apex.AI, Inc. +// Copyright 2024 Apex.AI, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/bazel_simple_example/subscriber.cpp b/examples/bazel_simple_example/subscriber.cpp index 916725e..b965a98 100644 --- a/examples/bazel_simple_example/subscriber.cpp +++ b/examples/bazel_simple_example/subscriber.cpp @@ -1,4 +1,4 @@ -// Copyright 2022 Apex.AI, Inc. +// Copyright 2024 Apex.AI, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/hello_world/BUILD.bazel b/examples/hello_world/BUILD.bazel index 7e57ee6..23f4011 100644 --- a/examples/hello_world/BUILD.bazel +++ b/examples/hello_world/BUILD.bazel @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/defs.bzl b/pkg/defs.bzl index 3cdf278..e94254d 100644 --- a/pkg/defs.bzl +++ b/pkg/defs.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/detail/BUILD b/pkg/detail/BUILD index 6eae5f9..ee4c2f0 100644 --- a/pkg/detail/BUILD +++ b/pkg/detail/BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/detail/executable_wrapper_generator.py b/pkg/detail/executable_wrapper_generator.py index fb8da57..5f61b6c 100644 --- a/pkg/detail/executable_wrapper_generator.py +++ b/pkg/detail/executable_wrapper_generator.py @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/detail/package_xml_generator.py b/pkg/detail/package_xml_generator.py index 582811a..e9eb831 100644 --- a/pkg/detail/package_xml_generator.py +++ b/pkg/detail/package_xml_generator.py @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/detail/ros_archive.bzl b/pkg/detail/ros_archive.bzl index a233b61..2b2525c 100644 --- a/pkg/detail/ros_archive.bzl +++ b/pkg/detail/ros_archive.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@rules_pkg//:providers.bzl", "PackageFilegroupInfo", "PackageFilesInfo") +load("@rules_pkg//pkg:providers.bzl", "PackageFilegroupInfo", "PackageFilesInfo") load( ":utils.bzl", _add_filegroup = "add_filegroup", diff --git a/pkg/detail/ros_pkg.bzl b/pkg/detail/ros_pkg.bzl index b9fd094..7ccda91 100644 --- a/pkg/detail/ros_pkg.bzl +++ b/pkg/detail/ros_pkg.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@rules_pkg//:providers.bzl", "PackageFilegroupInfo", "PackageFilesInfo") +load("@rules_pkg//pkg:providers.bzl", "PackageFilegroupInfo", "PackageFilesInfo") load("@rules_python//python:packaging.bzl", "PyWheelInfo") load( ":utils.bzl", diff --git a/pkg/detail/setup_bash_generator.py b/pkg/detail/setup_bash_generator.py index c307426..8798cbf 100644 --- a/pkg/detail/setup_bash_generator.py +++ b/pkg/detail/setup_bash_generator.py @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/detail/templates/install.template b/pkg/detail/templates/install.template index e221047..c480d15 100644 --- a/pkg/detail/templates/install.template +++ b/pkg/detail/templates/install.template @@ -1,5 +1,5 @@ #! /bin/bash -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/detail/utils.bzl b/pkg/detail/utils.bzl index 6b91573..20670d8 100644 --- a/pkg/detail/utils.bzl +++ b/pkg/detail/utils.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@rules_pkg//:providers.bzl", _PackageFilegroupInfo = "PackageFilegroupInfo") +load("@rules_pkg//pkg:providers.bzl", _PackageFilegroupInfo = "PackageFilegroupInfo") load("@rules_ros//pkg:providers.bzl", _RosPkgInfo = "RosPkgInfo") def add_files_to_filegroup_info(filegroup_info, pkg_files_info, label): diff --git a/pkg/providers.bzl b/pkg/providers.bzl index 63b54e7..130cd60 100644 --- a/pkg/providers.bzl +++ b/pkg/providers.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ament.ament_index/ament_index_cpp.BUILD b/repos/ament.ament_index/ament_index_cpp.BUILD index ac752eb..1604a1f 100644 --- a/repos/ament.ament_index/ament_index_cpp.BUILD +++ b/repos/ament.ament_index/ament_index_cpp.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ament.ament_index/ament_index_python.BUILD b/repos/ament.ament_index/ament_index_python.BUILD index f18e018..b2ca224 100644 --- a/repos/ament.ament_index/ament_index_python.BUILD +++ b/repos/ament.ament_index/ament_index_python.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/BUILD.bazel b/repos/config/BUILD.bazel index 83497d2..a459d77 100644 --- a/repos/config/BUILD.bazel +++ b/repos/config/BUILD.bazel @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/defs.bzl b/repos/config/defs.bzl index aea43a9..bfcf114 100644 --- a/repos/config/defs.bzl +++ b/repos/config/defs.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/detail/BUILD.bazel b/repos/config/detail/BUILD.bazel index 9519eaf..12caae2 100644 --- a/repos/config/detail/BUILD.bazel +++ b/repos/config/detail/BUILD.bazel @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/detail/generate_ros2_config.py b/repos/config/detail/generate_ros2_config.py index 399ab2e..83ca06a 100755 --- a/repos/config/detail/generate_ros2_config.py +++ b/repos/config/detail/generate_ros2_config.py @@ -1,5 +1,5 @@ #! /usr/bin/env python3 -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/detail/git_repository.bzl b/repos/config/detail/git_repository.bzl index 62adc7a..2a6121c 100644 --- a/repos/config/detail/git_repository.bzl +++ b/repos/config/detail/git_repository.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/detail/http_archive.bzl b/repos/config/detail/http_archive.bzl index 78daa85..b1bcdc6 100644 --- a/repos/config/detail/http_archive.bzl +++ b/repos/config/detail/http_archive.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/detail/lock_repos.py b/repos/config/detail/lock_repos.py index 70b6c60..6df8145 100755 --- a/repos/config/detail/lock_repos.py +++ b/repos/config/detail/lock_repos.py @@ -1,5 +1,5 @@ #! /usr/bin/env python3 -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -53,7 +53,7 @@ def main(): with open(args.lock, "w", encoding='utf8') as lock_file: print( - "#\n# To update, call `bazel run //repos/config:repos_lock.update` with the right distro set in the WORKSPACE\n#", + "#\n# To update, call `bazel run @rules_ros//repos/config:repos_lock.update` with the right distro set in the WORKSPACE\n#", file = lock_file ) yaml.dump(repos, lock_file, default_flow_style=False, allow_unicode=True) diff --git a/repos/config/detail/new_local_repository.bzl b/repos/config/detail/new_local_repository.bzl index 164bf6f..d856cab 100644 --- a/repos/config/detail/new_local_repository.bzl +++ b/repos/config/detail/new_local_repository.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/config/detail/ros2_config.bzl b/repos/config/detail/ros2_config.bzl index 3faa5e4..d514131 100644 --- a/repos/config/detail/ros2_config.bzl +++ b/repos/config/detail/ros2_config.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros-tooling.libstatistics_collector/root.BUILD b/repos/ros-tooling.libstatistics_collector/root.BUILD index f0fded9..1832f06 100644 --- a/repos/ros-tooling.libstatistics_collector/root.BUILD +++ b/repos/ros-tooling.libstatistics_collector/root.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.common_interfaces/std_msgs.BUILD b/repos/ros2.common_interfaces/std_msgs.BUILD index ad53120..e544ef8 100644 --- a/repos/ros2.common_interfaces/std_msgs.BUILD +++ b/repos/ros2.common_interfaces/std_msgs.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl/rcl.BUILD b/repos/ros2.rcl/rcl.BUILD index 1f26109..bb6c7aa 100644 --- a/repos/ros2.rcl/rcl.BUILD +++ b/repos/ros2.rcl/rcl.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl/rcl_yaml_param_parser.BUILD b/repos/ros2.rcl/rcl_yaml_param_parser.BUILD index 9af8973..dbdf44b 100644 --- a/repos/ros2.rcl/rcl_yaml_param_parser.BUILD +++ b/repos/ros2.rcl/rcl_yaml_param_parser.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl_interfaces/builtin_interfaces.BUILD b/repos/ros2.rcl_interfaces/builtin_interfaces.BUILD index 262cf35..da1afde 100644 --- a/repos/ros2.rcl_interfaces/builtin_interfaces.BUILD +++ b/repos/ros2.rcl_interfaces/builtin_interfaces.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl_interfaces/rcl_interfaces.BUILD b/repos/ros2.rcl_interfaces/rcl_interfaces.BUILD index f50a7fd..173d0d2 100644 --- a/repos/ros2.rcl_interfaces/rcl_interfaces.BUILD +++ b/repos/ros2.rcl_interfaces/rcl_interfaces.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl_interfaces/rosgraph_msgs.BUILD b/repos/ros2.rcl_interfaces/rosgraph_msgs.BUILD index 45dfb89..d163ab3 100644 --- a/repos/ros2.rcl_interfaces/rosgraph_msgs.BUILD +++ b/repos/ros2.rcl_interfaces/rosgraph_msgs.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl_interfaces/statistics_msgs.BUILD b/repos/ros2.rcl_interfaces/statistics_msgs.BUILD index ac4a660..9d8deae 100644 --- a/repos/ros2.rcl_interfaces/statistics_msgs.BUILD +++ b/repos/ros2.rcl_interfaces/statistics_msgs.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcl_logging/rcl_logging_interface.BUILD b/repos/ros2.rcl_logging/rcl_logging_interface.BUILD index 598fcbc..eeb970b 100644 --- a/repos/ros2.rcl_logging/rcl_logging_interface.BUILD +++ b/repos/ros2.rcl_logging/rcl_logging_interface.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rclcpp/build_interfaces.py b/repos/ros2.rclcpp/build_interfaces.py index f84ec87..c6af59d 100644 --- a/repos/ros2.rclcpp/build_interfaces.py +++ b/repos/ros2.rclcpp/build_interfaces.py @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rclcpp/rclcpp.BUILD b/repos/ros2.rclcpp/rclcpp.BUILD index 3ff99d2..2d916cf 100644 --- a/repos/ros2.rclcpp/rclcpp.BUILD +++ b/repos/ros2.rclcpp/rclcpp.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcpputils/rcpputils.BUILD b/repos/ros2.rcpputils/rcpputils.BUILD index 6f5d3fe..90b3c5e 100644 --- a/repos/ros2.rcpputils/rcpputils.BUILD +++ b/repos/ros2.rcpputils/rcpputils.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcutils/build_logging_macros.py b/repos/ros2.rcutils/build_logging_macros.py index 76e3e1b..14c2356 100644 --- a/repos/ros2.rcutils/build_logging_macros.py +++ b/repos/ros2.rcutils/build_logging_macros.py @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rcutils/root.BUILD b/repos/ros2.rcutils/root.BUILD index 02122b2..2997ad3 100644 --- a/repos/ros2.rcutils/root.BUILD +++ b/repos/ros2.rcutils/root.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rmw/rmw.BUILD b/repos/ros2.rmw/rmw.BUILD index 07bf9c2..5807695 100644 --- a/repos/ros2.rmw/rmw.BUILD +++ b/repos/ros2.rmw/rmw.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.ros2_tracing/tracetools.BUILD b/repos/ros2.ros2_tracing/tracetools.BUILD index ea240e4..788df34 100644 --- a/repos/ros2.ros2_tracing/tracetools.BUILD +++ b/repos/ros2.ros2_tracing/tracetools.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.ros2cli/ros2cli.BUILD b/repos/ros2.ros2cli/ros2cli.BUILD index 19a537c..9152164 100644 --- a/repos/ros2.ros2cli/ros2cli.BUILD +++ b/repos/ros2.ros2cli/ros2cli.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.ros2cli/ros2pkg.BUILD b/repos/ros2.ros2cli/ros2pkg.BUILD index c88b5dc..1a9b209 100644 --- a/repos/ros2.ros2cli/ros2pkg.BUILD +++ b/repos/ros2.ros2cli/ros2pkg.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.ros2cli/ros2run.BUILD b/repos/ros2.ros2cli/ros2run.BUILD index 3ce461c..10dccf7 100644 --- a/repos/ros2.ros2cli/ros2run.BUILD +++ b/repos/ros2.ros2cli/ros2run.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_adapter.BUILD b/repos/ros2.rosidl/rosidl_adapter.BUILD index 08be8d2..483bf7a 100644 --- a/repos/ros2.rosidl/rosidl_adapter.BUILD +++ b/repos/ros2.rosidl/rosidl_adapter.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_cli.BUILD b/repos/ros2.rosidl/rosidl_cli.BUILD index 1106f03..b967c3c 100644 --- a/repos/ros2.rosidl/rosidl_cli.BUILD +++ b/repos/ros2.rosidl/rosidl_cli.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_cmake.BUILD b/repos/ros2.rosidl/rosidl_cmake.BUILD index 91550dc..2f99aa4 100644 --- a/repos/ros2.rosidl/rosidl_cmake.BUILD +++ b/repos/ros2.rosidl/rosidl_cmake.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_generator_c.BUILD b/repos/ros2.rosidl/rosidl_generator_c.BUILD index 61e9c7c..d3993ea 100644 --- a/repos/ros2.rosidl/rosidl_generator_c.BUILD +++ b/repos/ros2.rosidl/rosidl_generator_c.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_generator_cpp.BUILD b/repos/ros2.rosidl/rosidl_generator_cpp.BUILD index 3e227dd..8cd6965 100644 --- a/repos/ros2.rosidl/rosidl_generator_cpp.BUILD +++ b/repos/ros2.rosidl/rosidl_generator_cpp.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_parser.BUILD b/repos/ros2.rosidl/rosidl_parser.BUILD index 4be3ab8..8c6a74d 100644 --- a/repos/ros2.rosidl/rosidl_parser.BUILD +++ b/repos/ros2.rosidl/rosidl_parser.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_runtime_c.BUILD b/repos/ros2.rosidl/rosidl_runtime_c.BUILD index 976b574..bcf1808 100644 --- a/repos/ros2.rosidl/rosidl_runtime_c.BUILD +++ b/repos/ros2.rosidl/rosidl_runtime_c.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_runtime_cpp.BUILD b/repos/ros2.rosidl/rosidl_runtime_cpp.BUILD index f233bfb..b1d659d 100644 --- a/repos/ros2.rosidl/rosidl_runtime_cpp.BUILD +++ b/repos/ros2.rosidl/rosidl_runtime_cpp.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl/rosidl_typesupport_interface.BUILD b/repos/ros2.rosidl/rosidl_typesupport_interface.BUILD index ebd7e75..f96572c 100644 --- a/repos/ros2.rosidl/rosidl_typesupport_interface.BUILD +++ b/repos/ros2.rosidl/rosidl_typesupport_interface.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl_dds/rosidl_generator_dds_idl.BUILD b/repos/ros2.rosidl_dds/rosidl_generator_dds_idl.BUILD index 2bccd36..0fc5bbc 100644 --- a/repos/ros2.rosidl_dds/rosidl_generator_dds_idl.BUILD +++ b/repos/ros2.rosidl_dds/rosidl_generator_dds_idl.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/repos/ros2.rosidl_typesupport/rosidl_typesupport_c.BUILD b/repos/ros2.rosidl_typesupport/rosidl_typesupport_c.BUILD index 064b80c..ead5b2f 100644 --- a/repos/ros2.rosidl_typesupport/rosidl_typesupport_c.BUILD +++ b/repos/ros2.rosidl_typesupport/rosidl_typesupport_c.BUILD @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/defs.bzl b/rosidl/defs.bzl index e5645f4..3e5e6de 100644 --- a/rosidl/defs.bzl +++ b/rosidl/defs.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/cc_library_with_hdrs_extracted_from_srcs.bzl b/rosidl/detail/cc_library_with_hdrs_extracted_from_srcs.bzl index 163ff39..f5a7cf3 100644 --- a/rosidl/detail/cc_library_with_hdrs_extracted_from_srcs.bzl +++ b/rosidl/detail/cc_library_with_hdrs_extracted_from_srcs.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/cc_library_with_msgs_provider.bzl b/rosidl/detail/cc_library_with_msgs_provider.bzl index b59873c..39a5c0d 100644 --- a/rosidl/detail/cc_library_with_msgs_provider.bzl +++ b/rosidl/detail/cc_library_with_msgs_provider.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/common_config.bzl b/rosidl/detail/common_config.bzl index e665917..347798a 100644 --- a/rosidl/detail/common_config.bzl +++ b/rosidl/detail/common_config.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/misc_support.bzl b/rosidl/detail/misc_support.bzl index 6c93ec3..1e8cfed 100644 --- a/rosidl/detail/misc_support.bzl +++ b/rosidl/detail/misc_support.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/rosidl_adapter.bzl b/rosidl/detail/rosidl_adapter.bzl index da98275..dcfa2ab 100644 --- a/rosidl/detail/rosidl_adapter.bzl +++ b/rosidl/detail/rosidl_adapter.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/rosidl_generator_c.bzl b/rosidl/detail/rosidl_generator_c.bzl index b2c0e73..34686e3 100644 --- a/rosidl/detail/rosidl_generator_c.bzl +++ b/rosidl/detail/rosidl_generator_c.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/rosidl_generator_cpp.bzl b/rosidl/detail/rosidl_generator_cpp.bzl index de68fe9..80d5bed 100644 --- a/rosidl/detail/rosidl_generator_cpp.bzl +++ b/rosidl/detail/rosidl_generator_cpp.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/rosidl_generator_dds_idl.bzl b/rosidl/detail/rosidl_generator_dds_idl.bzl index c0ec998..c8e9bf8 100644 --- a/rosidl/detail/rosidl_generator_dds_idl.bzl +++ b/rosidl/detail/rosidl_generator_dds_idl.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/rosidl_typesupport_c.bzl b/rosidl/detail/rosidl_typesupport_c.bzl index 2954991..6d4ab04 100644 --- a/rosidl/detail/rosidl_typesupport_c.bzl +++ b/rosidl/detail/rosidl_typesupport_c.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/detail/visiability_control.bzl b/rosidl/detail/visiability_control.bzl index e7faf4b..ae6d9fe 100644 --- a/rosidl/detail/visiability_control.bzl +++ b/rosidl/detail/visiability_control.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/rosidl/providers.bzl b/rosidl/providers.bzl index fc27a73..5c3fb42 100644 --- a/rosidl/providers.bzl +++ b/rosidl/providers.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/bazel_skylib/repositories.bzl b/thirdparty/bazel_skylib/repositories.bzl index 39f7b81..7d77994 100644 --- a/thirdparty/bazel_skylib/repositories.bzl +++ b/thirdparty/bazel_skylib/repositories.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/bazel_skylib/setup.bzl b/thirdparty/bazel_skylib/setup.bzl index 25e35e5..cf31676 100644 --- a/thirdparty/bazel_skylib/setup.bzl +++ b/thirdparty/bazel_skylib/setup.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/libyaml/libyaml.BUILD.bazel b/thirdparty/libyaml/libyaml.BUILD.bazel index bde944a..c78b4ef 100644 --- a/thirdparty/libyaml/libyaml.BUILD.bazel +++ b/thirdparty/libyaml/libyaml.BUILD.bazel @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/libyaml/repositories.bzl b/thirdparty/libyaml/repositories.bzl index de6efd8..65bdcf0 100644 --- a/thirdparty/libyaml/repositories.bzl +++ b/thirdparty/libyaml/repositories.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/python/repositories.bzl b/thirdparty/python/repositories.bzl index 4c90aa9..e191cc0 100644 --- a/thirdparty/python/repositories.bzl +++ b/thirdparty/python/repositories.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/rules_pkg/repositories.bzl b/thirdparty/rules_pkg/repositories.bzl index 7028523..fa1de76 100644 --- a/thirdparty/rules_pkg/repositories.bzl +++ b/thirdparty/rules_pkg/repositories.bzl @@ -1,16 +1,19 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") -RULES_PKG_VERSION = "0.7.0" -RULES_PKG_SHA = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2" +RULES_PKG_VERSION = struct( + version = "0.10.1", + sha256 = "d250924a2ecc5176808fc4c25d5cf5e9e79e6346d79d5ab1c493e289e722d1d0", +) def load_rules_pkg_repositories(): maybe( name = "rules_pkg", repo_rule = http_archive, urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/{version}/rules_pkg-{version}.tar.gz".format(version = RULES_PKG_VERSION), - "https://github.com/bazelbuild/rules_pkg/releases/download/{version}/rules_pkg-{version}.tar.gz".format(version = RULES_PKG_VERSION), + "https://github.com/bazelbuild/rules_pkg/releases/download/{version}/rules_pkg-{version}.tar.gz".format( + version = RULES_PKG_VERSION.version, + ), ], - sha256 = RULES_PKG_SHA, + sha256 = RULES_PKG_VERSION.sha256, ) diff --git a/thirdparty/setup_01.bzl b/thirdparty/setup_01.bzl index 458e160..d25cde4 100644 --- a/thirdparty/setup_01.bzl +++ b/thirdparty/setup_01.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/setup_02.bzl b/thirdparty/setup_02.bzl index 9fb358f..81223a7 100644 --- a/thirdparty/setup_02.bzl +++ b/thirdparty/setup_02.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/setup_03.bzl b/thirdparty/setup_03.bzl index bec5e62..e7cb69a 100644 --- a/thirdparty/setup_03.bzl +++ b/thirdparty/setup_03.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/setup_04.bzl b/thirdparty/setup_04.bzl index 2134bc6..c54ac21 100644 --- a/thirdparty/setup_04.bzl +++ b/thirdparty/setup_04.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/utils/template_expansion.bzl b/utils/template_expansion.bzl index bc37374..4657a5e 100644 --- a/utils/template_expansion.bzl +++ b/utils/template_expansion.bzl @@ -1,4 +1,4 @@ -# Copyright 2022 Apex.AI, Inc. +# Copyright 2024 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.