Merge pull request #288 from bulwahn/master-next

improving quality and quality assurance
This commit is contained in:
Lukas Bulwahn 2014-08-19 13:48:50 +02:00
commit c78e0c31a1
47 changed files with 166 additions and 133 deletions

2
.travis.yml Normal file
View File

@ -0,0 +1,2 @@
language: ruby
script: ./scripts/check-patch-files.sh recipes-ros

View File

@ -1,5 +1,5 @@
DESCRIPTION = "The actionlib stack provides a standardized interface for \
interfacing with preemptable tasks."
DESCRIPTION = "The actionlib stack provides a standardized interface for interfacing with \
preemptable tasks."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -3,14 +3,14 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=f62de161dc7a8f859a0502707b17209e"
DEPENDS = "cmake-modules cv-bridge image-transport libtinyxml pcl-ros resource-retriever roscpp tf visualization-msgs"
SRC_URI = "https://github.com/sniekum/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "2786829c43437da2aa93eff77a4c862f"
SRC_URI[sha256sum] = "f87759a0a4decbf0da3ff9341e1aa6fcfdcaf302f0844d6ace371c7e5dc9e53e"
SRC_URI += "file://0001-used-cmake_modules-to-find-TinyXML.patch"
DEPENDS = "cmake-modules cv-bridge image-transport libtinyxml pcl-ros resource-retriever roscpp tf visualization-msgs"
S = "${WORKDIR}/${ROS_SP}"
inherit catkin

View File

@ -1,5 +1,5 @@
DESCRIPTION = "This package contains messages for defining shapes, such as simple solid \
object primitives (cube, sphere, etc), planes, and meshes."
DESCRIPTION = "This package contains messages for defining shapes, such as simple solid object \
primitives (cube, sphere, etc), planes, and meshes."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,8 +1,6 @@
DESCRIPTION = "\
console_bridge is a ROS-independent, pure CMake package that provides logging \
calls that mirror those found in rosconsole, but for applications that are \
not necessarily using ROS.\
"
DESCRIPTION = "console_bridge is a ROS-independent, pure CMake package that provides logging \
calls that mirror those found in rosconsole, but for applications that are not necessarily using \
ROS."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "\

View File

@ -1,6 +1,5 @@
DESCRIPTION = "control_msgs contains base messages and actions \
useful for controlling robots. It provides representations for \
controller setpoints and joint and cartesian trajectories."
DESCRIPTION = "control_msgs contains base messages and actions useful for controlling robots. It \
provides representations for controller setpoints and joint and cartesian trajectories."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=12;endline=12;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,11 +1,10 @@
DESCRIPTION = "The control toolbox contains modules that are useful \
across all controllers."
DESCRIPTION = "The control toolbox contains modules that are useful across all controllers."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "rosconsole tf roscpp angles message-generation \
dynamic-reconfigure libtinyxml realtime-tools message-filters"
DEPENDS = "rosconsole tf roscpp angles message-generation dynamic-reconfigure libtinyxml \
realtime-tools message-filters"
SRC_URI = "https://github.com/ros-controls/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "28f8bc6536401456b207e20b4de2e8b3"

View File

@ -1,16 +1,15 @@
DESCRIPTION = "\
This unary stack contains the dynamic_reconfigure package which provides a means to change \
node parameters at any time without having to restart the node."
DESCRIPTION = "This unary stack contains the dynamic_reconfigure package which provides a means to \
change node parameters at any time without having to restart the node."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "roscpp std-msgs roslib"
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "38248b33c5c8bc6d97d8f9e3ae349016"
SRC_URI[sha256sum] = "5f2c978861d6273af9fc40ff53b457d15b871ea7276278dcbd3eb9ba70044da3"
DEPENDS = "roscpp std-msgs roslib"
S = "${WORKDIR}/${ROS_SP}"
inherit catkin

View File

@ -1,5 +1,5 @@
DESCRIPTION = "A libfreenect based ROS driver for the Microsoft Kinect.\
This is a port of the OpenNI driver to use libfreenect."
DESCRIPTION = "A libfreenect based ROS driver for the Microsoft Kinect. This is a port of the \
OpenNI driver to use libfreenect."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=12;endline=12;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "tf2 is the second generation of the transform library, which lets \
the user keep track of multiple coordinate frames over time."
the user keep track of multiple coordinate frames over time."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=16;endline=16;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "polled_camera contains a service and C++ helper classes for implementing a polled \
camera driver node and requesting images from it."
camera driver node and requesting images from it."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=14;endline=14;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "camera_calibration allows easy calibration of monocular or stereo \
cameras using a checkerboard calibration target."
DESCRIPTION = "camera_calibration allows easy calibration of monocular or stereo cameras using a \
checkerboard calibration target."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=24;endline=24;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Contains a node that rotates an image stream in a way that minimizes \
the angle between a vector in some arbitrary frame and a vector in the camera frame."
DESCRIPTION = "Contains a node that rotates an image stream in a way that minimizes the angle \
between a vector in some arbitrary frame and a vector in the camera frame."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=26;endline=26;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Compressed_depth_image_transport provides a plugin to image_transport \
for transparently sending depth images (raw, floating-point) using PNG compression."
DESCRIPTION = "Compressed_depth_image_transport provides a plugin to image_transport for \
transparently sending depth images (raw, floating-point) using PNG compression."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Compressed_image_transport provides a plugin to image_transport for \
transparently sending images encoded as JPEG or PNG."
DESCRIPTION = "Compressed_image_transport provides a plugin to image_transport for transparently \
sending images encoded as JPEG or PNG."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Theora_image_transport provides a plugin to image_transport for \
transparently sending an image stream encoded with the Theora codec."
transparently sending an image stream encoded with the Theora codec."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Assorted filters designed to operate on 2D planar laser scanners, \
which use the sensor_msgs/LaserScan type."
DESCRIPTION = "Assorted filters designed to operate on 2D planar laser scanners, which use the \
sensor_msgs/LaserScan type."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,6 +1,6 @@
DESCRIPTION = "This package contains a class for converting from a 2D laser scan as defined by \
sensor_msgs/LaserScan into a point cloud as defined by sensor_msgs/PointCloud \
or sensor_msgs/PointCloud2."
sensor_msgs/LaserScan into a point cloud as defined by sensor_msgs/PointCloud \
or sensor_msgs/PointCloud2."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,4 +1,5 @@
DESCRIPTION = "This package provides implementations of the Trajectory Rollout and Dynamic Window approaches to local robot navigation on a plane."
DESCRIPTION = "This package provides implementations of the Trajectory Rollout and Dynamic Window \
approaches to local robot navigation on a plane."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=14;endline=14;md5=01c2bc31767ccb3a68e12f02612b2a97"

View File

@ -1,6 +1,6 @@
DESCRIPTION = "This package provides a recovery behavior for the navigation stack that \
attempts to clear space by reverting the costmaps used by the navigation stack to \
the static map outside of a given area."
DESCRIPTION = "This package provides a recovery behavior for the navigation stack that attempts to \
clear space by reverting the costmaps used by the navigation stack to the static map outside of a \
given area."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=13;endline=13;md5=01c2bc31767ccb3a68e12f02612b2a97"

View File

@ -1,13 +1,13 @@
DESCRIPTION = "This package provides an implementation of a 2D costmap that takes in sensor \
data from the world, builds a 2D or 3D occupancy grid of the data (depending \
on whether a voxel based implementation is used), and inflates costs in a \
2D costmap based on the occupancy grid and a user specified inflation radius."
DESCRIPTION = "This package provides an implementation of a 2D costmap that takes in sensor data \
from the world, builds a 2D or 3D occupancy grid of the data (depending on whether a voxel based \
implementation is used), and inflates costs in a 2D costmap based on the occupancy grid and a user \
specified inflation radius."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=19;endline=19;md5=01c2bc31767ccb3a68e12f02612b2a97"
DEPENDS = "libeigen cmake-modules dynamic-reconfigure geometry-msgs laser-geometry map-msgs message-filters \
message-generation nav-msgs pcl-conversions pcl-ros pluginlib roscpp \
DEPENDS = "libeigen cmake-modules dynamic-reconfigure geometry-msgs laser-geometry map-msgs \
message-filters message-generation nav-msgs pcl-conversions pcl-ros pluginlib roscpp \
sensor-msgs std-msgs tf visualization-msgs voxel-grid"
require navigation.inc

View File

@ -1,5 +1,5 @@
DESCRIPTION = "This package provides an implementation of the Dynamic Window Approach to \
local robot navigation on a plane."
DESCRIPTION = "This package provides an implementation of the Dynamic Window Approach to local \
robot navigation on a plane."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=20;endline=20;md5=01c2bc31767ccb3a68e12f02612b2a97"

View File

@ -1,4 +1,5 @@
DESCRIPTION = "The move_base package provides an implementation of an action that, given a goal in the world, will attempt to reach it with a mobile base."
DESCRIPTION = "The move_base package provides an implementation of an action that, given a goal in \
the world, will attempt to reach it with a mobile base."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=13;endline=13;md5=01c2bc31767ccb3a68e12f02612b2a97"

View File

@ -1,4 +1,5 @@
DESCRIPTION = "navfn provides a fast interpolated navigation function that can be used to create plans for a mobile base."
DESCRIPTION = "navfn provides a fast interpolated navigation function that can be used to create \
plans for a mobile base."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=19;endline=19;md5=01c2bc31767ccb3a68e12f02612b2a97"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "This package provides a recovery behavior for the navigation stack that attempts \
to clear space by performing a 360 degree rotation of the robot."
DESCRIPTION = "This package provides a recovery behavior for the navigation stack that attempts to \
clear space by performing a 360 degree rotation of the robot."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=13;endline=13;md5=01c2bc31767ccb3a68e12f02612b2a97"

View File

@ -1,13 +1,13 @@
DESCRIPTION = "The pluginlib package provides tools for writing and dynamically \
loading plugins using the ROS build infrastructure."
DESCRIPTION = "The pluginlib package provides tools for writing and dynamically loading plugins \
using the ROS build infrastructure."
SECTION = "devel"
LICENSE = "BSD & BSL-1.0"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=10;md5=bbbb6ab628b1f3daee74dd9c62bee312"
DEPENDS = "boost class-loader rosconsole roslib libtinyxml"
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "681c98bb532cbd663f56f59590dcdae5"
SRC_URI[sha256sum] = "096112e2e5063bfca583bfa4ba3e3f47b51befd5e4b6c3edcc8311986b39a70f"
DEPENDS = "boost class-loader rosconsole roslib libtinyxml"
inherit catkin

View File

@ -1,4 +1,5 @@
DESCRIPTION = "This package contains a tool to convert Unified Robot Description Format (URDF) documents into COLLAborative Design Activity (COLLADA) documents."
DESCRIPTION = "This package contains a tool to convert Unified Robot Description Format (URDF) \
documents into COLLAborative Design Activity (COLLADA) documents."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9de
DEPENDS = "urdfdom-headers"
require robot-model.inc

View File

@ -1,5 +1,5 @@
DESCRIPTION = "This is a set of tools for recording from and playing back ROS \
message without relying on the ROS client library."
DESCRIPTION = "This is a set of tools for recording from and playing back ROS message without \
relying on the ROS client library."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,12 +1,11 @@
DESCRIPTION = "This is a set of tools for recording from and playing back to ROS \
topics. It is intended to be high performance and avoids \
deserialization and reserialization of the messages."
DESCRIPTION = "This is a set of tools for recording from and playing back to ROS topics. It is \
intended to be high performance and avoids deserialization and reserialization of the messages."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "boost cpp-common python-imaging rosbag-storage \
rosconsole roscpp roscpp-serialization topic-tools xmlrpcpp"
DEPENDS = "boost cpp-common python-imaging rosbag-storage rosconsole roscpp roscpp-serialization
topic-tools xmlrpcpp"
require ros-comm.inc

View File

@ -1,13 +1,12 @@
DESCRIPTION = "roscpp is a C++ implementation of ROS. It provides a client \
library that enables C++ programmers to quickly interface with ROS Topics, \
Services, Parameters. roscpp is the most widely used ROS client library and is designed to \
be the high-performance library for ROS."
DESCRIPTION = "roscpp is a C++ implementation of ROS. It provides a client library that enables \
C++ programmers to quickly interface with ROS Topics, Services, Parameters. roscpp is the most \
widely used ROS client library and is designed to be the high-performance library for ROS."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=16;endline=16;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "cpp-common message-generation rosconsole roscpp-serialization \
roscpp-traits rosgraph-msgs roslang rostime std-msgs xmlrpcpp"
DEPENDS = "cpp-common message-generation rosconsole roscpp-serialization roscpp-traits \
rosgraph-msgs roslang rostime std-msgs xmlrpcpp"
require ros-comm.inc

View File

@ -1,5 +1,5 @@
DESCRIPTION = "the rosparam command-line tool for getting and setting \
ROS Parameters on the Parameter Server using YAML-encoded files."
DESCRIPTION = "the rosparam command-line tool for getting and setting ROS Parameters on the \
Parameter Server using YAML-encoded files."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "rospy is a pure Python client library for ROS. The rospy client \
API enables Python programmers to quickly interface with ROS Topics, Services, and Parameters."
DESCRIPTION = "rospy is a pure Python client library for ROS. The rospy client API enables Python \
programmers to quickly interface with ROS Topics, Services, and Parameters."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=23;endline=23;md5=d566ef916e9dedc494f5f793a6690ba5"

View File

@ -1,8 +1,6 @@
DESCRIPTION = \
"XmlRpc++ is a C++ implementation of the XML-RPC protocol. This version is \
heavily modified from the package available on SourceForge in order to \
support roscpp's threading model. As such, we are maintaining our \
own fork."
DESCRIPTION = "XmlRpc++ is a C++ implementation of the XML-RPC protocol. This version is heavily \
modified from the package available on SourceForge in order to support roscpp's threading model. \
As such, we are maintaining our own fork."
SECTION = "devel"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=184dd1523b9a109aead3fbbe0b4262e0"

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc
DEPENDS = "roscpp hardware-interface pluginlib"
require ros-control.inc

View File

@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc
DEPENDS = "message-generation std-msgs roscpp-serialization"
require ros-control.inc

View File

@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9de
DEPENDS = "rosconsole console-bridge"
SRC_URI ="https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "d847f18aa69b913f52489bb238281ee0"
SRC_URI[sha256sum] = "3fc09e575f41d33ee31e1e4392ed09b8fed549634478e5d7176818479e9216dc"

39
scripts/check-patch-files.sh Executable file
View File

@ -0,0 +1,39 @@
#!/bin/sh
#
# Copyright (c) 2014, BMW Car IT GmbH
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
#
violation_found=no
for patch_file in $(find $1 -name *.patch)
do
if [ "$(grep 'Upstream-Status: ' $patch_file | wc -l)" -eq "0" ]; then
echo "$patch_file: missing Upstream-Status line"
violation_found=yes
fi
if [ "$(grep -d skip "file://$(basename $patch_file)" $(dirname $patch_file)/../* | wc -l)" -eq "0" ]; then
echo "$patch_file: not used in any recipe"
violation_found=yes
fi
done
if [ "$violation_found" = "yes" ]; then
exit 1
fi