Skip to content

[Question / Feature Request] Only build packages with modified source code #702

Description

@bharathsivaram10

Hello,

I primarily use colcon for building ROS2 packages.

One thing I'd like to see is an option like 'colcon build --modified_only', which would somehow gather the packages whose cpp source code has been modified since the last build and only rebuild those ones.

This is as opposed to using the --packages-select, which I'd have to specify the packages. It would be nice to have when modifying a few packages in a large workspace and being able to auto-build those few without explicitly listing.

Is this possible? From searching around, it doesn't seem like the option currently exists. Would people find this useful?

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