ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

What is the complete list of search terms in ROS index?

asked 2021-11-16 11:45:48 -0600

rkent gravatar image

Help for index.ros.org brings up a generic lunrjs help page. But that assumes you know the available search terms. I discovered I can do, for example, "+distro:galactic +name:gtest" because I guessed the distro and name fields. But surely there are others.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-17 16:23:03 -0600

osilva gravatar image

Hi @rkent, not 100% sure if this is what you are looking for, after some digging in the rosindex repo, I found this code for rosindex_genarator.rb, you can see a list under package_info and I believe these are the fields you are looking for:

Source: https://github.com/ros-infrastructure...

  package_info = {
    'name' => package_name,
    'pkg_type' => pkg_type,
    'distro' => distro,
    'raw_uri' => raw_uri,
    'browse_uri' => browse_uri,
    'docs_uri' => docs_uri,
    # required package info
    'version' => version,
    'license' => license,
    'description' => description,
    'maintainers' => maintainers,
    # optional package info
    'authors' => authors,
    'urls' => urls,
    'ci_data' => ci_data,
    # dependencies
    'pkg_deps' => pkg_deps,
    'system_deps' => system_deps,
    'dependants' => {},
    # exports
    'deprecated' => deprecated,
    # rosindex metadata
    'tags' => tags,
    'nodes' => nodes,
    # readme
    'readmes' => readmes,
    # changelog
    'changelog' => changelog,
    'changelog_rendered' => changelog_rendered,
    # assets
    'launch_data' => launch_data,
    'plugin_data' => plugin_data,
    'msg_files' => msg_files.map {|f| Pathname.new(f).relative_path_from(local_package_path).to_s },
    'srv_files' => srv_files.map {|f| Pathname.new(f).relative_path_from(local_package_path).to_s },
    'wiki' => {'exists'=>false}
  }
edit flag offensive delete link more

Comments

Yep that looks like it, thanks!

rkent gravatar image rkent  ( 2021-11-17 19:15:49 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2021-11-16 11:45:48 -0600

Seen: 165 times

Last updated: Nov 17 '21