Skip to content

Tutorial Share a Component

Tiago Alexandre Oliveira edited this page Aug 2, 2021 · 1 revision

Share a component previously published in a repository

To share your component with other ESROCOS users you first have to select a package set to add your component to. The package sets are called in the autoproj/manifest file and are located in the ~/esrocos_workspace/autoproj/remotes directory. Inside a package set we can find the following configuration files:

  • source.yml: defines the repository of the component.
  • init.rb: defines labels for git server configuration.
  • <package_id>.osdeps: defines system dependencies.
  • packages.autobuild: defines the building for the packages.

For example, an ESROCOS project with a reusable component would fit well into the universe package set. In the case of the universe package set you have to add a source control entry in the source.yml and installation instructions in packages.autobuild.

In source.yml add:

- universe/example_component:
  github: ESROCOS/example_component

In packages.autobuild add:

cmake_package "universe/example_component"

Clone this wiki locally