Skip to content

Falsely warns package doesn't explicitly install a marker in the package index #166

Description

@lixian-acemate

If a package installs the marker file to multiple locations including “share/ament_index/resource_index/packages/”, and the ament_index path is not the last destination, colcon build may incorrectly warn that the package does not explicitly install a marker in the package index.
This issue originates in get_data_files_mapping, where the variable mapping is overwritten when the same file is configured for installation to multiple places, retaining only the last destination designated by the "data_files" argument in setup.py.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions