From 2c99c782762c694be5cddd055e2500e1d54dab32 Mon Sep 17 00:00:00 2001 From: Tony Baltovski Date: Mon, 31 Jul 2023 10:21:51 -0400 Subject: [PATCH] Added Github actions, codeowners and update depends repo. --- .clang-format | 15 +++++++++++++++ .github/CODEOWNERS | 2 ++ .github/ISSUE_TEMPLATE/bug.md | 31 +++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature.md | 14 ++++++++++++++ .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ dependencies.repos | 16 ++++------------ 6 files changed, 90 insertions(+), 12 deletions(-) create mode 100644 .clang-format create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/bug.md create mode 100644 .github/ISSUE_TEMPLATE/feature.md create mode 100644 .github/workflows/ci.yml diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..9c21e1e --- /dev/null +++ b/.clang-format @@ -0,0 +1,15 @@ +--- +Language: Cpp +BasedOnStyle: Google + +ColumnLimit: 100 +AccessModifierOffset: -2 +AlignAfterOpenBracket: AlwaysBreak +BreakBeforeBraces: Allman +ConstructorInitializerIndentWidth: 0 +ContinuationIndentWidth: 2 +DerivePointerAlignment: false +PointerAlignment: Middle +ReflowComments: false +IncludeBlocks: Preserve +... diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..bd5588b --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Default all changes will request review from: +* @clearpathrobotics/clearpath-platform-team diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..dd03e75 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,31 @@ +--- +name: Bug Report +about: Provide a report for that the issue is +title: '' +labels: bug +assignees: clearpathrobotics/clearpath-platform-team + +--- + +**Please provide the following information:** + - OS: (e.g. Ubuntu 22.04) + - ROS 2 Distro: (e.g. Humble) + - Built from source or installed: + - Package version: (if from repository, give version from `sudo dpkg -s ros-$ROS_VERSION-clearpath-robot`, if from source, give commit hash) + - Real hardware or simulation: + + **Expected behaviour** + A clear and concise description of what you expected to happen. + + **Actual behaviour** + A clear and concise description of what you encountered. + +**To Reproduce** +Provide the steps to reproduce: +1. run something +2. launch something else +3. see the error + + +**Other notes** +Add anything else you thing is important. diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md new file mode 100644 index 0000000..f2d6d35 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,14 @@ +--- +name: Feature request +about: Provide context for the feature you are requesting +title: '' +labels: enhancement +assignees: clearpathrobotics/clearpath-platform-team + +--- + +**Describe the the feature you would like** +A clear and concise description of what you want to happen. + +**Other notes** +Add anything else you thing is important. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..dad1648 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: clearpath_robot_ci + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" # every day at midnight + + jobs: + clearpath_robot_ci: + name: Humble + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - uses: ros-tooling/setup-ros@v0.6 + with: + required-ros-distributions: humble + - uses: ros-tooling/action-ros-ci@v0.3 + id: action_ros_ci_step + with: + target-ros2-distro: humble + + package-name: clearpath_robot + vcs-repo-file-url: dependencies.repos diff --git a/dependencies.repos b/dependencies.repos index 7c97e58..6f2e06d 100644 --- a/dependencies.repos +++ b/dependencies.repos @@ -1,17 +1,9 @@ repositories: - clearpath_common: - type: git - url: https://github.com/clearpathrobotics/clearpath_common.git - version: humble - clearpath_config: - type: git - url: https://github.com/clearpathrobotics/clearpath_config.git - version: main - clearpath_msgs: - type: git - url: https://github.com/clearpathrobotics/clearpath_msgs.git - version: main clearpath_robot: type: git url: https://github.com/clearpathrobotics/clearpath_robot.git version: main + micro_ros_agent: + type: git + url: https://github.com/micro-ROS/micro-ROS-Agent.git + version: humble \ No newline at end of file