ros-infrastructure / rosindex

The source code for generating index.ros.org
https://index.ros.org
GNU General Public License v3.0
13 stars 24 forks source link

Packages with package.xml only in 'release' repos don't appear #409

Open rkent opened 3 months ago

rkent commented 3 months ago

There are a number of packages that have valid repositories, but their packages do not appear. An example of this is rotconv.

rosdistro entry show this:

  rot_conv_lib:
    release:
      packages:
      - rot_conv
      tags:
        release: release/rolling/{package}/{version}
      url: https://github.com/ros2-gbp/rot_conv_lib-release.git
      version: 1.1.0-3
    source:
      type: git
      url: https://github.com/AIS-Bonn/rot_conv_lib.git
      version: master
    status: maintained

In rosindex, the repository appears, but it shows no packages.

What is going on is that this package (and others) do not have a package.xml file in their 'source' repository, but it only appears in the 'release' repository.

One such culprit, urfdom_headers has this explanation in their README:

Using with ROS

If you choose to check this repository out for use with ROS, be aware that the necessary package.xml
is not included in this repo but instead is added in during the ROS release process. To emulate this, pull
the appropriate file into this repository using the following format. Be sure to replace the ALLCAPS words
with the appropriate terms:

wget https://raw.github.com/ros-gbp/urdfdom_headers-release/debian/ROS_DISTRO/UBUNTU_DISTRO/urdfdom_headers/package.xml

For example:

wget https://raw.github.com/ros-gbp/urdfdom_headers-release/debian/hydro/precise/urdfdom_headers/package.xml

I don't really understand how this generated-at-release package.xml works, but rosindex needs to support it.