Skip to content

Commit

Permalink
Applied xml schemas for xmllint (#101)
Browse files Browse the repository at this point in the history
* applied package.xml template

Signed-off-by: Jakub Delicat <[email protected]>

* chronology

Signed-off-by: Jakub Delicat <[email protected]>

* Support

Signed-off-by: Jakub Delicat <[email protected]>

* Removed unnecessary dep

Signed-off-by: Jakub Delicat <[email protected]>

* DDS xml lint

---------

Signed-off-by: Jakub Delicat <[email protected]>
Co-authored-by: rafal-gorecki <[email protected]>
  • Loading branch information
delihus and rafal-gorecki authored Nov 28, 2024
1 parent 1f2a8ae commit f09c16a
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,8 @@ repos:
- id: doc8
args: [--max-line-length=100, --ignore=D001]
exclude: ^.*\/CHANGELOG\.rst/.*$

- repo: https://github.com/comkieffer/pre-commit-xmllint.git
rev: 1.0.0
hooks:
- id: xmllint
2 changes: 2 additions & 0 deletions rosbot/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<name>rosbot</name>
<version>0.13.2</version>
<description>Meta package that contains all packages of Rosbot 2 2R PRO</description>

<maintainer email="[email protected]">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
Expand Down
8 changes: 4 additions & 4 deletions rosbot_bringup/config/microros_localhost_only.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--The only purpose of this file is to disable
Fast-DDS SHM transport used by default to use UDPv4-->
<dds>
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
<?xml-model href="https://raw.githubusercontent.com/eProsima/Fast-DDS/refs/heads/master/resources/xsd/fastdds_profiles.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>

<dds xmlns="http://www.eprosima.com">
<profiles>
<transport_descriptors>
<transport_descriptor>
<transport_id>CustomUdpTransport</transport_id>
Expand Down
2 changes: 2 additions & 0 deletions rosbot_bringup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<name>rosbot_bringup</name>
<version>0.13.2</version>
<description>ROSbot 2, 2R, PRO bringup package</description>

<maintainer email="[email protected]">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
Expand Down
2 changes: 2 additions & 0 deletions rosbot_controller/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<name>rosbot_controller</name>
<version>0.13.2</version>
<description>Hardware configuration for ROSbot 2, 2R, PRO</description>

<maintainer email="[email protected]">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
Expand Down
4 changes: 3 additions & 1 deletion rosbot_description/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
<name>rosbot_description</name>
<version>0.13.2</version>
<description>ROSbot 2, 2R, PRO description package</description>

<maintainer email="[email protected]">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_ros/issues</url>

<author email="[email protected]">Jakub Delicat</author>
<author email="[email protected]">Maciej Stepien</author>
<author email="[email protected]">Jakub Delicat</author>

<buildtool_depend>ament_cmake</buildtool_depend>

Expand Down
4 changes: 3 additions & 1 deletion rosbot_gazebo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@
<name>rosbot_gazebo</name>
<version>0.13.2</version>
<description>Gazebo Ignition simulation for ROSbot 2, 2R, PRO</description>

<maintainer email="[email protected]">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_ros/issues</url>

<author email="[email protected]">Krzysztof Wojciechowski</author>
<author email="[email protected]">Jakub Delicat</author>
<author email="[email protected]">Rafal Gorecki</author>
<author email="[email protected]">Krzysztof Wojciechowski</author>

<exec_depend>rosbot_bringup</exec_depend>

Expand Down
2 changes: 2 additions & 0 deletions rosbot_utils/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<name>rosbot_utils</name>
<version>0.13.2</version>
<description>Utilities for ROSbot 2R and 2 PRO</description>

<maintainer email="[email protected]">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
Expand Down

0 comments on commit f09c16a

Please sign in to comment.